v3
latestOpenAPI 3.0.3UNLICENSED2026-07-2796235396.3 KBorders-orders
Cancel a BUY order
Cancel an ongoing BUY order owned by the caller. Allowed only while the order is awaiting the buyer's fiat — PENDING_INIT, ASSET_LOCKED, or PAYMENT_INIT. For PAYMENT_INIT the pay-in is re-scanned first; if the fiat has already landed the cancel is refused and the order proceeds to completion. Cancellation releases the merchant's locked asset and cancels the pay-in. SELL orders are not cancellable through this endpoint.
post/orders/clients/orders/{orderRef}/cancel
Path parameters
orderRefstring required
the order reference
Response
Order cancelled successfully
Example response
{
"id": "3a5aaea8-504a-4404-ad3d-b82574fba5e5",
"merchantId": "3a5aaea8-504a-4404-ad3d-b82574fba5e5",
"merchantAccountId": "3a5aaea8-504a-4404-ad3d-b82574fba5e5",
"clientId": "3a5aaea8-504a-4404-ad3d-b82574fba5e5"
}