Use this file to discover all available pages before exploring further.
Receive and process webhook events from Stripe. This endpoint should be configured in your Stripe Dashboard to receive events for checkout completions, subscription changes, and payment updates.
Use Stripe CLI to forward webhooks to your local development server:
# Install Stripe CLIbrew install stripe/stripe-cli/stripe# Login to Stripestripe login# Forward webhooks to local backendstripe listen --forward-to localhost:8000/api/v1/payments/stripe/webhooks/{project_id}/test# The CLI will display a webhook secret - use this for local testing
Stripe retries failed webhooks for up to 3 days with exponential backoff. Return 200 OK quickly to acknowledge receipt - process data asynchronously if needed.