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 Name | Required | Type | Notes |
---|---|---|---|
market | true | string | Market name |
borrow_id | false | int | Loan record ID
|
ccy | true | string | Currency name |
amount | true | string | Repaid amount |
Return parameters
None
Request example
{
"market": "ETCUSDT",
"borrow_id": 837,
"ccy": "USDT",
"amount": "50"
}
Response example
{
"code": 0,
"data": {},
"message": "OK"
}