HTX will introduce one new REST API endpoint :Asset Transfer — POST /v1/account/transfer
- API Announcements
Dear Users,
HTX will introduce one new REST API endpoint :Asset Transfer — POST /v1/account/transfer
HTX will introduce one new REST API endpoint :
Asset Transfer — POST /v1/account/transfer
This endpoint allows parent user and sub user to transfer asset between accounts.
Features now supported for parent user include:
1.Transfer asset from parent user's spot account to sub user's spot account;
2.Transfer asset from sub user's spot account to parent user's spot account;
3.Transfer asset from sub user’s spot account to another sub user’s spot account who under the same parent user;
Features now supported for sub user include:
1.Transfer asset from authorized sub user’s spot account to another sub user’s spot account who under the same parent user.
2.Transfer asset from sub user’s spot account to parent user’s spot account;
Other transfer functions will be gradually launched later, please take note on API announcement in near future.
Effective Date: May 29, 2020 (GMT+8)
All the changes will be updated on https://huobiapi.github.io/docs/spot/v1/en/
HTX
May 29, 2020
POST /v1/account/transfer
Request Parameters
Parameter | Required | Data Type | Description | Values |
from-user | TRUE | long | Transfer out user uid | parent user uid , sub user uid |
from-account-type | TRUE | string | Transfer out account type | spot |
from-account | TRUE | long | Transfer out account id | |
to-user | TRUE | long | Transfer in user uid | parent user uid , sub user uid |
to-account-type | TRUE | string | Transfer in account type | spot |
to-account | TRUE | long | Transfer in account id | |
currency | TRUE | string | Currency name | Refer to GET /v1/common/currencys |
amount | TRUE | string | Amount of fund to transfer |
Response Content
Field | Required | Data Type | Description | Values |
status | TRUE | string | Request status | "ok" or "error" |
data | TRUE | list | ||
{transact-id | TRUE | int | Transfer id | |
transact-time} | TRUE | long | Transfer time (unix time in millisecond) |
API users should evaluate the business impact caused by the features introduced, further to make relevant change in client’s application, if needed.
All the changes will be updated on HTX API Docs on the effective date.