Tax Payer

Get Taxpayer Details (v2.0)

get

Retrieve taxpayer details for the merchant identified by merchantNumber.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
encryptedTinbooleanOptional

Specifies whether to return the Taxpayer Identification Number (TIN) in encrypted format. Defaults: false.

Default: false
Responses
200

Returns a Taxpayer's details successfully.

application/json
get
/api/demographics/v2/Taxpayers/{merchantNumber}
GET /api/demographics/v2/Taxpayers/{merchantNumber} HTTP/1.1
Host: 
Accept: */*
{
  "legalFirstName": "John",
  "legalLastName": "Doe",
  "tin": "123456789",
  "encryptedTIN": "[****3433, ****4485]",
  "tinLastFour": "4673",
  "tinTypeID": "2",
  "businessLegalName": "Acme Corporation",
  "stateIncorporatedCode": "CA"
}

Update Taxpayer Details (v2.0)

put

Update the taxpayer details for the merchant identified by merchantNumber.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
encryptedTinbooleanOptional

Specifies whether to return the Taxpayer Identification Number (TIN) in encrypted format. Defaults: false.

Default: false
Body
legalFirstNamestring | nullableOptional

First name of the tax payer.

Example: John
legalLastNamestring | nullableOptional

Last name of the tax payer.

Example: Doe
tinstring · min: 9 · max: 9Required

Taxpayer Identification Number (TIN). Must be exactly 9 characters long.

Example: 123456789
encryptedTINstring · byte | nullableOptional

Encrypted representation of the TIN for security purposes.

Example: [****3433, ****4485]
tinLastFourstring | nullableRead-onlyOptional

Represents last fout digits of TIN number

Example: 4673
tinTypeIDstring · min: 1 · max: 3Required

Identifier for the type of TIN. Must be between 1 and 3.

Example: 2
businessLegalNamestring · min: 1Required

The legal name of the business associated with the taxpayer.

Example: Acme Corporation
stateIncorporatedCodestring | nullableOptional

The state where the business is incorporated. Represented as a two-character code.

Example: CA
Responses
200

Saves a Taxpayer successfully.

application/json
put
/api/demographics/v2/Taxpayers/{merchantNumber}
PUT /api/demographics/v2/Taxpayers/{merchantNumber} HTTP/1.1
Host: 
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 187

{
  "legalFirstName": "John",
  "legalLastName": "Doe",
  "tin": "123456789",
  "encryptedTIN": "[****3433, ****4485]",
  "tinTypeID": "2",
  "businessLegalName": "Acme Corporation",
  "stateIncorporatedCode": "CA"
}
{
  "legalFirstName": "John",
  "legalLastName": "Doe",
  "tin": "123456789",
  "encryptedTIN": "[****3433, ****4485]",
  "tinLastFour": "4673",
  "tinTypeID": "2",
  "businessLegalName": "Acme Corporation",
  "stateIncorporatedCode": "CA"
}

Was this helpful?