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.
Event
type
event.type
event.data.object
A verified Stripe webhook event.
This is the Stripe SDK's
Eventtype — a discriminated union ontype, so narrowing onevent.typegives you the correctevent.data.objectshape.