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 | String | Yes | Customer's mobile number |
{
"mobile": "9660912345"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains all customer information |
data.client_id | String | Unique identifier for the customer record |
data.mobile | String | Customer's mobile number |
data.details | Object | Customer's Details |
data.details.personal_info | Object | Personal details including name, DOB, gender, etc. |
data.details.phone_info | Array | List of phone numbers associated with the customer |
data.details.address_info | Array | List of addresses associated with the customer |
data.details.email_info | Array | List of email addresses associated with the customer |
data.details.identity_info | Object | Various identity documents associated with the customer |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API call was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
Parameter | Type | Description |
---|---|---|
full_name | String | Full name of the person |
dob | String | Date of birth in YYYY-MM-DD format |
gender | String | Gender of the person (Male/Female) |
total_income | String | Total income of the person |
occupation | String | Occupation of the person |
age | String | Age of the person |
Parameter | Type | Description |
---|---|---|
reported_date | String | Date when the information was reported in YYYY-MM-DD format |
type_code | String | Type code representing the nature of the data (e.g., M for Mobile, H for Home) |
number | String | Phone number |
Parameter | Type | Description |
---|---|---|
address | String | Full address of the person |
state | String | State where the address is located |
type | String | Type of address (e.g., Permanent, Temporary, Office) |
postal | String | Postal code or ZIP code |
reported_date | String | Date when the information was reported in YYYY-MM-DD format |
Parameter | Type | Description |
---|---|---|
reported_date | String | Date when the information was reported in YYYY-MM-DD format |
email_address | String | Email address associated with the reported date |
Parameter | Type | Description |
---|---|---|
pan_number | Array | List of PAN card details |
passport_number | Array | List of passport details |
driving_license | Array | List of driving license details |
voter_id | Array | List of voter ID details |
aadhaar_number | Array | List of Aadhaar number details |
ration_card | Array | List of ration card details |
other_id | Array | List of other ID details |
{
"data": {
"client_id": "prefill_by_mobile_FpyRXBhdoauvQNwrQzke",
"mobile": "9660123456",
"details": {
"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": 400,
"success": false,
"message": "Invalid mobile number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/prefill/prefill-by-mobile' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile": "9660912345"
}'
{
"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"
}