Skip to main content

Collateral Repayment

Permission: "Spot trade"
UID rate limit: 1 req / second

info
  • Pay interest first, then repay the principal.
  • There are limits on the repayment amount in a single transaction. Please read this announcement before repaying with collateral
  • When repaying with collateral, Bybit will charge a repayment fee. The applicable fee rate is the higher of the repayment fee rates for the collateral asset and the debt asset. You can call this endpoint: View fee rates by asset to get "reapyFee" where "pledgeEnable" = 1 for coins' repayment fee rates

HTTP Request

POST /v5/crypto-loan-flexible/repay-collateral

Request Parameters

ParameterRequiredTypeComments
loanCurrencytruestringLoan coin name
collateralCointruestringCollateral currencies: Use commas to separate multiple collateral currencies
amounttruestringRepay amount

Response Parameters

None

Request Example

POST /v5/crypto-loan-flexible/repay-collateral HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1752569628364
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
Content-Length: 52

{
"loanCurrency": "USDT",
"amount": "500",
"collateralCoin":"BTC"
}

Response Example

{
"retCode": 0,
"retMsg": "ok",
"result": {},
"retExtInfo": {},
"time": 1756971550401
}