Stripe.WebhookHandler behaviour (stripity_stripe v2.17.3) View Source

Webhook handler specification. See Stripe.WebhookPlug for more details.

Link to this section Summary

Callbacks

Handles a Stripe webhook event within your application.

Link to this section Types

Specs

error_reason() :: binary() | atom()

Link to this section Callbacks

Specs

handle_event(event :: Stripe.Event.t()) ::
  {:ok, term()} | :ok | {:error, error_reason()} | :error

Handles a Stripe webhook event within your application.