Subscribe to the smallest event set that supports your business flow. Common event families cover checkout sessions, payments, transactions, refunds, subscriptions, invoices, and customer actions.

Event envelope

Treat id as the deduplication key. Treat type as a routing key and data.object.id as the resource to retrieve when your handler needs authoritative details.

Fulfillment mapping

Verify the signature over the raw body, insert the event ID before effects, acknowledge promptly, and queue slow work. Retrieve the resource when event data is incomplete or stale.