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 authentication using JWT token |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
mobile_number | String | Yes | The mobile number to verify (10 digits without country code) |
{
"mobile_number": "8079012345"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification result data |
data.client_id | String | Unique identifier for this verification request |
data.name | String | Full name associated with the mobile number |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "mobile_to_name_DtQgHfeoGjtpUYmisKvt",
"name": "VISHAL SINGH RATHORE"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid mobile number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/mobile-to-name/verification' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_number": "8079012345"
}'
{
"data": {
"client_id": "mobile_to_name_DtQgHfeoGjtpUYmisKvt",
"name": "VISHAL SINGH RATHORE"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}