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") |
get_address | Boolean | No | Get Address details |
{
"id_number": "EKRPR1234F"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for all PAN-related information |
data.client_id | String | Unique identifier for the API request |
data.pan_number | String | PAN Card number that was verified |
data.full_name | String | Complete name of the PAN holder |
data.full_name_split | Array | Name broken into components [First, Middle, Last] |
data.masked_aadhaar | String | Partially masked Aadhaar number linked to the PAN |
data.address | Object | Structured address information (see details below) |
data.email | String | Email address of the PAN holder |
data.phone_number | String | Contact number of the PAN holder |
data.gender | String | Gender of the PAN holder (M/F/O) |
data.dob | String | Date of birth in YYYY-MM-DD format |
data.input_dob | String | Date of birth provided in the input (if any) |
data.aadhaar_linked | Boolean | Whether the PAN is linked to Aadhaar |
data.dob_verified | Boolean | Whether the date of birth has been verified |
data.dob_check | Boolean | Result of date of birth verification check |
data.category | String | Category of the PAN (person, company, etc.) |
data.less_info | Boolean | Indicates if limited information is available |
status_code | Integer | HTTP status code of the response |
success | Boolean | Whether the API call was successful |
message | String | Additional information about the response (if any) |
message_code | String | Code indicating the status of the response |
Parameter | Type | Description |
---|---|---|
line_1 | String | House/building number and name |
line_2 | String | Colony/society name |
street_name | String | Street or road name |
zip | String | Postal/PIN code |
city | String | City name |
state | String | State name |
country | String | Country name |
full | String | Complete address as a single string |
{
"data": {
"client_id": "pan_comprehensive_NZAOcvheHYtwohtkWQbH",
"pan_number": "EKRPR1234F",
"full_name": "MR. RATHORE",
"full_name_split": [
"MR",
"",
"RATHORE"
],
"masked_aadhaar": "XXXXXXXX1234",
"address": {
"line_1": "A 000 ",
"line_2": "Jagatpura",
"street_name": "S.O",
"zip": 123456,
"city": "Jaipur",
"state": "RAJASTHAN",
"country": "INDIA",
"full": "A 000 RAJASTHAN INDIA"
},
"email": "RATHORE@GMAIL.COM",
"phone_number": "1234567810",
"gender": "M",
"dob": "0001-07-00",
"input_dob": null,
"aadhaar_linked": true,
"dob_verified": false,
"dob_check": false,
"category": "person",
"less_info": false
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"data": null,
"status_code": 422,
"message": "Invalid PAN",
"success": false
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/pan/pan-comprehensive' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "EKRPR1234F"
}'
{
"data": {
"client_id": "pan_comprehensive_NZAOcvheHYtwohtkWQbH",
"pan_number": "EKRPR1234F",
"full_name": "MR. RATHORE",
"full_name_split": [
"MR",
"",
"RATHORE"
],
"masked_aadhaar": "XXXXXXXX1234",
"address": {
"line_1": "A 000 ",
"line_2": "Jagatpura",
"street_name": "S.O",
"zip": 123456,
"city": "Jaipur",
"state": "RAJASTHAN",
"country": "INDIA",
"full": "A 000 RAJASTHAN INDIA"
},
"email": "RATHORE@GMAIL.COM",
"phone_number": "1234567810",
"gender": "M",
"dob": "0001-07-00",
"input_dob": null,
"aadhaar_linked": true,
"dob_verified": false,
"dob_check": false,
"category": "person",
"less_info": false
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}