Plaid.Item.update_webhook

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

update_webhook(access_token, webhook, config)

View Source

Specs

update_webhook(String.t(), String.t(), Plaid.config()) ::
  {:ok, Plaid.Item.UpdateWebhookResponse.t()} | {:error, Plaid.Error.t()}

Update a webhook for an access_token.

Does a POST /item/webhook/update call which is used to update webhook for a particular access_token.

Params

  • access_token - The access token associated with the item.
  • webhook - The new webhook URL.

Examples

Item.update_webhook(
  "access-prod-123xxx",
  "https://plaid.com/fake/webhook",
  client_id: "123",
  secret: "abc"
)
{:ok, %Item.UpdateWebhookResponse{}}