Cancel order
Cancel an order. (Private π)
Endpoint
POST /sapi/v1/orders/cancel/Request Headers
{
"Authorization": "JWT ***"
}Request Body
Field
Type
Mandatory
Example
{
"order_id": 3
}Response
{
"status": "success",
"message": "Order is successfully queued for cancellation",
"payload": {
"id": 25768879,
"uuid": "17be02d1-34ef-49df-9b92-264705047d99",
"side": "buy",
"ord_type": "limit",
"price": "68733.81",
"stop_price": null,
"avg_price": "68733.81",
"state": "wait",
"market": "btcusdc",
"created_at": "2024-05-31T09:02:00+02:00",
"updated_at": "2024-05-31T09:02:03+02:00",
"origin_volume": "0.0425",
"remaining_volume": "0.0335",
"executed_volume": "0.009000000000000001",
"maker_fee": "0.0004",
"taker_fee": "0.0004",
"trades_count": 2,
"cancel_reason": null
}
}
Possible Cancel Reasons:
Last updated