Feel free to reach techsupport@surepass.io for any technical support or guidance.
client_id
associated with the CKYC update session, you can retrieve the current processing state, approval status, and individual file responses for each person included in the update. This helps organizations track the progress of CKYC updates and take timely action based on the status.Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token in the format Bearer <JWT> |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | string | Yes | Unique client identifier for the CKYC update session. |
{
"client_id": "ckyc_update_kjihrpwyigtauuercgGv"
}
Parameter | Type | Description |
---|---|---|
data | object | Main response payload. |
data.client_id | string | Unique client identifier for the CKYC update session. |
data.state | string | State of the CKYC update (e.g., "pending", "approved", "rejected"). |
data.response | object | Detailed response for the update session. |
data.response.approved_by_checker | boolean | Indicates if the update was approved by the checker. |
data.response.individual_file_response | array | List of status responses for each individual in the update. |
data.response.individual_file_response[].identifier | string | Identifier for the individual (e.g., CKYC number). |
data.response.individual_file_response[].message | string/null | Status message for the individual (if any). |
data.response.individual_file_response[].status | string | Status for the individual (e.g., "pending", "approved", "rejected"). |
status_code | number | HTTP status code (e.g., 200 for success). |
success | boolean | Indicates if the request was successful. |
message | string | Human-readable status message. |
message_code | string | Machine-readable status code. |
{
"data": {
"client_id": "ckyc_update_kjihrpwyigtauuercgGv",
"state": "pending",
"response": {
"approved_by_checker": false,
"individual_file_response": [
{
"identifier": "78945612378901",
"message": null,
"status": "pending"
}
]
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 401,
"success": false,
"message": "Unauthorized: Invalid or missing token",
"message_code": "unauthorized"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ckyc-upload/update/status' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "ckyc_update_kjihrpwyigtauuercgGv"
}'
{
"data": {
"client_id": "ckyc_update_kjihrpwyigtauuercgGv",
"state": "pending",
"response": {
"approved_by_checker": false,
"individual_file_response": [
{
"identifier": "78945612378901",
"message": null,
"status": "pending"
}
]
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}