Loan Repayment

Repay the loan in the portfolio's account on the exchange.

Permission

  • Applies to both primary user and trading portfolio's API Key.
  • Permission: TRADE.

Rate Limit

  • 50 requests per 10 seconds.

Request

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

Response

Field nameTypeRemarks
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.
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
text/plain
application/json