Cancel Order
API Reference
Cancel Order
Cancel one of your payment orders that has not yet reached a final state.
POST
Cancel Order
Cancels an order you own. Orders that are already final (
cancelled,
expired, settled, refunded) are returned unchanged with a message noting
they are final.
Cancelling only affects Rails’ order record. For a non-custodial EVM/Starknet
order, if you have already submitted
createOrder on-chain, settlement follows
the on-chain state — cancel before you submit.Header Parameters
Unique API key issued manually through Telegram.
Path Parameters
The order id (
orderRef) returned at creation.Response
Response state (
success).