1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints Reference
  5. POST /accounts

POST /accounts

Add an Account to a Person.

Headers

Name Value
Content-Type application/json
Authorization Bearer {token}

Request

Key Required Comment
person_id Yes Int. The ID of a person created via POST /persons
consent No Deprecated. Use ConsumerConsent instead.
bank No String. The name of the bank. We provide you with the unique ID for each bank.
redirect_uri No String. A valid http(s) page where the consumer will land at the end of the opt-in process.

Response

Name Value
url String. Data source webpage URL to verify bank account ownership and opt-in.

Status Code

Code Comment
201 Request OK, account created.
400 Input data not correct.
401 User not authorized.

How can we help?