Skip to content

Cancel Order

Cancel specified order

Http Request

POST
/api/v1/spot/cancel_order

Request Frequency Restriction:

  • 1times / 1second

Postman

pay attention to replace "restful_base_endpoint"、"your_api_key"、"your_signature_result"

curl --location 'restful_base_endpoint/api/v1/spot/cancel_order' \
--header 'ACCESS-KEY: your_api_key' \
--header 'ACCESS-SIGN: your_signature_result' \
--header 'ACCESS-TIMESTAMP: 1706758359.816' \
--header 'Content-Type: application/json' \
--data '{
    "order_id":"2526016927847985152"
}'

Request Parameters

Name Type Mandatory Description
order_id string YES order id.

Response fields description

Name Type Description
order_id string cancelled order ID

Response

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