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 | Must be set to multipart/form-data for file upload |
Parameter | Type | Required | Description |
---|---|---|---|
file | File (PDF) | Yes | The bank statement document in PDF format to be uploaded and analyzed |
# This is a multipart/form-data request with a PDF file upload
# The file parameter contains the binary PDF data
'file=@"/path/to/file"' \
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for tracking the uploaded statement analysis |
status_code | Number | HTTP status code indicating the result of the operation |
success | Boolean | Indicates whether the operation was successful |
message | String | Human-readable description of the operation result |
message_code | String | Machine-readable code representing the operation result |
{
"data": {
"client_id": "statement_analysis_sJRzpcpuOAnnjDYHOtPJ"
},
"status_code": 200,
"success": true,
"message": "Successfully Uploaded",
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Verification Failed.",
"message_code": "verification_failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/bank/statement/upload' \
--form 'file=@""'
{
"data": {
"client_id": "statement_analysis_sJRzpcpuOAnnjDYHOtPJ"
},
"status_code": 200,
"success": true,
"message": "Successfully Uploaded",
"message_code": "success"
}