Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| mobile | String | Yes | The mobile number to be checked against the MNRL database |
{
"mobile": "9904709012"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the response data |
| data.client_id | String | Unique identifier for the API request |
| data.revoked | Boolean | Indicates if the mobile number is in the MNRL (true = revoked, false = not revoked) |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Indicates if the API request was successful |
| message | String | Human-readable status message |
| message_code | String | Machine-readable status code |
{
"data": {
"client_id": "mnrl_check_dzGrZOWejhJvVNveQRyg",
"revoked": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"errors": {
"mobile": "Mobile Number Value does not match pattern: \"^[0][1-9]\\d{9}$|^[1-9]\\d{9}$\""
},
"message": "Input payload validation failed"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/mnrl/mnrl-check' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile": "9904709012"
}'{
"data": {
"client_id": "mnrl_check_dzGrZOWejhJvVNveQRyg",
"revoked": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}