Cancel Order
Description
Cancel a pending order
HTTP Request
- POST /fapi/v1/trade/cancel
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| futuresName | String | Yes | futures name, e.g. "E-BTC-USDT" |
| orderId | String | Yes | Order ID |
| clientOrderId | String | No | Customize order ID |
Request Example
http
curl -X POST 'https://futuresopenapi.100ex.com/fapi/v1/trade/cancel' \
-H "X-CH-TS:1736156253259" \
-H "X-CH-SIGN:*" \
-H "X-CH-APIKEY:********" \
-H "Content-Type: application/json" \
-d '{"futuresName":"E-BTC-USDT","orderId":"123456789123456"}'Response Parameters
| Parameter | Type | Description |
|---|---|---|
| orderId | String | Order ID |
Response Example
json
{
"code": "0",
"msg": "suc",
"data": {
"orderId": "123456789123456"
}
}