Sub Account Transfer
Sub Account Transfer
Transfer funds between parent and sub accounts
Request frequency limit: 1/1s
Request URL
POST /deepcoin/sub-account/sub-account-transfer
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| fromUid | true | string | Transfer from UID |
| toUid | true | string | Transfer to UID |
| fromId | true | string | Transfer from account ID (1: Spot Account, 2: Wallet Account, 5: Inverse Contract, 7: Linear Contract) |
| toId | true | string | Transfer to account ID (1: Spot Account, 2: Wallet Account, 5: Inverse Contract, 7: Linear Contract) |
| amount | true | string | Transfer amount |
| coin | true | string | Currency |
Request Example
{
"fromUid": "123456",
"toUid": "789012",
"fromId": "1",
"toId": "1",
"amount": "100.50",
"coin": "USDT"
}
Response Parameters
| Field Name | Type | Description |
|---|---|---|
| retCode | int | Return code |
| retMsg | string | Return message |
| retData | object | Return data |
Response Example
{
"retCode": 0,
"retMsg": "success",
"retData": {}
}