Feel free to reach techsupport@surepass.io for any technical support or guidance.
Header | Required | Description |
---|---|---|
Authorization | Yes | JWT Bearer token for API authentication |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Client ID obtained from the OTP generation process |
otp | String | Yes | 6-digit OTP received via SMS for verification |
{
"client_id": "ckyc_download_dBmyAFohBx",
"otp": "968284"
}
{
"data": {
"client_id": "string",
"ckyc_search_client_id": "string",
"id_number": "string",
"dob": "string|null",
"ckyc_download_data": {
"personal_identifiable_data": {
"personal_details": { /* Personal information object */ },
"identity_details": { /* Identity verification object */ },
"related_person_details": "string",
"image_details": { /* Images and documents object */ }
}
}
},
"status_code": 200,
"success": true,
"message": "string",
"message_code": "string"
}
Parameter | Type | Description |
---|---|---|
data | Object | Main response data container |
status_code | Integer | HTTP status code (200 for success) |
success | Boolean | Operation success indicator |
message | String | Human-readable response message |
message_code | String | Machine-readable message identifier |
Parameter | Type | Description |
---|---|---|
client_id | String | Download-specific client identifier |
ckyc_search_client_id | String | Original search client identifier |
id_number | String | Identity document number used for search |
dob | String | Date of birth (nullable) |
ckyc_download_data | Object | Complete CKYC data container |
Parameter | Type | Description |
---|---|---|
first_name | String | Customer's first name |
last_name | String | Customer's last name |
full_name | String | Complete formatted name with prefix |
dob | String | Date of birth (YYYY-MM-DD format) |
gender | String | Gender (MALE/FEMALE) |
pan | String | PAN card number |
mob_num | String | Mobile number |
email | String | Email address |
ckyc_no | String | CKYC reference number |
father_fullname | String | Father's complete name |
mother_fullname | String | Mother's complete name |
Parameter | Type | Description |
---|---|---|
perm_line1 | String | Permanent address line 1 |
perm_line2 | String | Permanent address line 2 |
perm_city | String | Permanent address city |
perm_state | String | Permanent address state code |
perm_pin | Integer | Permanent address PIN code |
perm_country | String | Permanent address country code |
corres_line1 | String | Correspondence address line 1 |
corres_city | String | Correspondence address city |
corres_state | String | Correspondence address state |
corres_pin | Integer | Correspondence address PIN code |
Parameter | Type | Description |
---|---|---|
identity | Array | Array of identity document objects |
sequence_no | Integer | Document sequence number |
identity_number | String | Masked identity document number |
identity_type | String | Type of identity document |
id_verification_status | String | Verification status (YES/NO) |
Parameter | Type | Description |
---|---|---|
image | Array | Array of image objects |
sequence_no | Integer | Image sequence number |
image_code | String | Image type (Photograph/Document name) |
image_type | String | File format (jpeg/pdf) |
image_data | String | Base64 encoded image data |
branch_code | String | Branch identifier |
{
"data": {
"client_id": "ckyc_download_nNfWARdhysddWFiXddXF",
"ckyc_search_client_id": "ckyc_coWcmlbmZtyeWjyeoylj",
"id_number": "INRMFE49270123",
"dob": null,
"ckyc_download_data": {
"personal_identifiable_data": {
"personal_details": {
"father_fname": "AMAN SINGH",
"resi_status": "",
"perm_line1": "HOUSE NO 1234 3RD FLOOR",
"perm_line2": "GALI NO 11 NEW DELHI",
"kyc_designation": "********",
"prefix": "MR",
"resi_std_code": "",
"corres_pin": 111111,
"off_std_code": "",
"father_prefix": "MR",
"corres_line2": "GALI NO 11 NEW DELHI",
"mob_code": 91,
"corres_line1": "HOUSE NO 1234 3RD FLOOR",
"perm_state": "DL",
"corres_line3": "",
"corres_state": "DL",
"kyc_name": "********",
"off_tel_num": "",
"pan": "EIJPA8709P",
"perm_line3": "",
"dec_place": "NEW DELHI",
"mother_prefix": "MRS",
"perm_dist": "South East Delhi",
"maiden_mname": "",
"father_fullname": "MR AMAN SINGH",
"kyc_empcode": "********",
"resi_tel_num": "",
"num_images": 2,
"kyc_date": "********",
"corres_city": "NEW DELHI",
"dob": "2000-07-11",
"perm_country": "IN",
"num_identity": 1,
"maiden_lname": "",
"org_code": "********",
"mother_fullname": "MRS POOJA DEVI",
"doc_sub": "1",
"gender": "MALE",
"mob_num": "9650531384",
"maiden_prefix": "",
"maiden_fullname": "",
"perm_pin": 110019,
"mname": "JAI",
"kyc_branch": "********",
"corres_country": "IN",
"ckyc_no": "90055174951234",
"org_name": "********",
"maiden_fname": "",
"mother_fname": "POOJA DEVI",
"email": "JAINTHAKHSHAY1234@GMAIL.COM",
"perm_corres_sameflag": "Y",
"father_mname": "",
"corres_poa": 1,
"perm_city": "NEW DELHI",
"corres_dist": "South East Delhi",
"dec_date": "2024-11-23",
"ckyc_reference_id": "INRMFE41234632",
"mother_mname": "",
"father_lname": "SINGH",
"num_related": 0,
"mother_lname": "DEVI",
"perm_poa": "Proof of Possession of Aadhaar",
"remarks": "",
"constituiton_type": "Individual",
"account_type": "Normal",
"first_name": "AKHSHAY",
"last_name": "LASTNAMEUNKNOWN",
"full_name": "MR AKSHAY JAI LASTNAMEUNKNOWN",
"father_or_spouse": "FATHER"
},
"identity_details": {
"identity": [
{
"sequence_no": 1,
"identity_number": "XXXXXXXX1234",
"identity_type": "Proof of Possession of Aadhaar",
"id_verification_status": "NO"
}
]
},
"related_person_details": "",
"image_details": {
"image": [
{
"branch_code": "BR001",
"image_data": "/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB4KADAAQAAAABAAACgAAAAAD/wAARCAKAAeADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKB",
"image_code": "Photograph",
"global_flag": "",
"sequence_no": 1,
"image_type": "jpeg"
},
{
"branch_code": "BR001",
"image_data": "JVBERi0xLjcKJeLjz9MKNSAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDExMjk+PnN0cmVhbQp4nIWYS3PbNhRG9/wVWLILw3gDXCZWHm7aJI3VzGTJWFTMWI+GotrJvy8uCJAUGV2OFppvxINzRYC4kH5kjGrGC0Om7823TBpijaRaEi0kkY4qS5oq22Z/ZT+yl+vs9jUnvCDrbSZkQT1jraGFIut",
"image_code": "Proof of Possession of Aadhaar",
"global_flag": "",
"sequence_no": 2,
"image_type": "pdf"
}
]
}
}
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid OTP provided",
"message_code": "invalid_otp"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ckyc-v2/download' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "ckyc_download_dBmyAFohBx",
"otp": "968284"
}'
{
"data": {
"client_id": "ckyc_download_nNfWARdhysddWFiXddXF",
"ckyc_search_client_id": "ckyc_coWcmlbmZtyeWjyeoylj",
"id_number": "INRMFE49270123",
"dob": null,
"ckyc_download_data": {
"personal_identifiable_data": {
"personal_details": {
"father_fname": "AMAN SINGH",
"resi_status": "",
"perm_line1": "HOUSE NO 1234 3RD FLOOR",
"perm_line2": "GALI NO 11 NEW DELHI",
"kyc_designation": "********",
"prefix": "MR",
"resi_std_code": "",
"corres_pin": 111111,
"off_std_code": "",
"father_prefix": "MR",
"corres_line2": "GALI NO 11 NEW DELHI",
"mob_code": 91,
"corres_line1": "HOUSE NO 1234 3RD FLOOR",
"perm_state": "DL",
"corres_line3": "",
"corres_state": "DL",
"kyc_name": "********",
"off_tel_num": "",
"pan": "EIJPA8709P",
"perm_line3": "",
"dec_place": "NEW DELHI",
"mother_prefix": "MRS",
"perm_dist": "South East Delhi",
"maiden_mname": "",
"father_fullname": "MR AMAN SINGH",
"kyc_empcode": "********",
"resi_tel_num": "",
"num_images": 2,
"kyc_date": "********",
"corres_city": "NEW DELHI",
"dob": "2000-07-11",
"perm_country": "IN",
"num_identity": 1,
"maiden_lname": "",
"org_code": "********",
"mother_fullname": "MRS POOJA DEVI",
"doc_sub": "1",
"gender": "MALE",
"mob_num": "9650531384",
"maiden_prefix": "",
"maiden_fullname": "",
"perm_pin": 110019,
"mname": "JAI",
"kyc_branch": "********",
"corres_country": "IN",
"ckyc_no": "90055174951234",
"org_name": "********",
"maiden_fname": "",
"mother_fname": "POOJA DEVI",
"email": "JAINTHAKHSHAY1234@GMAIL.COM",
"perm_corres_sameflag": "Y",
"father_mname": "",
"corres_poa": 1,
"perm_city": "NEW DELHI",
"corres_dist": "South East Delhi",
"dec_date": "2024-11-23",
"ckyc_reference_id": "INRMFE41234632",
"mother_mname": "",
"father_lname": "SINGH",
"num_related": 0,
"mother_lname": "DEVI",
"perm_poa": "Proof of Possession of Aadhaar",
"remarks": "",
"constituiton_type": "Individual",
"account_type": "Normal",
"first_name": "AKHSHAY",
"last_name": "LASTNAMEUNKNOWN",
"full_name": "MR AKSHAY JAI LASTNAMEUNKNOWN",
"father_or_spouse": "FATHER"
},
"identity_details": {
"identity": [
{
"sequence_no": 1,
"identity_number": "XXXXXXXX1234",
"identity_type": "Proof of Possession of Aadhaar",
"id_verification_status": "NO"
}
]
},
"related_person_details": "",
"image_details": {
"image": [
{
"branch_code": "BR001",
"image_data": "/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB4KADAAQAAAABAAACgAAAAAD/wAARCAKAAeADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKB",
"image_code": "Photograph",
"global_flag": "",
"sequence_no": 1,
"image_type": "jpeg"
},
{
"branch_code": "BR001",
"image_data": "JVBERi0xLjcKJeLjz9MKNSAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDExMjk+PnN0cmVhbQp4nIWYS3PbNhRG9/wVWLILw3gDXCZWHm7aJI3VzGTJWFTMWI+GotrJvy8uCJAUGV2OFppvxINzRYC4kH5kjGrGC0Om7823TBpijaRaEi0kkY4qS5oq22Z/ZT+yl+vs9jUnvCDrbSZkQT1jraGFIut",
"image_code": "Proof of Possession of Aadhaar",
"global_flag": "",
"sequence_no": 2,
"image_type": "pdf"
}
]
}
}
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}