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 | 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 number for which father's name is to be retrieved. Must be a valid 10-character PAN format. |
{
"id_number": "JRXPD1234N"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification result data |
data.client_id | String | Unique identifier for the verification request |
data.pan_number | String | The PAN number that was verified |
data.father_name | String | The father's name of the PAN holder |
data.full_name | String | The full name of the PAN holder |
data.full_name_split | Array | The PAN holder's name split into components [First Name, Middle Name, Last Name] |
data.individual_pan | Boolean | Indicates if the PAN belongs to an individual (true) or entity (false) |
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 status of the request |
{
"data": {
"client_id": "pan_to_father_name_DdLvDKcbxyHvVLEwBppB",
"pan_number": "JRXPD1234N",
"father_name": "DALLU LAL DHEEMAR",
"full_name": "SHIVRAJ DHEEMAR",
"full_name_split": [
"SHIVRAJ",
"",
"DHEEMAR"
],
"individual_pan": true
},
"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-to-father-name' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "JRXPD1234N"
}'
{
"data": {
"client_id": "pan_to_father_name_DdLvDKcbxyHvVLEwBppB",
"pan_number": "JRXPD1234N",
"father_name": "DALLU LAL DHEEMAR",
"full_name": "SHIVRAJ DHEEMAR",
"full_name_split": [
"SHIVRAJ",
"",
"DHEEMAR"
],
"individual_pan": true
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}