Cancel Fixed-Rate Borrow Order
Request cancellation of an eligible fixed-rate borrow order. The order must be in a cancellable state. The response does not include a final order status; query the order later to confirm its status.
HTTP Request
POST/v5/spot-margin-trade/fixedborrow-order-cancelRequest Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| orderId | true | string | Fixed-rate borrow order ID |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| result | object | Empty object. Check retCode to confirm the cancellation request was accepted |
Request Example
- HTTP
POST /v5/spot-margin-trade/fixedborrow-order-cancel HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1792117143000
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
{
"orderId": "FIXED_BORROW_example"
}
Response Example
{
"retCode": 0,
"retMsg": "OK",
"result": {},
"retExtInfo": {},
"time": 1792117143000
}