Flexible Loan Repay(TRADE)
#
API DescriptionFlexible Loan Repay
#
HTTP RequestPOST /sapi/v1/loan/flexible/repay
#
Request Weight6000
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
loanCoin | STRING | YES | |
collateralCoin | DECIMAL | YES | |
repayAmount | DECIMAL | YES | |
collateralReturn | BOOLEAN | NO | Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV. |
fullRepayment | BOOLEAN | NO | Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- repayAmount is mandatory even fullRepayment = FALSE