Stripe Webhook URL

Copy this URL and paste it into Stripe Dashboard → Developers → Webhooks.

Endpoint URL

The URL above is generated from your current app host and will look like:
https://YOUR-APP-HOST/functions/stripeWebhook

  1. In Stripe: Developers → Webhooks → Add endpoint (or edit existing).
  2. Paste the URL above.
  3. Select events: checkout.session.completed, invoice.payment_succeeded, invoice.payment_failed, customer.subscription.updated, customer.subscription.deleted.
  4. Save. If Stripe shows a new signing secret (whsec_), update it in Base44 Settings → Environment variables as STRIPE_WEBHOOK_SECRET.