View Source Plaid.Investments.Holdings (plaid v3.2.0)

Functions for Plaid investments/holdings endpoints.

Link to this section Summary

Functions

Gets user-authorized stock position data for investment-type Accounts

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.Investments.Holdings{
  accounts: [Plaid.Accounts.Account.t()],
  holdings: [Plaid.Investments.Holdings.Holding.t()],
  item: Plaid.Item.t(),
  request_id: String.t(),
  securities: [Plaid.Investments.Security.t()]
}

Link to this section Functions

Link to this function

get(params, config \\ %{})

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

Gets user-authorized stock position data for investment-type Accounts

Parameters

%{
  access_token: "access-env-identifier",
  options: %{
    account_ids: ["BFEWTGFD"]
  }
}