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 | JWT Bearer token for authentication. Format: Bearer <your_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | ESIC ID number to be verified |
{
"id_number": "123456789"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the verification request |
data.id_number | String | ESIC ID number that was verified |
data.name | String | Full name of the ESIC holder as registered |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the request was successful |
message | String or null | Additional information about the response (null if successful) |
message_code | String | Code indicating the status of the response |
{
"data": {
"client_id": "esic_v2_vwtiheIDwGmXmrtojWrv",
"id_number": "123456789",
"name": "DEEPAK KUMAR"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid ESIC ID number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/esic/esic-v2' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "123456789"
}'
{
"data": {
"client_id": "esic_v2_vwtiheIDwGmXmrtojWrv",
"id_number": "123456789",
"name": "DEEPAK KUMAR"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}