Cancel a specific open spot order by order ID via the WhiteBIT V4 API.
The public WhiteBIT API key.
Base64-encoded JSON request body.
HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).
"{{request}}"
"{{nonce}}"
Order Id. Example: 4180284841. Required if client_order_id is not set.
123456
Custom client order id. Example: 'customId11'. Required if order_id is not set.
"customId11"
Order cancelled successfully
Unique identifier assigned to the order by the matching engine.
4180284841
Custom client order identifier supplied in the request. Returns an empty string when not specified.
"order1987111"
Trading pair for the order. Format: BASE_QUOTE (e.g., BTC_USDT).
"BTC_USDT"
Order side. Possible values: buy, sell.
"buy"
Order type. Possible values: limit, market, stock market, stop limit, stop market.
"limit"
Unix timestamp in seconds (UTC) of order creation, with microsecond precision.
1595792396.165973
Filled amount in quote currency. Returns "0" while the order remains unfilled.
"0"
Filled amount in base currency. Returns "0" while the order remains unfilled.
"0"
Order quantity in base currency for limit and stop-limit orders, or in quote currency for buy market orders.
"0.01"
Remaining unfilled quantity. Equals amount for new orders and "0" for fully filled orders.
"0.001"
Cumulative trading fee charged for filled portions, denominated in the fee asset.
"0"
Limit price per unit in quote currency. Returns "0" for market orders.
"40000"
Post-only flag. When true, the order executes only as a maker order and is rejected if it would match immediately. Default: false.
false
Immediate-or-cancel flag. When true, the order executes available quantity immediately and cancels the unfilled remainder. Default: false.
false
Current order lifecycle status. Possible values: NEW, FILLED, CANCELED, PARTIAL_FILLED, PARTIAL_CANCELED.
"FILLED"
Self-trade prevention mode. Possible values: no, cancel_both, cancel_new, cancel_old. Default: no.
"no"
Position side (for collateral orders)
"LONG"
Indicates Retail Price Improvement (RPI) mode for the order.
true
Activation status of the stop order. 0 = not yet triggered (waiting for the activation_price condition to be met). 1 = triggered (the stop condition has been met and the order is now active).
0
Condition that triggers the stop order. "lte" = activate when the market price falls to or below activation_price. "gte" = activate when the market price rises to or above activation_price.
lte, gte "lte"
The trigger price for the stop order. Always equals the activation_price value submitted in the request.
"40000"