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 authentication. Format: Bearer {JWT_TOKEN} |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | String | Yes | The unique identifier for the bulk stamper client for which the usage report should be generated. This ID is provided when the bulk stamper client is created. |
{
"client_id": "bulk_stamp_v2_vomMHvHnecrKlzTPRtyL"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the report initiation details |
| data.client_id | String | Unique identifier for the usage report request. Use this ID to check the status and retrieve the completed report. |
| data.bulk_stamp_client_id | String | The bulk stamper client ID for which the report was requested. |
| data.status | String | Current status of the report generation. Possible values: pending, processing, completed, failed |
| status_code | Integer | HTTP status code of the response (200 for success) |
| success | Boolean | Indicates whether the request was successful |
| message | String | Human-readable message describing the result |
| message_code | String | Machine-readable code for the message |
{
"data": {
"client_id": "bulk_stamper_order_usage_report_UizlzAdTkllQnAsmqnco",
"bulk_stamp_client_id": "bulk_stamp_v2_vomMHvHnecrKlzTPRtyL",
"status": "pending"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"success": false,
"status_code": 401,
"message": "Unauthorized - Invalid or expired token",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/stamper-v2/bulk-usage-report/initiate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "bulk_stamp_v2_vomMHvHnecrKlzTPRtyL"
}'{
"data": {
"client_id": "bulk_stamper_order_usage_report_UizlzAdTkllQnAsmqnco",
"bulk_stamp_client_id": "bulk_stamp_v2_vomMHvHnecrKlzTPRtyL",
"status": "pending"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}