Plaid.Sandbox.create_processor_token

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

create_processor_token(institution_id, options \\ %{}, config)

View Source

Specs

create_processor_token(String.t(), options, Plaid.config()) ::
  {:ok, Plaid.Sandbox.CreateProcessorTokenResponse.t()}
  | {:error, Plaid.Error.t()}
when options: %{
       optional(:override_username) => String.t(),
       optional(:override_password) => String.t()
     }

Create a valid processor_token for an arbitrary institution ID and test credentials.

Does a POST /sandbox/processor_token/create call to create a valid processor_token to use with all the processor endpoints in the sandbox.

Params:

  • institution_id - The ID of the institution the Item will be associated with.

Options:

  • :override_username - Test username to use for the creation of the Sandbox Item.
  • :override_password - Test password to use for the creation of the Sandbox Item.

Examples

Sandbox.create_processor_token("ins_1", client_id: "123", secret: "abc")
{:ok, %Sandbox.CreateProcessorTokenResponse{}}