跳到主要内容

活期借币抵押物还款 (TRADE)

HTTP请求

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

请求权重(UID)

6000

请求参数

名称类型是否必须描述
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

响应示例

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