Off-Chain Settlement
Cancel Off-Chain Order
Withdraw a resting off-chain order and unlock the balance behind it
DELETE
Cancels an order placed through the off-chain surface. The
customerRef in the body must match the one the order was placed under: an order belongs to a customer reference, not to a wallet.
Only OPEN and PARTIALLY_FILLED orders can be cancelled. Anything else reads as ORDER_NOT_FOUND.
The order is removed from the in-memory book, so the depth disappears at once, and the unfilled remainder of the ledger lock is released. A release failure is logged rather than surfaced, and the cancel still succeeds.
Path Parameters
string
required
The order’s
orderId. Up to 100 characters.Body Parameters
string
required
Reference the order was placed under, 1 to 256 characters.
Response Fields
Returns the cancelled order, withstatus: "CANCELLED" and cancelReason: "USER_CANCELLED".
