Plaid.Client.call

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

call(endpoint, payload \\ %{}, castable_module, config)

View Source

Specs

call(String.t(), map(), module(), Plaid.config()) ::
  {:ok, any()} | {:error, Plaid.Error.t()}

Make a Plaid API call.

Takes in everything needed to complete the request and return a well formed struct of the response.

Examples

call(
  "/categories/get",
  %{},
  Plaid.Categories.GetResponse,
  client_id: "123",
  secret: "abc"
)
{:ok, %Plaid.Categories.GetResponse{}}