Class used to call the Liabilities product.
Sections
Methods
- G
Public
Instance Public methods
get(access_token, account_ids: nil)
Link
Get liabilities information.
Does a POST /liabilities/get call which fetches liabilities associated with an access_token's item.
- access_token
-
access_token of an item to fetch liabilities for.
- account_ids
-
Specific account ids to fetch liabilities for (optional).
Returns
Returns the LiabilitiesResponse object with liabilities data.
Source: show
# File lib/plaid/products/liabilities.rb, line 14 def get(access_token, account_ids: nil) post_with_auth 'liabilities/get', LiabilitiesResponse, build_payload(access_token, account_ids: account_ids) end