跳到主要内容

Enable Universal Transfer Permission For Sub Account Api Key

HTTP Request

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

Request 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.

Example Response

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