Surepass
Stamps

Get order status

GET
/api/v1/stamps/order-status

Get the latest state of a procurement order. Once the background workflow completes, stamps contains the vendor stamp instances and status_counts is populated.

  • stamps[].stamp_id is the public stamp instance ID. Use it with GET /api/v1/stamps/download-pdf and for explicit stamp reservation in Esign initialization.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Paste your access token below.

Query Parameters

client_id*string

Stamp procurement order client ID (stamp_...).

Response Body

Latest stored order state.

application/json
  1. response

Standard response envelope.

status_code?integer

HTTP status code echoed in the response body.

message?string

Human-readable result message.

success?boolean

true when the request succeeded.

data?

A stamp procurement order and its materialized instances.

Example Request
curl -X GET 'https://prod-esign-api-v2.surepass.app/api/v1/stamps/order-status?client_id=string'
Example Response
{
  "data": {
    "user_id": "user_RQJksjuRzdhRjejyOlhEI",
    "client_id": "stamp_pkHLyIzspuMWBMXizUSc",
    "created_at": "2026-04-18T16:35:21.123000",
    "state_code": "AN",
    "first_party_name": "Alice Test",
    "second_party_name": "Bob Test",
    "article_id": "2337",
    "stamp_duty_amount": "10",
    "consideration_amount": 1000,
    "description": null,
    "first_party_address": null,
    "quantity": 1,
    "mock": false,
    "status_counts": {
      "pending": 0,
      "available": 1,
      "reserved": 0,
      "used": 0,
      "rejected": 0
    },
    "stamps": [
      {
        "stamp_id": "stamp_inst_uNeOUwjMVGNFexnxFSCP",
        "status": "available"
      }
    ]
  },
  "status_code": 200,
  "message": "Success",
  "success": true
}