Plaid.Employer.search

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

search(query, products, config)

View Source

Specs

search(String.t(), [String.t()], Plaid.config()) ::
  {:ok, Plaid.Employer.SearchResponse.t()} | {:error, Plaid.Error.t()}

Search employers information.

Does a POST /employers/search call to search Plaid’s database of known employers, for use with Deposit Switch

Params:

  • query - The employer name to be searched for.
  • products - The Plaid products the returned employers should support.

Currently in the Plaid API, products must be set to ["deposit_switch"].

Examples

Employer.search("Plaid", ["deposit_switch"], client_id: "123", secret: "abc")
{:ok, %Employer.SearchResponse{}}