Skip to main content

Transfer to Master(For Sub-account)

API Description#

Transfer to Master

HTTP Request#

POST /sapi/v1/sub-account/transfer/subToMaster

Request Weight(IP)#

1

Request Parameters#

NameTypeMandatoryDescription
assetSTRINGYES
amountDECIMALYES
recvWindowLONGNO
timestampLONGYES
  • You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.

Response Example#

{    "txnId":"2966662589"}