@bates-solutions/stripe API Reference - v2.2.1
    Preparing search index...

    Type Alias WebhookEvent

    WebhookEvent: Stripe.Event

    A verified Stripe webhook event.

    This is the Stripe SDK's Event type — a discriminated union on type, so narrowing on event.type gives you the correct event.data.object shape.