Skip to main content

Get Available Amount to Repay

HTTP Request

GET /v5/spot-margin-trade/repayment-available-amount

Request Parameters

ParameterRequiredTypeComments
currencytruestringCoin name, uppercase only

Response Parameters

ParameterTypeComments
currencystringCoin name, uppercase only
lossLessRepaymentAmountstringRepayment amount = min(spot coin available balance, coin borrow amount)

Request Example

GET /v5/spot-margin-trade/repayment-available-amount?currency=BTC HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1692696840996
X-BAPI-RECV-WINDOW: 5000

Response Example

{
"retCode": 0,
"retMsg": "Success",
"result": {
"lossLessRepaymentAmount": "0.02000000",
"currency": "BTC"
},
"retExtInfo": {},
"time": 1756273388821
}