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 | PAN Number to be verified (e.g., "EKRPR1234F") |
{
"id_number": "EKRPR1234F"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the PAN verification data |
data.client_id | String | Unique identifier for the verification request |
data.pan_number | String | PAN Card number that was verified |
data.full_name | String | Complete name of the PAN holder as registered |
data.full_name_split | Array | Name components split into [First Name, Middle Name, Last Name] |
data.dob | String | Date of birth in YYYY-MM-DD format |
data.gender | String | Gender of the PAN holder (e.g., "M" for Male) |
data.status | String | Status of the PAN (e.g., "valid") |
data.aadhaar_linked | Boolean | Whether the PAN is linked to Aadhaar (true/false) |
data.masked_aadhaar | String | Partially masked Aadhaar number of the PAN holder |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API call was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "pan_with_details_v3_BsyouyxbvriTgmFVnRcQ",
"pan_number": "EKRPR1234F",
"full_name": "VISHAL SINGH RATHORE",
"full_name_split": [
"VISHAL",
"SINGH",
"RATHORE"
],
"dob": "2001-07-25",
"gender": "M",
"status": "valid",
"aadhaar_linked": true,
"masked_aadhaar": "XXXXXXXX5514"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"data": null,
"status_code": 422,
"message": "Invalid PAN",
"success": false,
"message_code": null
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/pan/pan-with-details-v3' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "EKRPR1234F"
}'
{
"data": {
"client_id": "pan_with_details_v3_BsyouyxbvriTgmFVnRcQ",
"pan_number": "EKRPR1234F",
"full_name": "VISHAL SINGH RATHORE",
"full_name_split": [
"VISHAL",
"SINGH",
"RATHORE"
],
"dob": "2001-07-25",
"gender": "M",
"status": "valid",
"aadhaar_linked": true,
"masked_aadhaar": "XXXXXXXX5514"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}