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 |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Unique client identifier returned when the revenue stamp order was initially placed. Format: revenue_stamp_ followed by alphanumeric characters |
GET /api/v1/revenue-stamp/get-stamp?client_id=revenue_stamp_DcexQsOulJIcTssAKFTk| Parameter | Type | Description |
|---|---|---|
| data | object | Contains the complete order status and inventory information |
| data.client_id | string | Unique client identifier for the revenue stamp order |
| data.reference_id | string | Government or system-generated reference ID for the order processing and fulfillment tracking |
| data.quantity | integer | Total number of revenue stamps originally ordered |
| data.courier_address | string | Delivery address specified for the order |
| data.purpose | string | Stated purpose or use case for the revenue stamps |
| data.status | string | Current order status. Possible values: pending, processing, approved, dispatched, delivered, cancelled, rejected |
| data.total_stamps_issued | integer | Total number of stamps that have been issued and processed from this order |
| data.available_stamps | integer | Number of stamps currently available for use from this order |
| data.pending_stamps | integer | Number of stamps still pending processing or fulfillment |
| status_code | integer | HTTP status code indicating the result of the request |
| success | boolean | Indicates whether the request was successful (true) or failed (false) |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for programmatic handling |
{
"data": {
"client_id": "revenue_stamp_ZDrtFNlinzspCelwscnZ",
"reference_id": "revenue_stamp_recieved_lzhJZHxWdUxlWekvqqUe",
"quantity": 3,
"courier_address": "New Delhi",
"purpose": "Stamp Testing",
"status": "approved",
"total_stamps_issued": 1,
"available_stamps": 0,
"pending_stamps": 2
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 401,
"success": false,
"message": "Invalid or expired authentication token",
"message_code": "unauthorized"
}curl --location --request GET 'https://kyc-api.surepass.app/api/v1/revenue-stamp/get-stamp?client_id=revenue_stamp_DcexQsOulJIcTssAKFTk' \
--header 'Authorization: Bearer <token>'{
"data": {
"client_id": "revenue_stamp_ZDrtFNlinzspCelwscnZ",
"reference_id": "revenue_stamp_recieved_lzhJZHxWdUxlWekvqqUe",
"quantity": 3,
"courier_address": "New Delhi",
"purpose": "Stamp Testing",
"status": "approved",
"total_stamps_issued": 1,
"available_stamps": 0,
"pending_stamps": 2
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}