Skip to content

acquire_subaccount_list

yangxing edited this page Jan 16, 2020 · 3 revisions

Acquire Subaccount List

  • Description: Acquire subaccount list

  • Request Method: GET

  • Request Path: /res/openapi/v1/account/sub

  • Signature Required: Yes

  • Request Parameter:

name type required description
tonce int yes timestamp
page int no page number
limit int no return amount, default: 50
  • Response:
{
  "code": 0,
  "count": 2,
  "curr_page": 1,
  "data": [
    {
      "account": "sub1",                                 # account name
      "api_key": "87920fce6b25bcdc6fb86922b935609e",     # account api key
      "secret_key": "",                                  # account serect key
      "id": 55,                                          # account id
      "create_time": 1548242387
    },
    {
      "account": "sub2",
      "api_key": "68ceca48bb090d9d71392fc38b9c96b9",
      "secret_key": "",
      "id": 122,
      "create_time": 1548242387
    }
  ],
  "has_next": false,
  "total": 2,
  "total_page": 1
  "message": "OK"
}