Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://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 | Customer's full name |
| mobile | String | Yes | Customer's mobile number |
{
"name": "Rajendra Singh",
"mobile": "9660123456"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains all customer information |
| data.client_id | String | Unique identifier for the prefill report request |
| data.name | String | Customer's full name (as retrieved from records) |
| data.mobile | String | Customer's mobile number |
| data.personal_info | Object | Personal details including name, DOB, gender, income, occupation, and age |
| data.phone_info | Array | List of phone numbers associated with the customer |
| data.address_info | Array | List of addresses associated with the customer |
| data.email_info | Array | List of email addresses associated with the customer |
| data.identity_info | Object | Various identity documents associated with the customer |
| 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 |
{
"data": {
"client_id": "prefill_report_v2_FpyRXBhdoauvQNwrQzke",
"name": "RAJENDRA SINGH",
"mobile": "9660123456",
"personal_info": {
"full_name": "RAJENDRA SINGH ",
"dob": "1968-10-20",
"gender": "Male",
"total_income": "",
"occupation": "",
"age": "55"
},
"phone_info": [
{
"reported_date": "2024-01-28",
"type_code": "H",
"number": "00001427"
},
{
"reported_date": "2019-07-31",
"type_code": "M",
"number": "9660123456"
},
{
"reported_date": "2023-01-31",
"type_code": "M",
"number": "9660123456"
}
],
"address_info": [
{
"address": "S/O SHIV PRASAD SINGH MAHWA",
"state": "RAJASTHAN",
"type": "Permanent",
"postal": "123456",
"reported_date": "2024-01-28"
},
{
"address": "UNIT-A-123456 RAM NAGARIA RAM NAGARIA NEAR JAGATPURA JAIPUR JAIPUR JAIPUR",
"state": "RAJASTHAN",
"type": "",
"postal": "123456",
"reported_date": "2023-01-31"
},
{
"address": "TODABHIM DIST KARAULI PATOLI TODABHIM",
"state": "RAJASTHAN",
"type": "Office",
"postal": "123456",
"reported_date": "2023-01-31"
},
{
"address": "WARD NO 4 DAUSA-123456",
"state": "RAJASTHAN",
"type": "Primary",
"postal": "123456",
"reported_date": "2023-01-31"
},
{
"address": "A 1001 RAM NAGARIYA",
"state": "RAJASTHAN",
"type": "Owns,Permanent",
"postal": "302017",
"reported_date": "2019-07-31"
}
],
"email_info": [
{
"reported_date": "2021-06-30",
"email_address": "VISHALRATHORE@GMAIL.COM"
}
],
"identity_info": {
"pan_number": [
{
"id_number": "CMGPA1234J"
}
],
"passport_number": [],
"driving_license": [],
"voter_id": [
{
"id_number": "RJ100873123456"
}
],
"aadhaar_number": [
{
"id_number": "XXXXXXXXXXXX"
}
],
"ration_card": [],
"other_id": []
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Invalid or expired token",
"message_code": "unauthorized"
}| Field | Type | Description |
|---|---|---|
| full_name | String | Customer's complete name |
| dob | String | Date of birth in YYYY-MM-DD format |
| gender | String | Gender (Male/Female) |
| total_income | String | Annual income (if available) |
| occupation | String | Professional occupation (if available) |
| age | String | Current age in years |
| Field | Type | Description |
|---|---|---|
| reported_date | String | Date when the phone number was reported in YYYY-MM-DD format |
| type_code | String | Type of phone number (M: Mobile, H: Home, etc.) |
| number | String | The phone number |
| Field | Type | Description |
|---|---|---|
| address | String | Complete address details |
| state | String | State of the address |
| type | String | Address type (Permanent, Office, Primary, etc.) |
| postal | String | Postal/ZIP code |
| reported_date | String | Date when the address was reported in YYYY-MM-DD format |
| Field | Type | Description |
|---|---|---|
| reported_date | String | Date when the email was reported in YYYY-MM-DD format |
| email_address | String | Email address |
| Field | Type | Description |
|---|---|---|
| pan_number | Array | PAN card details |
| passport_number | Array | Passport details (if available) |
| driving_license | Array | Driving license details (if available) |
| voter_id | Array | Voter ID details (if available) |
| aadhaar_number | Array | Aadhaar number details (if available) |
| ration_card | Array | Ration card details (if available) |
| other_id | Array | Other identification documents (if available) |
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/prefill/prefill-report-v2' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Rajendra Singh",
"mobile": "9660123456"
}'{
"data": {
"client_id": "prefill_report_v2_FpyRXBhdoauvQNwrQzke",
"name": "RAJENDRA SINGH",
"mobile": "9660123456",
"personal_info": {
"full_name": "RAJENDRA SINGH ",
"dob": "1968-10-20",
"gender": "Male",
"total_income": "",
"occupation": "",
"age": "55"
},
"phone_info": [
{
"reported_date": "2024-01-28",
"type_code": "H",
"number": "00001427"
},
{
"reported_date": "2019-07-31",
"type_code": "M",
"number": "9660123456"
},
{
"reported_date": "2023-01-31",
"type_code": "M",
"number": "9660123456"
}
],
"address_info": [
{
"address": "S/O SHIV PRASAD SINGH MAHWA",
"state": "RAJASTHAN",
"type": "Permanent",
"postal": "123456",
"reported_date": "2024-01-28"
},
{
"address": "UNIT-A-123456 RAM NAGARIA RAM NAGARIA NEAR JAGATPURA JAIPUR JAIPUR JAIPUR",
"state": "RAJASTHAN",
"type": "",
"postal": "123456",
"reported_date": "2023-01-31"
},
{
"address": "TODABHIM DIST KARAULI PATOLI TODABHIM",
"state": "RAJASTHAN",
"type": "Office",
"postal": "123456",
"reported_date": "2023-01-31"
},
{
"address": "WARD NO 4 DAUSA-123456",
"state": "RAJASTHAN",
"type": "Primary",
"postal": "123456",
"reported_date": "2023-01-31"
},
{
"address": "A 1001 RAM NAGARIYA",
"state": "RAJASTHAN",
"type": "Owns,Permanent",
"postal": "302017",
"reported_date": "2019-07-31"
}
],
"email_info": [
{
"reported_date": "2021-06-30",
"email_address": "VISHALRATHORE@GMAIL.COM"
}
],
"identity_info": {
"pan_number": [
{
"id_number": "CMGPA1234J"
}
],
"passport_number": [],
"driving_license": [],
"voter_id": [
{
"id_number": "RJ100873123456"
}
],
"aadhaar_number": [
{
"id_number": "XXXXXXXXXXXX"
}
],
"ration_card": [],
"other_id": []
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}