StampMitraDevelopers
Livee-Stamp API

e-Stamp Order Creation

Create an e-Stamp order using the generic orders API with an e-Stamp serviceCode.

Pricing, how it works and related APIs: e-Stamp Order Creation product page. Integrate with AI: copy the ready-made prompt. Markdown version: estamp-orders.md.

Where this API fits. Step 6 of 8 in the e-Stamp order flow. Calls need the orders.create, orders.read scope on your API key. In sandbox the response is sample data, so you can build the whole flow before production access is approved. The order in which the calls must be made is in the e-Stamp order flow guide.

Create an order (generic - works for any entitled serviceCode, including e-Stamp)

Endpoint

POST /v1/orders

POST/v1/ordersScope orders.create₹5 per successful callLive

Generic order-creation endpoint. For e-Stamp, pass an e-Stamp serviceCode (from GET /v1/services) and put instrument/party/value details in the free-form details object. There is no e-Stamp-specific request/response contract yet (no first-class state, article, parties[] fields) - the shape of details for e-Stamp is not finalized upstream.

Request

Request parameters

Request parameters
FieldTypeDescription
AuthorizationrequiredheaderBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.
Idempotency-KeyheaderOptional idempotency key (1 to 255 characters), kept for 24 hours. The same key and the same request replays the stored response; the same key with a different request is 422 IDEMPOTENCY_KEY_REUSED; the same key while the first request is still running is 409 IDEMPOTENCY_IN_PROGRESS (see Retry-After).
externalOrderIdrequiredstringYour own reference for this order.
externalCustomerIdrequiredstringYour own reference for the customer.
serviceCoderequiredstringThe entitled service to order (e.g. an estamp.* code).
detailsobjectFree-form service-specific payload (e-Stamp field shape is not finalized).
Example

Make the call

curl -X POST "https://api-b2b.stampmitra.in/v1/orders" \
  -H "Authorization: Bearer sk_test_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"externalOrderId":"ord_ext_123","externalCustomerId":"cust_ext_456","serviceCode":"estamp.instrument.rent_agreement","details":{"state":"MH","stampValue":500,"note":"Shape not finalized - illustrative only"}}'
Playground

Try it

Response

Response example

ResponseJSON
{
  "externalOrderId": "ord_ext_123",
  "createdAt": "2026-10-15T09:41:07.000Z",
  "serviceCode": "estamp.instrument.rent_agreement"
}
Response fields
FieldType
externalOrderIdstring
createdAtstring
serviceCodestring

Get an order

Endpoint

GET /v1/orders/:id

GET/v1/orders/:idScope orders.read₹5 per successful callLive

Fetch an order by the externalOrderId you supplied when you created it.

Request

Request parameters

Request parameters
FieldTypeDescription
AuthorizationrequiredheaderBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.
Example

Make the call

curl -X GET "https://api-b2b.stampmitra.in/v1/orders/:id" \
  -H "Authorization: Bearer sk_test_xxxxxxxxxxxx"
Playground

Try it

Path parameters

Get order status

Endpoint

GET /v1/orders/:id/status

GET/v1/orders/:id/statusScope orders.read₹5 per successful callLive

Poll the current lifecycle status of an order.

Request

Request parameters

Request parameters
FieldTypeDescription
AuthorizationrequiredheaderBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.
Example

Make the call

curl -X GET "https://api-b2b.stampmitra.in/v1/orders/:id/status" \
  -H "Authorization: Bearer sk_test_xxxxxxxxxxxx"
Playground

Try it

Path parameters