Repayment

{
  "success": true,
  "code": "200",
  "msg": "success",
  "retry": false,
  "data": {
    "orderNo": "5da6dba0f943c0c81f5d5db5",
    "actualSize": 10
  }
}

This API endpoint is used to initiate an application for the repayment of cross or isolated margin borrowing.

HTTP REQUEST

POST /api/v3/margin/repay

Example

POST /api/v3/margin/repay

API KEY PERMISSIONS

This endpoint requires the Margin Trading permission.

REQUEST URL

This endpoint support Spot URL

REQUEST RATE LIMIT

Spot weight:10

PARAMETERS
Param Type Mandatory Description
isIsolated Boolean No true-isolated, false-cross; default is false
symbol String No trading pair, mandatory for isolated margin account
currency String Yes Currency
size BigDecimal Yes Repayment amount
RESPONSES
Param Description
orderNo Repayment order number
actualSize Actual repayment amount