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 |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | string | Yes | The Bangladesh NID number to be verified |
dob | string | Yes | Date of birth in YYYY-MM-DD format |
{
"id_number": "7862824589999",
"dob": "1984-06-03"
}
Parameter | Type | Description |
---|---|---|
data | object | Contains verification results and request details |
data.client_id | string | Unique identifier for the verification request |
data.id_number | string | The NID number that was verified |
data.dob | string | The date of birth used for verification |
data.is_verified | boolean | Verification status - true if NID is valid, false otherwise |
status_code | integer | HTTP status code of the response |
success | boolean | Indicates if the API call was successful |
message | string | Human-readable message describing the result |
message_code | string | Machine-readable code for the result status |
{
"data": {
"client_id": "bangladesh_nid_verification_wxHmLPwTsdznmhqFpxhX",
"id_number": "7862824589999",
"dob": "1984-06-03",
"is_verified": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"error": null,
"message": "Your token is invalid. Please ensure that correct token is being used.",
"status_code": 401,
"success": false,
"message_code": "invalid_token"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/bangladesh/nid-verification' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "7862824589999",
"dob": "1984-06-03"
}'
{
"data": {
"client_id": "bangladesh_nid_verification_wxHmLPwTsdznmhqFpxhX",
"id_number": "7862824589999",
"dob": "1984-06-03",
"is_verified": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}