Test Stripe webhooks on localhost

Stripe sends webhook events — `checkout.session.completed`, `invoice.paid`, and the rest — to a public HTTPS endpoint. During development that endpoint lives on your localhost, which Stripe cannot reach. Burrow gives your dev server a public URL in one command so Stripe can deliver events to a real route handler, and the local inspector lets you read each event, confirm the signature verified against your signing secret, and replay it while you build the handler.

One command: npx useburrow http 3000

Start a free trial · Read the docs

Three steps

  1. Tunnel your app - Run `npx useburrow http 3000` next to your dev server. Burrow prints a public https:// URL on the EU edge.
  2. Add the Stripe endpoint - In the Stripe Dashboard → Developers → Webhooks, add an endpoint at https://your-app.eu.useburrow.dev/your/stripe/route and copy the signing secret into your app.
  3. Verify and replay - Trigger a test event (or use the Stripe CLI), then open http://127.0.0.1:4040 to confirm the signature verified and replay the event as you iterate.

Frequently asked questions

How do I test Stripe webhooks on localhost?
Run `npx useburrow http 3000`, add the printed URL plus your route as a webhook endpoint in the Stripe Dashboard, and trigger events. They forward to your local route, and the inspector lets you replay them.
Does Stripe signature verification work through the tunnel?
Yes. Burrow forwards the raw request body unmodified, so `Stripe-Signature` verification against your endpoint’s signing secret works exactly as in production.
Do I still need the Stripe CLI?
No, but they pair well. The Stripe CLI can trigger test events; Burrow exposes the public URL Stripe (or the CLI’s webhook forwarding alternative) posts to, and the inspector adds replay.
Can I keep the same Stripe endpoint URL?
On Pro you can reserve a subdomain or attach a custom domain so the endpoint you register in Stripe survives restarts.

Related guides & pages

Stripe testing in one command

npx useburrow http 3000 — EU-hosted, DSGVO-first, MCP-native.

Start a free trial · All use cases