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 |
---|---|---|---|
mobile_number | String | Yes | The mobile number associated with the PAN card details you want to retrieve |
{
"mobile_number": "8079012345"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the retrieved PAN card details |
data.client_id | String | Unique identifier for the client request |
data.mobile_number | String | Mobile number provided in the request |
data.pan_number | String | PAN number associated with the mobile number |
data.pan_details | Object | Comprehensive PAN card details |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Response message |
message_code | String | Code representing the response message |
Parameter | Type | Description |
---|---|---|
pan_number | String | PAN number of the individual |
full_name | String | Full name as per PAN card |
full_name_split | List | Full name split into first name, middle name (if any), and last name |
masked_aadhaar | String | Masked Aadhaar number |
address | Object | Object containing address details |
String | Email address associated with the PAN card | |
phone_number | String | Phone number associated with the PAN card |
gender | String | Gender of the individual (M/F/Others) |
dob | String | Date of birth in YYYY-MM-DD format |
input_dob | String | Input date of birth if provided |
aadhaar_linked | Boolean | Indicates if Aadhaar is linked with the PAN card |
dob_verified | Boolean | Indicates if the date of birth is verified |
dob_check | Boolean | Indicates if there was a check on the date of birth |
category | String | Category of the individual (e.g., person, company) |
less_info | Boolean | Indicates if less information is available |
Parameter | Type | Description |
---|---|---|
line_1 | String | Address line 1 |
line_2 | String | Address line 2 |
street_name | String | Name of the street |
zip | String | Zip code |
city | String | City name |
state | String | State name |
country | String | Country name |
full | String | Full address with all details concatenated |
{
"data": {
"client_id": "mobile_to_prefill_v2_IGVFgraWemsveptOUkhp",
"mobile_number": "8079012345",
"pan_number": "ABCDE1234F",
"pan_details": {
"pan_number": "ABCDE1234F",
"full_name": "John Doe",
"masked_aadhaar": "XXXXXXXXXXXX",
"address": {
"line_1": "123, ABC Street",
"line_2": "XYZ Area",
"street_name": "ABC Street",
"zip": "12345",
"city": "Cityville",
"state": "Stateville",
"country": "Countryland",
"full": "123, ABC Street XYZ Area Cityville, Stateville - 12345 Countryland"
},
"email": "johndoe@example.com",
"phone_number": "8079012345",
"gender": "M",
"dob": "1990-01-01",
"aadhaar_linked": true,
"dob_verified": true,
"dob_check": true,
"category": "person",
"less_info": false
}
},
"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-prefill-v2' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_number": "8079012345"
}'
{
"data": {
"client_id": "mobile_to_prefill_v2_IGVFgraWemsveptOUkhp",
"mobile_number": "8079012345",
"pan_number": "ABCDE1234F",
"pan_details": {
"pan_number": "ABCDE1234F",
"full_name": "John Doe",
"masked_aadhaar": "XXXXXXXXXXXX",
"address": {
"line_1": "123, ABC Street",
"line_2": "XYZ Area",
"street_name": "ABC Street",
"zip": "12345",
"city": "Cityville",
"state": "Stateville",
"country": "Countryland",
"full": "123, ABC Street XYZ Area Cityville, Stateville - 12345 Countryland"
},
"email": "johndoe@example.com",
"phone_number": "8079012345",
"gender": "M",
"dob": "1990-01-01",
"aadhaar_linked": true,
"dob_verified": true,
"dob_check": true,
"category": "person",
"less_info": false
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}