Get Sub-Account Info
Info
- This endpoint requires signature. For specific signature rules, please refer to Authentication
- This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.
HTTP request
GET /account/subs/info
Request parameters
None
Return parameters
Parameter Name | Type | Notes |
---|---|---|
user_type | string | User Types.NORMAL : Ordinary userSUB_ACCOUNT : Sub-account |
sub_user_name | string | Sub-account username.If it is an ordinary user, this value is null |
Request example
GET
/account/subs/info
Response example
{
"code": 0,
"data": {
"sub_user_name": "sub1",
"user_type": "SUB_ACCOUNT"
},
"message": "OK"
}