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 | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | The Client ID obtained from the Bulk Upload API that uniquely identifies your bulk processing job |
Parameter | Type | Description |
---|---|---|
data | Object | Contains the details of the bulk processing job |
data.client_id | String | Client ID obtained from the Bulk Upload API |
data.type_of_job | String | Specifies the type of file being processed (e.g., "gstin") |
data.job_status | String | Current status of the task: "pending", "completed", "failed", or "success" |
data.download_link | String | URL to download the solution upon completion (only available when job_status is "completed" or "success") |
status_code | Integer | HTTP status code of the response |
message_code | String | Brief status message code |
message | String or null | Detailed message about the response (if applicable) |
success | Boolean | Indicates whether the API call was successful |
{
"data": {
"client_id": "bulk_solver_MtgsMgkeieLxIwovtpRT",
"type_of_job": "gstin",
"job_status": "success",
"download_link": "https://bulk-request-docs.s3.amazonaws.com/bulk_solver_MtgsMgkeieLxIwovtpRT-bulk-2024-01-11-064415133845.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20240122%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240122T092821Z&X-Amz-Expires=600&X-A"
},
"status_code": 200,
"message_code": "success",
"message": null,
"success": true
}
{
"data": null,
"status_code": 404,
"message_code": "error",
"message": "No job found with the provided client_id",
"success": false
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/bulk-solver/status/'
{
"data": {
"client_id": "bulk_solver_MtgsMgkeieLxIwovtpRT",
"type_of_job": "gstin",
"job_status": "success",
"download_link": "https://bulk-request-docs.s3.amazonaws.com/bulk_solver_MtgsMgkeieLxIwovtpRT-bulk-2024-01-11-064415133845.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20240122%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240122T092821Z&X-Amz-Expires=600&X-A"
},
"status_code": 200,
"message_code": "success",
"message": null,
"success": true
}