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 |
---|---|---|---|
name | String | Yes | Full name of the person as registered with the PAN |
mobile_no | String | Yes | Mobile number registered with the PAN (10 digits) |
{
"name": "sambhaaji",
"mobile_no": "8888808969"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the API request |
data.name | String | Name of the person associated with the PAN |
data.mobile_no | String | Mobile number used for the query |
data.pan_number | String | PAN card number associated with the provided mobile number |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "mobile_to_pan_PnrccpqLOtuzdvYpPlpI",
"name": "vishal",
"mobile_no": "8079012345",
"pan_number": "EKRPR1234F"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Verification Failed.",
"message_code": "verification_failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/pan/mobile-to-pan' \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "sambhaaji",
"mobile_no": "8888808969"
}'
{
"data": {
"client_id": "mobile_to_pan_PnrccpqLOtuzdvYpPlpI",
"name": "vishal",
"mobile_no": "8079012345",
"pan_number": "EKRPR1234F"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}