private/cancel-order
POSTCancels an existing order on the Exchange./private/cancel-order
This call is asynchronous, so the response is simply a confirmation of the request.
The user.order subscription can be used to check when the order is successfully canceled.
Request
Body
required
Request id (echoed in response)
Must be "private/cancel-order"
Your API key (only required for private REST)
HMAC-SHA256 signature in hex (only required for private REST)
Current timestamp in milliseconds, e.g. "1771761038000".
params objectrequired
Optional Order ID. Either order_id or client_oid must be present. string format is highly recommended.
Optional Client Order ID. Either order_id or client_oid must be present.
Schema
Echoed request id
Method invoked
0 = success; non-zero indicates error (reason code).
result object
Order ID
Client Order ID
Response message. Contains additional reason when code !== 0.
Present when code !== 0.