Loan Repayment

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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

FieldTypeMandatoryDescription
exchangeStringYExchange account of the portfolio holding the loan.
coinStringYRepayment currency.
amountStringYRepayment amount. Must be > 0, with 2 decimal places.
clientOrderIdStringNClient idempotency ID. Maximum 64 characters.

Response

FieldTypeDescription
orderIdStringRepayment order ID.
repaidBigDecimalActual repayment amount for this transaction.
interestPaidBigDecimalInterest deducted for this repayment. Always 0 as interest is settled separately.
loanBalanceBigDecimalRemaining loan balance after repayment.
availableBalanceBigDecimalAvailable balance of this currency after repayment.
timestampInt64Transaction 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
  }
}
Query Params
string
string
string
string
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Choose an example:
application/json