Skip to content

acquire_account_info

yangxing edited this page Jan 16, 2020 · 3 revisions

Acquire Account Info

  • Description: Acquire account info

  • Request Method: GET

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

  • Signature Required: No

  • Response:

{
  "code": 0,
  "data":{
    "account": {                    # user info
      "id": 45,
      "parent_user_id": null,
      "create_time": 1530012667,
      "account": "test",            # account name
      "email": "test@www.viabtc.com",
      "country_code": "86",
      "mobile": "17816354561",
      "country": "China"
    },
    "observer": [{                 # observer list
      "id": 55,                    # observer id
      "user_id": 45,
      "name": "ob1",               # observer name
      "access_key": "87920fce6b25bcdc6fb86922b935609e",   # observer access key
      "create_time": 1548242387
    }],
    "withdraw_address": [{                                # auto payment address
      "coin": "BTC",
      "address": "mtRJjPJGVLGs5YDf4VUP5RQXipzHjnjeCe"
    }],
    "balance": [{                                         # balance info
      "coin": "BTC",
      "amount": "0.001"
    }]
  },
  "message": "OK"
}