Webhooks

Handle events from external services.

Stripe Webhooks

DevOur automatically handles the following Stripe webhook events:

Setting Up Webhooks

  1. In Stripe Dashboard, go to Developers > Webhooks
  2. Add an endpoint: https://your-domain.com/api/webhooks/stripe
  3. Select the events you want to receive
  4. Copy the webhook signing secret to your environment variables

Webhook Security

All webhooks are verified using the signing secret to ensure requests come from Stripe.