Skip to main content
Cancelling stops what is still working on an order. It cannot undo what a bookmaker already accepted.

Cancelling one order

The answer is the order after cancellation, with two more fields that tell you what happened.

The remainder

remainder is about the unfilled stake that an order with expiresAt keeps working:

Each bet

Each bet carries a cancellation: filledStake after cancellation is what you keep at risk.

Cancelling again

Cancelling is safe to repeat. Cancelling an order that is already final returns the same outcomes again, and changes nothing. 409 ORDER_BUSY means the order is being worked on at that moment, for example by its expiry remainder. Retry after a short delay.

Cancelling many orders

POST /v1/orders/cancel-all cancels orders in one of three scopes: The answer has four lists:
cursor cannot be combined with orderIds. Cancellations count against the order budget of your key; see Limits.