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 (JWT format) |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
mobile_number | String | Yes | The mobile number to search for associated RC numbers. Must be a valid 10-digit Indian mobile number. |
{
"mobile_number": "8908885858"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the response data |
data.client_id | String | Unique identifier for the API request |
data.rc_number | Array of Strings | List of RC numbers associated with the provided mobile number |
data.mobile_number | String | The mobile number that was provided in the request |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates whether the API call was successful |
message | String | Human-readable message describing the result |
message_code | String | Machine-readable code indicating the result type |
{
"data": {
"client_id": "mobile_number_to_rc_ubFojfkItBiHxioFbzJz",
"rc_number": [
"RJ14XJ1234"
],
"mobile_number": "8908885858"
},
"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/rc/mobile-number-to-rc' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_number": "8908885858"
}'
{
"data": {
"client_id": "mobile_number_to_rc_ubFojfkItBiHxioFbzJz",
"rc_number": [
"RJ14XJ1234"
],
"mobile_number": "8908885858"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}