Sub Account Transfer(SPOT)
HTTP Request
POST /sapi/v1/broker/transfer
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
fromId | STRING | NO | |
toId | STRING | NO | |
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.
Example Response
{
"txnId":"2966662589",
"clientTranId":"abc"
}