Skip to main content

Repay

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

HTTP Request​

POST/v5/crypto-loan-fixed/fully-repay

Request Parameters​

ParameterRequiredTypeComments
loanIdfalsestringLoan contract ID. Either loanId or loanCurrency needs to be passed
loanCurrencyfalsestringLoan coin. Either loanId or loanCurrency needs to be passed

Response Parameters​

ParameterTypeComments
repayIdstringRepayment transaction ID

Request Example​

POST /v5/crypto-loan-fixed/fully-repay HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1752656296791
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
Content-Length: 50

{
"loanId": "570",
"loanCurrency": "ETH"
}

Response Example​

{
"retCode": 0,
"retMsg": "ok",
"result": {
"repayId": "1771"
},
"retExtInfo": {},
"time": 1752569614549
}