post
https://api.liquiditytech.com/api/v1/trading/rapidxLoan/loan/repay
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Description
Repay the loan in the portfolio's account on the exchange.
Permission: Trade API key required.
Rate Limit: 50 requests per 10 seconds.
Request
| Field | Type | Mandatory | Description |
|---|---|---|---|
exchange | String | Y | Exchange account of the portfolio holding the loan. |
coin | String | Y | Repayment currency. |
amount | String | Y | Repayment amount. Must be > 0, with 2 decimal places. |
clientOrderId | String | N | Client idempotency ID. Maximum 64 characters. |
Response
| Field | Type | Description |
|---|---|---|
orderId | String | Repayment order ID. |
repaid | BigDecimal | Actual repayment amount for this transaction. |
interestPaid | BigDecimal | Interest deducted for this repayment. Always 0 as interest is settled separately. |
loanBalance | BigDecimal | Remaining loan balance after repayment. |
availableBalance | BigDecimal | Available balance of this currency after repayment. |
timestamp | Int64 | Transaction timestamp in milliseconds. |
Example Request
{
"exchange": "BINANCE",
"coin": "USDT",
"amount": "50000.00",
"clientOrderId": "user-repay-20260601-007"
}
Example Response
{
"code": 200000,
"message": "Success",
"data": {
"orderId": "185650128252567617",
"repaid": 50.0,
"interestPaid": 0,
"loanBalance": 50.0,
"availableBalance": 10047.99,
"timestamp": 1779952040556
}
}
