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 authentication using JWT format: Bearer <your_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | The TAN number to be verified (e.g., "RTKT06731E") |
{
"id_number": "RTKT06731E"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification result details |
data.client_id | String | Unique identifier for the verification request |
data.tan | String | The verified TAN number |
data.name | String | Full name of the TAN holder (company or entity) |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the verification was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "tan_kjYdJwRvRJQszuvgdruK",
"tan": "RTKT06731E",
"name": "TAXREX SOLUTIONS PRIVATE LIMITED"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid TAN number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/tan/' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "RTKT06731E"
}'
{
"data": {
"client_id": "tan_kjYdJwRvRJQszuvgdruK",
"tan": "RTKT06731E",
"name": "TAXREX SOLUTIONS PRIVATE LIMITED"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}