Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer YOUR_JWT_TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for API authentication. Format: Bearer YOUR_JWT_TOKEN |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | String | Yes | Valid 10-character PAN number in uppercase format (e.g., LJDPK1234L). Must follow PAN format: 5 letters, 4 digits, 1 letter |
{
"id_number": "LJDPK1234L"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the verification results |
| data.client_id | String | Unique identifier for this verification request |
| data.pan_number | String | The PAN number that was verified |
| data.masked_aadhaar | String | Masked Aadhaar number with only last 4 digits visible (format: XXXXXXXX1234) |
| status_code | Integer | HTTP status code indicating the result of the request |
| success | Boolean | Indicates whether the request was successful (true) or failed (false) |
| message | String | Human-readable message describing the result |
| message_code | String | Machine-readable code for the result status |
{
"data": {
"client_id": "pan_masked_aadhaar_lRMcdKoaVtmCjxequnrk",
"pan_number": "LJDPK1234L",
"masked_aadhaar": "XXXXXXXX1234"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 422,
"success": false,
"message": "Invalid PAN",
"message_code": null
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/pan/pan-masked-aadhaar' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "LJDPK1234L"
}'{
"data": {
"client_id": "pan_masked_aadhaar_lRMcdKoaVtmCjxequnrk",
"pan_number": "LJDPK1234L",
"masked_aadhaar": "XXXXXXXX1234"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}