Tax Payer
Retrieve taxpayer details for the merchant identified by merchantNumber.
The merchant's unique identification number.
Specifies whether to return the Taxpayer Identification Number (TIN) in encrypted format.
falseReturns a Taxpayer's details successfully.
No content.
Bad Request: If merchant number is null or empty. Or URL refers to an obsolete version of API.
Forbidden: The user does not have the necessary permissions to access this resource.
Not Found: Taxpayer details not found.
Internal Server Error: This could be due to system errors. Please contact support for assistance
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 the taxpayer details for the merchant identified by merchantNumber.
The merchant's unique identification number.
Specifies whether to return the Taxpayer Identification Number (TIN) in encrypted format.
falseFirst name of the tax payer.
JohnLast name of the tax payer.
DoeTaxpayer Identification Number (TIN). Must be exactly 9 characters long.
123456789Encrypted representation of the TIN for security purposes.
[****3433, ****4485]Represents last fout digits of TIN number
4673Identifier for the type of TIN. Must be between 1 and 3.
2The legal name of the business associated with the taxpayer.
Acme CorporationThe state where the business is incorporated. Represented as a two-character code.
CASaves a Taxpayer successfully.
Accepted: Request change was accepted.
Bad Request: If merchant number is null or empty, or data is invalid. Or URL refers to an obsolete version of API.
Forbidden: The user does not have the necessary permissions to access this resource.
Not Found:: Resource not found exception.
Conflict: Request change was rejected because there is another one.
Internal Server Error: This could be due to system errors. Please contact support for assistance
PUT /api/demographics/v2/Taxpayers/{merchantNumber} HTTP/1.1
Host:
Content-Type: application/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"
}Last updated
Was this helpful?

