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 token for API authentication. Format: Bearer {JWT_TOKEN} |
| Content-Type | Yes | Must be set to multipart/form-data for file upload |
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | File | Yes | The file containing CKYC update data. Supported formats typically include Zip Files then it contains CSV, Excel, or other structured data files. The file should contain customer information with fields required for CKYC updates |
{
"file": "<zip_file>"
}| Parameter | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the API request was successful |
| status_code | integer | HTTP status code of the response (200 for success) |
| message | string | General message describing the result of the operation |
| message_code | string | Machine-readable code representing the message type |
| data | object | Container object for the response payload |
| data.client_id | string | Unique identifier for tracking this bulk upload operation |
| data.message | string | Detailed message about the upload initiation status |
| data.state | string | Current state of the bulk upload process (e.g., "pending", "processing", "completed") |
| data.error | array | Array of error objects. Empty array if no errors occurred during initiation |
{
"data": {
"client_id": "ckyc_update_oPfNzrFipIhbqtyuyyar",
"message": "CKYC bulk upload has been initiated",
"state": "pending",
"error": []
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"success": false,
"status_code": 401,
"message": "Unauthorized",
"message_code": "unauthorized",
"data": null
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ckyc-upload/update/upload-file' \
--header 'Authorization: Bearer <token>' \
--form 'file=@""'{
"data": {
"client_id": "ckyc_update_oPfNzrFipIhbqtyuyyar",
"message": "CKYC bulk upload has been initiated",
"state": "pending",
"error": []
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}