View Source Plaid.Accounts (plaid v3.3.0)

Functions for Plaid accounts endpoint.

Link to this section Summary

Functions

Gets account data associated with Item.

Gets balance for specified accounts associated with Item.

Link to this section Types

@type config() :: %{required(atom()) => String.t() | keyword()}
@type error() :: {:error, Plaid.Error.t() | any()} | no_return()
@type params() :: %{required(atom()) => term()}
@type t() :: %Plaid.Accounts{
  accounts: [Plaid.Accounts.Account.t()],
  item: Plaid.Item.t(),
  request_id: String.t()
}

Link to this section Functions

Link to this function

get(params, config \\ %{})

View Source
@spec get(params(), config()) :: {:ok, t()} | error()

Gets account data associated with Item.

Parameters

%{access_token: "access-token"}
Link to this function

get_balance(params, config \\ %{})

View Source
@spec get_balance(params(), config()) :: {:ok, t()} | error()

Gets balance for specified accounts associated with Item.

Parameters

%{access_token: "access-token", options: %{account_ids: ["account-id"]}}