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 |
|---|---|---|---|
| id_number | String | Yes | The identification number to search with |
| document_type | Enum | Yes | Type of the identification document |
| Value | Description | Format Example |
|---|---|---|
| PAN | Candidate's PAN Number | ABCDE1234F |
| VOTER | Valid Voter ID Card Number | ABC1234567 |
| AADHAAR | Combination of Aadhaar details (format below) | 1234|MINAL TOMAR|01-12-1997|F |
| DRIVING_LICENSE | Valid Driving License Number | RJ1320120123456 |
| CKYC_NUMBER | Valid 14 Digit CKYC ID Number | 12345678912345 |
AADHAAR as document_type, the id_number should be a pipe-separated string with:{
"id_number": "ABCDE1234F",
"document_type": "PAN"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the search results |
| data.client_id | String | Unique client identifier for the request |
| data.id_number | String | The identification number used for search |
| data.ckyc_search_data | Object | CKYC data retrieved from the registry |
| 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 |
|---|---|---|
| ckyc_id | String | CKYC ID Number of the customer |
| full_name | String | Full name of the customer |
| age | String | Age of the customer |
| fathers_name | String | Father's name of the customer |
| identity_details | Object | Contains identity document information |
| kyc_date | String | Date when KYC was completed (YYYY-MM-DD) |
| updated_date | String | Date when KYC was last updated (YYYY-MM-DD) |
| Parameter | Type | Description |
|---|---|---|
| identity | Array | List of identity documents |
| identity[].status | String | Document status code |
| identity[].type | String | Document type |
| Code | Description |
|---|---|
| 3 | ID Is Available |
| 4 | ID Not Provided |
{
"data": {
"client_id": "ckyc_gwtSCuwoKfucbNnETsDa",
"id_number": "XXXXXXXXX",
"ckyc_search_data": {
"ckyc_id": "123456789",
"full_name": "Mr DUMMAY NAME",
"age": "24",
"fathers_name": "Mr FATHER NAME",
"identity_details": {
"identity": [
{
"status": "3",
"type": "PAN"
}
]
},
"kyc_date": "2020-04-11",
"updated_date": "2020-04-11"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Invalid document type provided",
"message_code": "invalid_document_type"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ckyc/search' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "ABCDE1234F",
"document_type": "PAN"
}'{
"data": {
"client_id": "ckyc_gwtSCuwoKfucbNnETsDa",
"id_number": "XXXXXXXXX",
"ckyc_search_data": {
"ckyc_id": "123456789",
"full_name": "Mr DUMMAY NAME",
"age": "24",
"fathers_name": "Mr FATHER NAME",
"identity_details": {
"identity": [
{
"status": "3",
"type": "PAN"
}
]
},
"kyc_date": "2020-04-11",
"updated_date": "2020-04-11"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}