Download OpenAPI specification:
Public delivery API, served by the edge gateway. Authentication is a merchant bearer token; the shop/branch scope is derived from the token server-side (clients never send scope). Money is integer minor units. Error codes are a stable, append-only ABI — never renamed or reused.
Idempotent when an Idempotency-Key is supplied (a retry returns the original order).
| Idempotency-Key | string <= 200 characters Per-operation key. Strongly recommended on POST; enables safe retries (dedupe). |
| Trace-Id | string Caller trace id, propagated and echoed on the response. |
| currency required | string (Currency) Enum: "MMK" "THB" "USD" "CNY" "SGD" "INR" |
| amount_minor required | integer >= 1 Amount in integer minor units (e.g. 1500 = 15.00). Never a decimal. |
{- "currency": "MMK",
- "amount_minor": 1
}{- "ok": true,
- "idempotent": true,
- "order": {
- "id": "ord_1c8494e9feeea2c7",
- "status": "pending",
- "shop_id": 0,
- "branch_id": 0,
- "currency": "MMK",
- "amount_minor": 0,
- "created_at_utc": "2019-08-24T14:15:22Z",
- "created_at_local": "string",
- "idempotency_key": "string"
}
}| id required | string^[A-Za-z0-9_]+$ |
| Trace-Id | string Caller trace id, propagated and echoed on the response. |
{- "ok": true,
- "idempotent": true,
- "order": {
- "id": "ord_1c8494e9feeea2c7",
- "status": "pending",
- "shop_id": 0,
- "branch_id": 0,
- "currency": "MMK",
- "amount_minor": 0,
- "created_at_utc": "2019-08-24T14:15:22Z",
- "created_at_local": "string",
- "idempotency_key": "string"
}
}