Plaid.Sandbox.set_item_verification_status

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

set_item_verification_status(access_token, account_id, verification_status, config)

View Source

Specs

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

Change the verification status of an item.

Does a POST /sandbox/item/set_verification_status call to change the status of an item in order to simulate the Automated Micro-deposit flow.

Params:

  • access_token - The access token associated with the Item data is being requested for.
  • account_id - The ID of the account whose verification status is to be modified.
  • verification_status - The verification status to set the account to.

Examples

Sandbox.set_item_verification_status("access-prod-123xxx", "39flxk4ek2xs", "verification_expired", client_id: "123", secret: "abc")
{:ok, %Plaid.SimpleResponse{request_id: "9bkemelske"}}