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.appAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...| 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 client whose bulk stamp order summary is being requested. This ID is provided when a bulk stamp order is created. |
{
"client_id":"bulk_stamp_v2_vomMHvHneclzTL"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding the stamp order summary information |
| data.client_id | string | The client identifier for which the summary was retrieved |
| data.quantity | integer | Total number of stamps in the bulk order |
| data.summary | object | Categorized summary of stamps by their current status |
| data.summary.pending | object | Information about stamps that are still being processed |
| data.summary.pending.count | integer | Number of stamps in pending status |
| data.summary.pending.stamps | array | Array of stamp IDs that are currently pending |
| data.summary.available | object | Information about stamps that are ready for use |
| data.summary.available.count | integer | Number of stamps available for use |
| data.summary.available.stamps | array | Array of stamp IDs that are available |
| data.summary.failed | object | Information about stamps that failed during generation |
| data.summary.failed.count | integer | Number of stamps that failed |
| data.summary.failed.stamps | array | Array of stamp IDs that failed |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the request was successful (true/false) |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for the message |
{
"data": {
"client_id":"bulk_stamp_v2_vomMHvKlzTPL",
"quantity": 2,
"summary": {
"pending": {
"count": 0,
"stamps": []
},
"available": {
"count": 2,
"stamps": [
"stamp_v2_ltIyIpbNoVxnc",
"stamp_v2_mIaLighXQDcmgD"
]
},
"failed": {
"count": 0,
"stamps": []
}
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Unauthorized. Invalid or missing authentication token.",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/stamper-v2/bulk-stamp-order-summary' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "bulk_stamp_v2_vomMHvHnrKlzTPRtyL"
}'{
"data": {
"client_id": "bulk_stamp_v2_vomMHvHnecrlzTPRtyL",
"quantity": 2,
"summary": {
"pending": {
"count": 0,
"stamps": []
},
"available": {
"count": 2,
"stamps": [
"stamp_v2_ltIyIpbNoVxnclqhEVey",
"stamp_v2_mIaLighXQDcmgcijVceD"
]
},
"failed": {
"count": 0,
"stamps": []
}
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}