Cancell order
Type: DELETE Description: /v4/order/{orderId}
Parameters
| name | type | mandatory | default | description | ranges |
|---|---|---|---|---|---|
| orderId | number | true |
Limit Flow Rules
N/A
Parameters Example
curl --location --request DELETE 'https://sapi.xt.com/v4/order/xxxxxxxxxxx' \ // xxxxxxxxxxx:orderId
--header 'accept: */*' \
--header 'Content-Type: application/json' \
--header 'validate-algorithms: HmacSHA256' \
--header 'validate-recvwindow: 60000' \
--header 'validate-appkey: xxxxxxxxxx' \
--header 'validate-timestamp: xxxxxxxxxx' \
--header 'validate-signature: xxxxxxxxxx'
Response Example
Response
{
"rc": 0,
"mc": "string",
"ma": [{}],
"result": {
"cancelId": "6216559590087220004"
}
}