Transfer between Master Account and Sub-Account
Funds in the main account, trading account and margin account of a Master Account can be transferred to the main account, trading account, futures account and margin account of its Sub-Account. The futures account of both the Master Account and Sub-Account can only accept funds transferred in from the main account, trading account and margin account and cannot transfer out to these accounts.
HTTP REQUEST
POST /api/v2/accounts/sub-transfer
TIP
Recommended for use
Example
POST /api/v2/accounts/sub-transfer
{
"orderId": "5cbd870fd9575a18e4438b9a"
}
API KEY PERMISSIONS
This endpoint requires the Spot Trading permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Manage weight
:30
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
clientOid | String | Yes | Unique order id created by users to identify their orders, e.g. UUID, with a maximum length of 128 bits. |
currency | String | Yes | Currency |
amount | String | Yes | Transfer amount, the amount is a positive integer multiple of the currency precision. |
direction | String | Yes | OUT — the master user to sub user IN — the sub user to the master user. |
accountType | String | No | The account type of the master user: MAIN, TRADE, MARGIN, OPTION or CONTRACT, default is MAIN. |
subAccountType | String | No | The account type of the sub user: MAIN, TRADE, MARGIN, OPTION or CONTRACT, default is MAIN. |
subUserId | String | Yes | the user ID of a sub-account. |
RESPONSES
Param | Description |
---|---|
orderId | The order ID of a master-sub assets transfer. |