活期借币抵押物还款 (TRADE)
HTTP请求
POST /sapi/v2/loan/flexible/repay/collateral
请求权重(UID)
6000
请求参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
loanCoin | STRING | YES | |
collateralCoin | STRING | YES | |
repayAmount | DECIMAL | YES | |
fullRepayment | BOOLEAN | NO | Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- 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
}