Skip to main content

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 NameTypeNotes
user_typestringUser Types.
NORMAL: Ordinary user
SUB_ACCOUNT: Sub-account
sub_user_namestringSub-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"
}