Plaid.Investments.get_holdings
You're seeing just the function
get_holdings
, go back to Plaid.Investments module for more information.
Specs
get_holdings(String.t(), options, Plaid.config()) :: {:ok, Plaid.Investments.GetHoldingsResponse.t()} | {:error, Plaid.Error.t()} when options: %{optional(:account_ids) => [String.t()]}
Get user-authorized stock position data for investment-type accounts.
Does a POST /investments/holdings/get
call to retrieve
invesment holdings associated with an access_token's item.
Params:
access_token
- Token to fetch investment holdings for.
Options:
:account_ids
- Specific account ids to fetch investment holdings for.
Examples
Investments.get_holdings("access-sandbox-123xxx", client_id: "123", secret: "abc")
{:ok, %Investments.GetHoldingsResponse{}}