跳到主要内容

Enable Universal Transfer Permission For Sub Account Api Key

Enable Universal Transfer Permission For Sub Account Api Key

POST /sapi/v1/broker/subAccountApi/permission/universalTransfer

Parameters:

NameTypeMandatoryDescription
subAccountIdLONGYES
subAccountApiKeySTRINGYES
canUniversalTransferENUMYEStrue or false
recvWindowLONGNO
timestampLONGYES

Caution:

  • This request will enable the api permission for a sub account to use POST /sapi/v1/asset/transferendpoint.
  • You need to enable "trade" option for the api key which requests this endpoint.

Response:

  {
"subaccountId": "1",
"apikey": "vmPUZE6mv9SD5VNHk4HlWFsOr6aKE2zvsw0MuIgwCIPy6utIco14y7Ju91duEh8A",
"canUniversalTransfer":true
}