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 |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | Valid TAN number to be verified |
{
"id_number": "RTKT06731E"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the TAN verification results |
data.client_id | String | Unique identifier for the verification request |
data.tan | String | The verified TAN number |
data.details | Object | Comprehensive information about the TAN holder |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Additional information about the response (null if successful) |
message_code | String | Code indicating the status of the response |
Parameter | Type | Description |
---|---|---|
full_name | String | Complete name of the TAN holder |
first_name | String | First name of the TAN holder |
middle_name | String | Middle name of the TAN holder |
last_name | String | Last name of the TAN holder |
tan_allotment_date | String | Date when TAN was allotted (YYYY-DD-MM format) |
address | Object | Complete address details of the TAN holder |
email_1 | String | Primary email address of the TAN holder |
email_2 | String | Alternative email address of the TAN holder |
phone_number | String | Contact number of the TAN holder |
Parameter | Type | Description |
---|---|---|
line_1 | String | House number or building name |
line_2 | String | Colony or area name |
line_3 | String | Landmark information |
line_4 | String | Area details |
line_5 | String | City name |
state_code | Integer | Numeric code representing the state |
zip | String | Postal code |
full | String | Complete formatted address |
{
"data": {
"client_id": "tan_advanced_eMtQfmiASeAsvXeqojXj",
"tan": "ABKT12345E",
"details": {
"full_name": "SOLUTIONS PRIVATE LIMITED",
"first_name": "",
"middle_name": "",
"last_name": "",
"tan_allotment_date": "2050-12-18",
"address": {
"line_1": "H.NO 123 ,SHIV COLONY",
"line_2": ",",
"line_3": "",
"line_4": "",
"line_5": "PANCHKULA",
"state_code": 99,
"zip": "123456",
"full": "H.NO.123 SHIV COLONY , PANCHKULA 123456"
},
"email_1": "ABCD@LIVE.IN",
"email_2": "",
"phone_number": "1234567890"
}
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"data": null,
"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/tan-advanced' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "RTKT06731E"
}'
{
"data": {
"client_id": "tan_advanced_eMtQfmiASeAsvXeqojXj",
"tan": "ABKT12345E",
"details": {
"full_name": "SOLUTIONS PRIVATE LIMITED",
"first_name": "",
"middle_name": "",
"last_name": "",
"tan_allotment_date": "2050-12-18",
"address": {
"line_1": "H.NO 123 ,SHIV COLONY",
"line_2": ",",
"line_3": "",
"line_4": "",
"line_5": "PANCHKULA",
"state_code": 99,
"zip": "123456",
"full": "H.NO.123 SHIV COLONY , PANCHKULA 123456"
},
"email_1": "ABCD@LIVE.IN",
"email_2": "",
"phone_number": "1234567890"
}
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}