Orders
Cancel order by client ID
Cancels an order using the client-provided identifier. Returns the final state of the canceled order.
Requires authentication.
Error Responses
| Status | Message | Cause |
|---|---|---|
| 400 | client_order_id is required | The cl_oid path parameter is empty |
| 400 | order not found or already done | No order with the given client order ID, or it 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
cl_oid*string
Client-assigned order identifier.
Response Body
application/json