Plaid.Investments.get_transactions

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

get_transactions(access_token, start_date, end_date, options \\ %{}, config)

View Source

Specs

get_transactions(String.t(), String.t(), String.t(), options, Plaid.config()) ::
  {:ok, Plaid.Investments.GetTransactionsResponse.t()}
  | {:error, Plaid.Error.t()}
when options: %{
       optional(:account_ids) => [String.t()],
       optional(:count) => integer(),
       optional(:offset) => integer()
     }

Get information about all available investment transactions.

Does a POST /investments/transactions/get call which gives you high level account data along with investment transactions and associated securities from all investment accounts contained in the access_token's item.

Params:

  • access_token - Token to fetch investment holdings for.
  • start_date - Start of query for investment transactions.
  • end_date - End of query for investment transactions.

Options:

  • :account_ids - Specific account ids to fetch investment holdings for.
  • :count - Amount of investment transactions to pull (optional).
  • :offset - Offset to start pulling investment transactions (optional).

Examples

Investments.get_transactions("access-sandbox-123xxx", "2020-01-01", "2020-01-31", client_id: "123", secret: "abc")
{:ok, %Investments.GetTransactionsResponse{}}