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 |
---|---|---|---|
certificate_number | String | Yes | The West Bengal certificate number to be verified (e.g., "WB0702OBC201916320") |
{
"certificate_number": "WB0702OBC201916320"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the certificate verification details |
data.client_id | String | Unique identifier for the verification request |
data.certificate_number | String | The certificate number that was verified |
data.issued_by | String or null | Authority that issued the certificate |
data.date_of_issue | String | Date when the certificate was issued (YYYY-MM-DD format) |
data.full_name | String | Full name of the certificate holder |
data.address | String | Complete address of the certificate holder |
data.father_name | String | Father's name of the certificate holder |
data.gender | String | Gender of the certificate holder |
data.caste | String | Caste details including category (e.g., OBC-A) and subcaste |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API call was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "wb_certificate_dyRAjARxXRsguHnsNYjl",
"certificate_number": "WB0702OBC201916320",
"issued_by": null,
"date_of_issue": "2019-11-11",
"full_name": "SAIMUDDIN SK",
"address": "CHANDRAPARA, PO : PURAPARA, PS : SUTI, Murshidabad, WEST BENGAL",
"father_name": "RABIUL",
"gender": "Male",
"caste": "OBC-A ( SHERSHABADIA )"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid certificate number",
"message_code": "invalid_certificate"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/wb-certificate/' \
--header 'Content-Type: application/json' \
--data-raw '{
"certificate_number": "WB0702OBC201916320"
}'
{
"data": {
"client_id": "wb_certificate_dyRAjARxXRsguHnsNYjl",
"certificate_number": "WB0702OBC201916320",
"issued_by": null,
"date_of_issue": "2019-11-11",
"full_name": "SAIMUDDIN SK",
"address": "CHANDRAPARA, PO : PURAPARA, PS : SUTI, Murshidabad, WEST BENGAL",
"father_name": "RABIUL",
"gender": "Male",
"caste": "OBC-A ( SHERSHABADIA )"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}