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 | Application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | Director Identification Number (DIN) of the company director |
{
"id_number": "00000000"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the API request |
data.din_number | String | The DIN number that was provided in the request |
data.phone_number | String | Mobile number of the director associated with the provided DIN |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the API call was successful |
message | String or null | Additional information about the response (null if successful) |
message_code | String | Code indicating the type of response message |
{
"data": {
"client_id": "director_phone_oxjmjVHbVouynMCmjptC",
"din_number": "00000000",
"phone_number": "+91900000000000"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid DIN number provided",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/director-phone' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "00000000"
}'
{
"data": {
"client_id": "director_phone_oxjmjVHbVouynMCmjptC",
"din_number": "00000000",
"phone_number": "+91900000000000"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}