Orders
Cancel an order
Cancels a single open order. Returns the final state of the canceled order.
Requires authentication.
Error Responses
| Status | Message | Cause |
|---|---|---|
| 400 | invalid order_id format | The oid path parameter is not a valid UUID |
| 400 | order {oid} not found or already done | Order does not exist or has already reached terminal status |
| 400 | market {mkt} is being delisted | The order's market is in delisting mode; cancels are blocked |
| 400 | market {mkt} has been delisted | The order's market is in delisted mode; cancels are blocked |
Authorization
ApiKeyAuth ApiSignatureAuth ApiTimestampAuth x-api-key<token>
API key for authentication
In: header
x-api-signature<token>
HMAC-SHA256 signature: base64(HMAC(timestamp + method + path + body, secret))
In: header
x-api-timestamp<token>
Unix timestamp in seconds
In: header
Path Parameters
oid*string
Order ID to cancel (UUID format).
Response Body
application/json