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 authentication (JWT format) |
Content-Type | Yes | Application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | PAN Card number to be verified (e.g., "EKRPR1234F") |
{
"id_number": "EKRPR1234F"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification results |
data.client_id | String | Unique identifier for the verification request |
data.pan_number | String | PAN number that was verified |
data.pan_kra_status | String | Status of PAN verification through KRA ("True" or "False") |
data.kra_status | Boolean | Overall KRA verification status (true or false) |
data.pan_kra_agency | String | Name of the KRA agency that performed the verification |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API call was successful |
message | String or null | Additional information about the response (if any) |
message_code | String | Code indicating the result of the operation |
{
"data": {
"client_id": "pan_kra_woohvQslKabOwwtforyg",
"pan_number": "EKRPR1234F",
"pan_kra_status": "True",
"kra_status": true,
"pan_kra_agency": "CVL KRA"
},
"status_code": 200,
"success": true,
"message": null,
"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-kra' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "EKRPR1234F"
}'
{
"data": {
"client_id": "pan_kra_woohvQslKabOwwtforyg",
"pan_number": "EKRPR1234F",
"pan_kra_status": "True",
"kra_status": true,
"pan_kra_agency": "CVL KRA"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}