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. Format: Bearer {your_jwt_token} |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | The EPIC (Voter ID) number to verify. Format should match the standard Voter ID format. |
additional_details | Object | No | Optional object containing additional information to enhance verification accuracy. |
additional_details.full_name | String | No | Full name of the voter for additional verification. |
additional_details.dob | String | No | Date of birth in YYYY-MM-DD format for additional verification. |
{
"id_number": "NLN2089555",
"additional_details": {
"full_name": "Karan Kapoor",
"dob": "1996-02-29"
}
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verified voter information |
data.relation_type | String | Type of relation (F for Father, M for Mother, etc.) |
data.gender | String | Gender of the voter (M for Male, F for Female, O for Other) |
data.age | String | Age of the voter |
data.epic_no | String | EPIC (Voter ID) number |
data.client_id | String | Unique client identifier |
data.dob | String | Date of birth in YYYY-MM-DD format |
data.relation_name | String | Name of the relation (father/mother/guardian) |
data.name | String | Full name of the voter |
data.area | String | Residential area/locality |
data.state | String | State of residence |
data.house_no | String | House number or identifier |
status_code | Integer | HTTP status code of the response |
message | String | Additional information or error message |
success | Boolean | Indicates whether the request was successful |
{
"data": {
"relation_type": "F",
"gender": "M",
"age": "29",
"epic_no": "NLN2089555",
"client_id": "bkpkzGyssQ",
"dob": "1990-08-31",
"relation_name": "KALEEN BHAIYA",
"name": "MUNNA BHAIYA",
"area": "Mirzapur",
"state": "Uttar Pradesh",
"house_no": "Tripathi Haveli"
},
"status_code": 200,
"message": "",
"success": true
}
{
"data": null,
"status_code": 400,
"message": "Invalid Voter ID format or number",
"success": false
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/voter-id/voter-id' \
--header 'X-Customer-Id: {{customer_id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "{{epic_number}}",
"additional_details": {
"full_name": "Karan Kapoor",
"dob": "1996-02-29"
}
}'
{
"data": {
"relation_type": "F",
"gender": "M",
"age": "29",
"epic_no": "NLN2089555",
"client_id": "bkpkzGyssQ",
"dob": "1990-08-31",
"relation_name": "KALEEN BHAIYA",
"name": "MUNNA BHAIYA",
"area": "Mirzapur",
"state": "Uttar Pradesh",
"house_no": "Tripathi Haveli"
},
"status_code": 200,
"message": "",
"success": true
}