Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token for API authentication (JWT format) |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
tin_number | String | Yes | The Tax Identification Number to be validated |
country | String | Yes | The country code or name for which the TIN format should be validated |
{
"tin_number": "CZCPG1234L",
"country": "India"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container object for the verification results |
data.client_id | String | Unique identifier for the verification request |
data.tin_number | String | The TIN number that was verified |
data.country | String | The country for which verification was performed |
data.id_type | String | The type of identification (typically "any" for TIN verification) |
data.format_name | String | The specific name of the TIN format (e.g., "Permanent Account Number") |
data.is_valid_format | Boolean | Indicates whether the TIN follows the correct format structure |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates whether the API call was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "tin_format_verification_rQnswdmnhyjRXlwsjimX",
"tin_number": "CZCPG1234L",
"country": "India",
"id_type": "any",
"format_name": "Permanent Account Number",
"is_valid_format": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"error": null,
"message": "Your token is invalid. Please ensure that correct token is being used.",
"status_code": 401,
"success": false,
"message_code": "invalid_token"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/tin/tin-format-verification' \
--header 'Content-Type: application/json' \
--data-raw '{
"tin_number": "CZCPG1234L",
"country": "India"
}'
{
"data": {
"client_id": "tin_format_verification_rQnswdmnhyjRXlwsjimX",
"tin_number": "CZCPG1234L",
"country": "India",
"id_type": "any",
"format_name": "Permanent Account Number",
"is_valid_format": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}