Setup
Create a Stripe account
Go to stripe.com and create an account if you don’t have one.
Set up webhooks
Ringee needs Stripe webhooks to process payment events:
- Go to Developers → Webhooks
- Click Add endpoint
- Set the endpoint URL to:
https://your-backend-url/api/stripe/webhook - Select the events to listen to:
checkout.session.completedcustomer.subscription.createdcustomer.subscription.updatedcustomer.subscription.deletedinvoice.payment_succeededinvoice.payment_failed
- Copy the Signing secret
Environment Variables
| Variable | Required | Description |
|---|---|---|
STRIPE_SECRET_KEY | Yes | Your Stripe secret API key |
STRIPE_WEBHOOK_SECRET | Yes | Webhook signing secret for verifying events |
Testing locally
For local development, use the Stripe CLI to forward webhook events:STRIPE_WEBHOOK_SECRET during development.

