Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer JWT token for API authentication |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | Yes | Full name of the user as registered in official documents |
| id_number | String | Yes | UDIN (Unique Document Identification Number) for verification |
| String | Yes | Valid email address for communication and notifications | |
| mobile_number | String | Yes | Mobile number where OTP will be sent (10-digit Indian mobile number) |
{
"name": "Abhijit Shetye",
"id_number": "21153743AAAADQ1234",
"email": "abc@gmail.com",
"mobile_number": "9876341246"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the core response data |
| data.client_id | String | Unique identifier for the verification session |
| data.otp_sent | Boolean | Indicates whether OTP was successfully sent |
| status_code | Integer | HTTP status code (200 for success) |
| success | Boolean | Overall success status of the request |
| message | String | Human-readable response message |
| message_code | String | Machine-readable response code |
{
"data": {
"client_id": "udin_dOLoUJUkAgjjFjeFtreT",
"otp_sent": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 401,
"success": false,
"message": "Invalid authentication token",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/udin/send-otp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Abhijit Shetye",
"id_number": "21153743AAAADQ1234",
"email": "abc@gmail.com",
"mobile_number": "9876341246"
}'{
"data": {
"client_id": "udin_yZzYusgmxrzihbQldRHE",
"otp_sent": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}