Skip to main content

Margin Repayment

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.

HTTP request

POST /assets/margin/repay

Request parameters

Parameter NameRequiredTypeNotes
markettruestringMarket name
borrow_idfalseintLoan record ID
  • Not required, when the remaining amount of the current borrowing order is paid off
ccytruestringCurrency name
amounttruestringRepaid amount

Return parameters

None


Request example

{
"market": "ETCUSDT",
"borrow_id": 837,
"ccy": "USDT",
"amount": "50"
}

Response example

{
"code": 0,
"data": {},
"message": "OK"
}