Margin

Margin Account Repay (MARGIN)

Repay loan for margin account.

  • If "isIsolated" = "TRUE", "symbol" must be sent
  • "isIsolated" = "FALSE" for crossed margin repay

Weight(IP): 3000

post/sapi/v1/margin/repay

Query parameters

assetstring required
Example:BTC
isIsolated'TRUE' | 'FALSE'
  • TRUE - For isolated margin
  • FALSE - Default, not for isolated margin
symbolstring
Example:BNBUSDT

Trading symbol, e.g. BNBUSDT

amountnumber double required
recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Transaction id

tranIdinteger required

transaction id

Example response

{
  "tranId": 345196462
}

Changes