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 YOUR_JWT_TOKEN) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Unique identifier for the revenue stamp order (e.g., revenue_stamp_QXkOOBr) |
| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding all order and history information |
| data.client_id | string | Unique identifier for the client's stamp order |
| data.quantity | integer | Total quantity of stamps ordered |
| data.courier_address | string | Delivery address for the stamp order |
| data.purpose | string | Business purpose or reason for the stamp order |
| data.status | string | Current status of the order (e.g., approved, pending, rejected) |
| data.total_stamps_issued | integer | Total number of stamps that have been issued from this order |
| data.available_stamps | integer | Number of stamps currently available for use |
| data.pending_stamps | integer | Number of stamps pending processing or delivery |
| data.order_history | array | Array of stamp issuance records with detailed timestamps |
| data.order_history[].stamp_id | string | Unique identifier for each issued stamp |
| data.order_history[].created_at | string | ISO 8601 timestamp of when the stamp was issued |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the request was successful |
| message | string | Human-readable message describing the response |
| message_code | string | Machine-readable code for the response status |
{
"data": {
"client_id": "revenue_stamp_QXkOOBrPbr",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "approved",
"total_stamps_issued": 11,
"available_stamps": 19,
"pending_stamps": 70,
"order_history": [
{
"stamp_id":"revenue_stamp_reciev",
"created_at": "2025-11-21T09:56:49.319000"
},
{
"stamp_id":"revenue_stamp_reciev",
"created_at": "2025-11-21T09:56:50.370000"
},
{
"stamp_id": "revenue_stamp_recieved_jzyQcvvsvzegYxFnDxfb",
"created_at": "2025-11-21T09:56:50.977000"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Unauthorized access. Invalid or expired token.",
"message_code": "unauthorized"
}curl --location --request GET 'https://kyc-api.surepass.app/api/v1/revenue-stamp/order-history?client_id=revenue_stamp_QXkOOBrPbr' \
--header 'Authorization: Bearer <token>'{
"data": {
"client_id": "revenue_stamp_QXkOOBrPbr",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "approved",
"total_stamps_issued": 11,
"available_stamps": 19,
"pending_stamps": 70,
"order_history": [
{
"stamp_id": "revenue_stamp_recieved_wa",
"created_at": "2025-11-21T09:56:49.319000"
},
{
"stamp_id": "revenue_stamp_recieved_glh",
"created_at": "2025-11-21T09:56:50.370000"
},
{
"stamp_id": "revenue_stamp_recieved_jz",
"created_at": "2025-11-21T09:56:50.977000"
},
{
"stamp_id": "revenue_stamp_recieved_Ka",
"created_at": "2025-11-21T09:56:59.126000"
},
{
"stamp_id": "revenue_stamp_recieved_Fn",
"created_at": "2025-11-21T09:57:13.122000"
},
{
"stamp_id": "revenue_stamp_recieved_pY",
"created_at": "2025-11-21T09:57:24.519000"
},
{
"stamp_id": "revenue_stamp_recieved_KvM",
"created_at": "2025-11-21T09:57:24.866000"
},
{
"stamp_id": "revenue_stamp_recieved_iJ",
"created_at": "2025-11-21T09:57:25.219000"
},
{
"stamp_id": "revenue_stamp_recieved_kx",
"created_at": "2025-11-21T09:57:25.605000"
},
{
"stamp_id": "revenue_stamp_recieved_fkh",
"created_at": "2025-11-21T09:57:25.937000"
},
{
"stamp_id": "revenue_stamp_recieved_hf",
"created_at": "2025-11-21T09:57:26.325000"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}