Aller au contenu principal

Override Cashier's webhook entry point to enforce idempotency

POST 

/v1/stripe/webhook

Stripe retries failed deliveries with the same event.id. Without idempotency a transient 5xx during processing would cause every subsequent retry to re-run handlers (double-charge alerts, duplicate notifications, etc). We record processed event ids in processed_stripe_events and short-circuit replays with 200 OK.

Responses