Skip to content

ConsumeEventsLive

Source: src/Stripe/ConsumeEvents.ts Kind: Layer · Provides: Stripe.EventSource

Cloudflare Worker implementation of consumeEvents.

Deploy-time: provisions a WebhookEndpoint pointing at this Worker (at the subscribed path) and binds its minted signing secret onto the Worker so deliveries can be verified. Runtime: registers a fetch listener that claims requests on that path, verifies Stripe-Signature, and runs the handler once per event.