Cancel Order
DELETE/api/v1/crypto/accounts/{acc_id}/orders/{orderId}Cancel a specified outstanding order.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
acc_id | uint64 | Yes | Account ID |
orderId | string | Yes | ID of the order to cancel |
Request Parameters
| Parameter | Type | Location | Required | Description |
|---|---|---|---|---|
req_id | string | Query | Yes | Idempotency ID, 16–64 characters. The gateway prepends gw_ and forwards it downstream for deduplication. |
Request Example
bash
curl -X DELETE "https://webapi.futunn.com/api/v1/crypto/accounts/123456/orders/FTHC2989880641155745280T?req_id=1750000000002_a1b2c3d4e5f6g7h8" \
-H "X-Api-Key: <AppKey>" \
-H "X-Timestamp: <timestamp_ms>" \
-H "X-Nonce: <nonce>" \
-H "Authorization: <signature_base64>"Response Example
json
{
"code": 0,
"msg": "success",
"data": {}
}Error Response:
json
{
"code": 1,
"msg": "Error message."
}