Plaid.Transactions.refresh

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

refresh(access_token, config)

View Source

Specs

refresh(String.t(), Plaid.config()) ::
  {:ok, Plaid.SimpleResponse.t()} | {:error, Plaid.Error.t()}

Manually refresh transactions.

Does a POST /transactions/refresh call which kicks off a manual transactions extraction for all accounts contained in the access_token's item.

  • access_token - Token to fetch transactions for.

Examples

Transactions.refresh("access-sandbox-123xxx", client_id: "123", secret: "abc") {:ok, %Plaid.SimpleResponse{}}