1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints Reference
  5. GET /persons/:id/accounts

GET /persons/:id/accounts

List all Accounts objects for any individual Person.

Headers

 

Name Value
Authorization Bearer {token}

URL parameters

 

Name Value
id int. The ID of a consumer (person) you added via POST /persons.

Response

 

Name Value
accounts List of JSON objects.
accounts[].bank string. Name of the bank for this account.
accounts[].account_id int.
accounts[].account_no string. The account number
accounts[].last_opt_in string. Timestamp of when this account was added (YYYMMDD)

Status Code

Code Comment
200 Request OK.
401 User not authorized

How can we help?