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 application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Unique identifier for the bulk stamper order usage report. This is generated when a bulk usage report is requested and is used to retrieve the specific report. |
| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding the response data |
| data.client_id | string | The unique client identifier for the usage report request |
| data.bulk_stamp_client_id | string | The unique identifier for the associated bulk stamp operation |
| data.status | string | Status of the report generation (e.g., "success") |
| data.stats | object | Statistical information about the bulk stamping operations |
| data.stats.pending | integer | Number of stamp operations that are still pending |
| data.stats.available | integer | Number of stamp operations that are available/completed |
| data.stats.failed | integer | Number of stamp operations that have failed |
| data.link | string | Presigned S3 URL for downloading the usage report CSV file. This URL is time-limited and expires after a specific duration |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the API call was successful |
| message | string | Human-readable message describing the response |
| message_code | string | Machine-readable code for the response message |
{
"data": {
"client_id":"bulk_stamper_order_usAdTkl",
"bulk_stamp_client_id": "bulk_stamp_v2_vomMHvrKlzTPRtyL",
"status": "success",
"stats": {
"pending": 0,
"available": 2,
"failed": 0
},
"link": "https://surepass-esign.s3.amazonaws.com/nitindabas_surepass/bulk_order_usage_report/bulk_stamper_order_usage_report_UizlzAdTkllQnAsmqnco/bulk_order_usage_report_1763705994346546.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5KVPBYKKE%2F20251121%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251121T061958Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=74949a182b6d95f1b8a054f5050108cb831a2ba86d81f9788014ee1d4854c077"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 404,
"success": false,
"message": "Report not found",
"message_code": "report_not_found"
}curl --location --request GET 'https://kyc-api.surepass.app/api/v1/stamper-v2/bulk-usage-report/download?client_id=' \
--header 'Authorization: Bearer <token>'{
"data": {
"client_id": "bulk_stamper_order_usage_report_UizlzAdTkllQnAsmqnco",
"bulk_stamp_client_id": "bulk_stamp_v2_vomMHvHnecrKlzTPRtyL",
"status": "success",
"stats": {
"pending": 0,
"available": 2,
"failed": 0
},
"link": "https://surepass-esign.s3.amazonaws.com/bulk_order_usage_report/bulk_stamper_order_usage_report_UizlzAdTkllQnAsmqnco/bulk_order_usage_report_1763705994346546.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5KVPBYKKE%2F20251121%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251121T061958Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=74949a182b6d95f1b8a054f5050108cb831a2ba86d81f9788014ee1d4854c077"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}