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 authentication using JWT |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Unique identifier of the client account to check |
{
"client_id": "itr_hIljWFhdruRxPAPTGzQs"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the response data |
data.success | Boolean | Indicates whether the client account exists or not |
status_code | Integer | HTTP status code of the response |
message_code | String | Short code indicating the result of the operation |
message | String | Human-readable message describing the result |
success | Boolean | Overall success status of the API call |
{
"data": {
"success": true
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}
{
"data": {
"success": false
},
"status_code": 400,
"message_code": "invalid_client_id",
"message": "The provided client ID does not exist",
"success": false
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/itr/check-credentials' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "itr_hIljWFhdruRxPAPTGzQs"
}'
{
"data": {
"success": true
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}