Get an order
Changed onFetch one order by id. Orders are tenant-isolated: another tenant's id (or an unknown/malformed id) returns 404 — never leaking its existence.
Reading an awaiting_payment order also looks for its payment on chain, so a payment that has landed shows as paid without waiting for the background scan. If that look fails, you get the stored order rather than an error. See OrderStatus for what each status means and which ones are final.
Request
- Base URLhttps://api.mystars.tg
- AuthAPI key in header X-Api-Key
Path parameters
The order id (UUID, also used as the on-chain payment memo).
Response
The order.
Example response
{
"payment": {
"chain": "ton",
"amount": "5.757",
"amount_smallest_unit": "5757000000",
"fee": {
"subtotal": "13.18",
"processing_fee": "0.92",
"total": "14.1",
"description": "1% swap + 0.5 GRAM gas",
"kind": "swap"
}
}
}Changes
- warning
added the new
antibot_enforce_unavailableenum value to theerror/coderesponse property for the response status - warning
added the new
antibot_enforce_unavailableenum value to theerror/coderesponse property for the response status - warning
added the new
antibot_enforce_unavailableenum value to theerror/coderesponse property for the response status
124 more changes in this revision
- warning