Class used to call the Accounts product.
Sections
Methods
Instance Public methods
balance
Link
The Plaid::Balance product accessor.
Source: show
# File lib/plaid/products/accounts.rb, line 30 subproduct :balance
Public
Instance Public methods
get(access_token, account_ids: nil, options: nil)
Link
Get information about all available accounts.
Does a POST /accounts/get call to retrieve high level account information associated with an access_token's item
- access_token
-
access_token who's item to fetch accounts for
- account_ids
-
Specific account ids to fetch accounts for (optional)
- options
-
Additional options to be merged into API request
Returns
Returns the AccountsResponse object with accounts information.
Source: show
# File lib/plaid/products/accounts.rb, line 42 def get(access_token, account_ids: nil, options: nil) post_with_auth 'accounts/get', AccountsResponse, build_payload(access_token, account_ids: account_ids, options: options) end