Class used to call the CreditDetails product.

Sections
Methods
G
Public
Instance Public methods
get(access_token, account_ids: nil)

Get information about all available credit_details.

Does a POST /credit_details/get call which fetches credit details associated with an access_token's item.

access_token

access_token of an item to fetch credit details for.

account_ids

Specific account ids to fetch credit details for (optional).

Returns

Returns the CreditDetailsResponse object with credit details info.

# File lib/plaid/products/credit_details.rb, line 14
def get(access_token, account_ids: nil)
  post_with_auth 'credit_details/get',
                 CreditDetailsResponse,
                 build_payload(access_token,
                               account_ids: account_ids)
end