Plaid.Accounts.get

You're seeing just the function get, go back to Plaid.Accounts module for more information.
Link to this function

get(access_token, options \\ %{}, config)

View Source

Specs

get(String.t(), options, Plaid.config()) ::
  {:ok, Plaid.Accounts.GetResponse.t()} | {:error, Plaid.Error.t()}
when options: %{optional(:account_ids) => [String.t()]}

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.

Params:

  • access_token - Token to fetch accounts for.

Options:

  • :account_ids - Specific account ids to fetch accounts for.

Examples

Accounts.get("access-sandbox-123xxx", client_id: "123", secret: "abc")
{:ok, %Accounts.GetResponse{}}