Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | JWT Bearer token for authentication. Format: Bearer <your_token> |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | String | Yes | The PAN card number to verify. Must be a valid 10-character alphanumeric PAN format (e.g., ABCDE1234F) |
{
"id_number": "EKRPR1234F"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the PAN verification result data |
| data.client_id | String | Unique identifier for this verification request |
| data.pan_number | String | The PAN number that was verified |
| data.full_name | String | Complete name of the PAN holder as registered |
| data.full_name_split | Array | Name components broken down 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 (M for Male, F for Female) |
| data.status | String | Current status of the PAN (valid, invalid, etc.) |
| 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 |
| message_code | String | Code indicating the result of the operation |
{
"data": {
"client_id": "pan_with_details_v2_LwpwrtnamlgeaXnauqWB",
"pan_number": "EKRPR1234F",
"full_name": "VISHAL SINGH RATHORE",
"full_name_split": [
"VISHAL",
"SINGH",
"RATHORE"
],
"dob": "2001-07-25",
"gender": "M",
"status": "valid"
},
"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-with-details-v2' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "EKRPR1234F"
}'{
"data": {
"client_id": "pan_with_details_v2_LwpwrtnamlgeaXnauqWB",
"pan_number": "EKRPR1234F",
"full_name": "VISHAL SINGH RATHORE",
"full_name_split": [
"VISHAL",
"SINGH",
"RATHORE"
],
"dob": "2001-07-25",
"gender": "M",
"status": "valid"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}