Skip to main content

Flexible Loan Collateral Repayment (TRADE)

HTTP Request

POST /sapi/v2/loan/flexible/repay/collateral

** Request Weight(UID) ** 6000

Parameters:

NameTypeMandatoryDescription
loanCoinSTRINGYES
collateralCoinSTRINGYES
repayAmountDECIMALYES
fullRepaymentBOOLEANNODefault: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
recvWindowLONGNO
timestampLONGYES
  • repayAmount refers to the loan amount the user would like to repay

Response Example

{
"loanCoin":"BUSD",
"collateralCoin":"BNB",
"remainingDebt":"100.5",
"remainingCollateral":"5.253",
"fullRepayment":false,
"currentLTV":"0.25",
"repayStatus":"Repaid"// Repaid, Repaying, Failed
}