Appearance
transfer asset from main account to sub account
Rate Limit: 10 req/sec/uid
Description
Interface is used to transfer asset from main Account to subAccount.
HTTP Request
- POST /api/v1/cp/asset/transfer-to-sub-account
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
amount | string | true | transfer amount |
assetType | string | true | Assets are transferred from the futures account or spot account of the main account. eg: FUTURES/SPOT |
Request Example
bash
curl -X 'POST' --location 'https://fapi.bitunix.com/api/v1/cp/asset/transfer-to-sub-account' \
-H "api-key:*******" \
-H "sign:*" \
-H "nonce:your-nonce" \
-H "timestamp:1659076670000" \
-H "language:en-US" \
-H "Content-Type: application/json" \
--data '{"amount":"10","assetType":"SPOT"}'
Response Parameters
Parameter | Type | Description |
---|
Response Example
json
{"code":0,"msg":"result.success","data":"","success":true}