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

StatusMessageCause
400client_order_id is requiredThe cl_oid path parameter is empty
400order not found or already doneNo order with the given client order ID, or it has already reached terminal status
400market {mkt} is being delistedThe order's market is in delisting mode; cancels are blocked
400market {mkt} has been delistedThe order's market is in delisted mode; cancels are blocked
DELETE
/orders/by-client-id/{cl_oid}

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