Skip to main content

Margin account borrow/repay(MARGIN)

API Description#

Margin account borrow/repay(MARGIN)

HTTP Request#

POST /sapi/v1/margin/borrow-repay

Request Weight#

3000

Request Parameters#

NameTypeMandatoryDescription
assetSTRINGYES
isIsolatedSTRINGYESTRUE for Isolated Margin, FALSE for Cross Margin, Default FALSE
symbolSTRINGYESOnly for Isolated margin
amountSTRINGYES
typeSTRINGYESBORROW or REPAY
recvWindowLONGNOThe value cannot be greater than 60000
timestampLONGYES

Response Example#

{  //transaction id  "tranId": 100000001}