Orders

Cancel an order

Cancels a single open order. Returns the final state of the canceled order.

Requires authentication.

Error Responses

StatusMessageCause
400invalid order_id formatThe oid path parameter is not a valid UUID
400order {oid} not found or already doneOrder does not exist or 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/{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

oid*string

Order ID to cancel (UUID format).

Response Body

application/json