Class used to call the Balance product.
Sections
Methods
- G
Public
Instance Public methods
get(access_token, account_ids: nil, options: nil)
Link
Get information about all available balances.
Does a POST /accounts/balance/get call to get real-time balance information for all accounts associated with the access_token's item.
- access_token
-
The String access_token for the item to fetch balances for.
- account_ids
-
The Array with specific account IDs to fetch balances for (optional).
- options
-
Additional options to be merged into the request (optional).
Returns
Returns the AccountsResponse object with accounts information.
Source: show
# File lib/plaid/products/accounts.rb, line 17 def get(access_token, account_ids: nil, options: nil) post_with_auth 'accounts/balance/get', AccountsResponse, build_payload(access_token, account_ids: account_ids, options: options) end