Skip to content
API reference /Account & trading

Cancel an order

Cancel the order returned by the single-order placement example.

Endpoint & access

POST
/api/v1/spot/cancel_order

Whitelist Required

Request whitelist approval for your API key. This endpoint is available only after approval.

Rate limit

  • 1 request / 1 second

JSON body

Content-Type: application/json

Field Data type Required Meaning
order_id string YES Order ID.

Returned fields

Field Data type Meaning
order_id string cancelled order ID

Example input

JSON request body:

{
  "order_id": "7402100000000061001"
}

Example result

{
  "code": 200,
  "data": {
    "order_id": "7402100000000061001"
  }
}