HTTP Request
DELETE
/v1/withdraw/order/{id}Auth: Signed API key required
Permissions: Withdrawal
Signed Location: Query string
Cancel a pending withdraw order. Only orders still in a pending state can be cancelled. {id} is the withdraw order id.
Headers
| Parameter Name | Required | Type | Notes |
|---|---|---|---|
| X-MBX-APIKEY | true | string | Provisioned ACCESS_ID. x-access-id is also accepted by the backend, but X-MBX-APIKEY is recommended. |
Request Parameters
| Parameter Name | Required | Type | Notes |
|---|---|---|---|
| timestamp | true | int64 | Request timestamp in milliseconds. Microseconds are also accepted and normalized by the server. |
| recvWindow | false | integer | Optional receive window. Default 5000, maximum 60000. |
| signature | true | string | HMAC-SHA256 signature of the signed payload. RSA and Ed25519 are also supported when provisioned. |
Notes
- Only pending withdraw orders can be cancelled; a finished or already-cancelled order returns a business error.
Request Example
curl -X DELETE 'https://<host>/v1/withdraw/order/123?timestamp=<TIMESTAMP>&recvWindow=5000&signature=<SIGNATURE>' \
-H 'X-MBX-APIKEY: <ACCESS_ID>'