Universal Transfer
HTTP Request
POST /sapi/v1/broker/universalTransfer
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
fromId | STRING | NO | |
toId | STRING | NO | |
fromAccountType | STRING | YES | SPOT,USDT_FUTURE,COIN_FUTURE |
toAccountType | STRING | YES | SPOT,USDT_FUTURE,COIN_FUTURE |
clientTranId | STRING | NO | Client transfer id, must be unique. The max length is 32 characters |
asset | STRING | YES | |
amount | DECIMAL | YES | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
Caution:
- You need to enable "internal transfer" option for the api key which requests this endpoint.
- Transfer from master account if
fromId
not sent. - Transfer to master account if
toId
not sent. - Transfer between futures acount is not supported.
Example Response
{
"txnId":12831061179,
"clientTranId":"abc"
}