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 API authentication |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Unique identifier for the CKYC request session |
mobile_number | String | Yes | 10-digit mobile number registered with CKYC (without country code) |
{
"client_id": "ckyc_EklilHGggwPXenefi",
"mobile_number": "8939809876"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for response data |
data.client_id | String | New client ID to be used for OTP verification |
data.otp_sent | Boolean | Indicates whether OTP was successfully sent |
status_code | Integer | HTTP status code (200 for success) |
success | Boolean | Overall operation success indicator |
message | String | Human-readable response message |
message_code | String | Machine-readable message identifier |
{
"data": {
"client_id": "ckyc_download_nNfWARdhysddWFiXddXF",
"otp_sent": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Mobile Number not matched with CKYC.",
"message_code": "mobile_number_not_matched"
}
e /ckyc-v2/generate-otp
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ckyc-v2/generate-otp' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "ckyc_EklilHGggwPXenefi",
"mobile_number": "8939809876"
}'
{
"data": {
"client_id": "ckyc_download_nNfWARdhysddWFiXddXF",
"otp_sent": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}