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 |
|---|---|---|---|
| start_date | string | Yes | Start date for filtering orders in YYYY-MM-DD format (e.g., "2025-10-18") |
| end_date | string | Yes | End date for filtering orders in YYYY-MM-DD format (e.g., "2025-11-26") |
| page | integer | No | Page number for pagination. Default value is 1. Use for retrieving subsequent pages of results |
{
"start_date": "2025-10-18",
"end_date": "2025-11-26",
"page": 1
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding the response data |
| data.start_date | string | Echo of the requested start date filter |
| data.end_date | string | Echo of the requested end date filter |
| data.stamps | array | Array of stamp order objects matching the filter criteria |
| data.stamps[].client_id | string | Unique identifier for the stamp order (e.g., "revenue_stamp_FpPkPrhwg") |
| data.stamps[].created_at | string | ISO 8601 timestamp of when the order was created |
| data.stamps[].quantity | integer | Total quantity of stamps ordered |
| data.stamps[].courier_address | string | Delivery address for the stamp order |
| data.stamps[].purpose | string | Business purpose or reason for ordering stamps |
| data.stamps[].status | string | Current order status. Values: "pending", "approved" |
| data.stamps[].total_stamps_issued | integer | Total number of stamps that have been issued from this order |
| data.stamps[].available_stamps | integer | Number of stamps currently available for use |
| data.stamps[].pending_stamps | integer | Number of stamps still pending fulfillment |
| data.pagination | object | Pagination metadata for the result set |
| data.pagination.page | integer | Current page number being returned |
| data.pagination.records | integer | Total number of records on the current page |
| data.pagination.has_next | boolean | Indicates whether additional pages are available (true/false) |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the request was successful |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for the response status |
{
"data": {
"start_date": "2025-10-18",
"end_date": "2025-11-26",
"stamps": [
{
"client_id": "revenue_stamp_FpPkPrhwg",
"created_at": "2025-11-21T10:19:59.804000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_QXkOOBrPbruhZmotmUnC",
"created_at": "2025-11-21T09:56:28.453000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "approved",
"total_stamps_issued": 11,
"available_stamps": 19,
"pending_stamps": 70
}
],
"pagination": {
"page": 1,
"records": 16,
"has_next": false
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Invalid or expired token",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/revenue-stamp/list-orders' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"start_date": "2025-10-18",
"end_date": "2025-11-26",
"page": 1
}'{
"data": {
"start_date": "2025-10-18",
"end_date": "2025-11-26",
"stamps": [
{
"client_id": "revenue_stamp_FpPkPrh",
"created_at": "2025-11-21T10:19:59.804000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_tyaxB",
"created_at": "2025-11-21T10:19:59.485000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_yPgm",
"created_at": "2025-11-21T10:19:59.179000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_xMtWWQlDwqcuKuptLkdr",
"created_at": "2025-11-21T10:19:58.845000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_RgMl",
"created_at": "2025-11-21T10:19:58.531000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_gOdZe",
"created_at": "2025-11-21T10:19:58.207000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_pwoa",
"created_at": "2025-11-21T10:19:57.881000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_WYtom",
"created_at": "2025-11-21T10:19:57.544000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_eujS",
"created_at": "2025-11-21T10:19:57.212000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_iJYfSsR",
"created_at": "2025-11-21T10:19:56.908000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_PUiS",
"created_at": "2025-11-21T10:19:56.585000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_ZRSdk",
"created_at": "2025-11-21T10:19:56.255000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_QMvY",
"created_at": "2025-11-21T10:19:55.917000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_huuq",
"created_at": "2025-11-21T10:19:55.565000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_VTRyx",
"created_at": "2025-11-21T10:19:32.226000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "pending",
"total_stamps_issued": 0,
"available_stamps": 0,
"pending_stamps": 100
},
{
"client_id": "revenue_stamp_QXkOO",
"created_at": "2025-11-21T09:56:28.453000",
"quantity": 100,
"courier_address": "abc",
"purpose": "Stamp Testing",
"status": "approved",
"total_stamps_issued": 11,
"available_stamps": 19,
"pending_stamps": 70
}
],
"pagination": {
"page": 1,
"records": 16,
"has_next": false
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}