Create Subaccount Transfer
Transfers funds between the parent and child (sub) accounts.
tip
- The transfer is processed asynchronously, and the transfer result is obtained through the request Transfer Records interface.
- This interface can only be used for transfer between parent and child accounts.
- A subaccount can only be attributed to a parent account.
HTTP Request
POST /private/v1/asset/sub-member/transfer
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
request_id | true | string | Transfer request UUID, globally unique, used for idempotent verification |
coin | true | string | Currency type |
amount | true | string | Exchange to amount |
sub_user_id | true | int32 | Subaccount |
type | true | string | Determines the direction of transfer |
account_type | true | string | Transfer account type |
Response Parameters
Parameter | Type | Comments |
---|---|---|
transfer_id | string | Transfer result ID |
request_id | string | Transfer request ID |
Request Example
POST /private/v1/asset/sub-member/transfer HTTP/1.1
X-BAPI-API-KEY: 0b2XYJpi8bi9tZPhft
X-BAPI-SIGN: ac6aae0cab89873a3635874af169a9224674a5e06f7e411cbbbb9d2f6905eae3
X-BAPI-TIMESTAMP: 1724600349557
X-BAPI-RECV-WINDOW: 1000000
Host: openapi-testnet.zoomex.com
Content-Type: application/json
{
"request_id": "6481da3c-5eff-45d9-90e8-72b3da105533",
"sub_user_id": 103741450,
"coin": "USDT",
"amount": "10",
"type": "IN",
"account_type": "SPOT"
}
Response Example
{
"ret_code": 0,
"ret_msg": "OK",
"result": {
"transfer_id": "d5c3f1e3-097c-4532-9f4d-3b2990bdcd85",
"request_id": "6481da3c-5eff-45d9-90e8-72b3da105533"
}
}