Skip to main content

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-cancel

Request Parameters​

ParameterRequiredTypeComments
orderIdtruestringFixed-rate borrow order ID

Response Parameters​

ParameterTypeComments
resultobjectEmpty object. Check retCode to confirm the cancellation request was accepted

Request Example​

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
}