Skip to content

Cancel Order

DELETE /api/v1/crypto/accounts/{acc_id}/orders/{orderId}

Cancel a specified outstanding order.

Path Parameters

ParameterTypeRequiredDescription
acc_iduint64YesAccount ID
orderIdstringYesID of the order to cancel

Request Parameters

ParameterTypeLocationRequiredDescription
req_idstringQueryYesIdempotency 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."
}