Skip to content

Handling Stripe Webhooks

Stripe sends webhook events to notify your application about things like successful payments or subscription changes. With Inspectr, you can capture, inspect, and replay these events—even when developing locally.


  • See the raw payloads Stripe sends
  • Verify headers like Stripe-Signature
  • Debug issues without needing to re-trigger events
  • Replay captured events multiple times


You don’t need a backend during early development:

Terminal window
inspectr --catch=true --expose --channel=stripe-webhooks --channel-code=webhooks123

This will:

  • Accept incoming requests on both http://localhost:8080 and https://stripe-webhooks.in-spectr.dev
  • Automatically return a 200 OK to all requests
  • Display all webhook events in the Inspectr App UI (http://localhost:4004)

Login to your Stripe account, goto Stripe Workbench and start the wizard to create a webhook destination:

Stripe Webhook Add

In the Stripe Dashboard or Stripe CLI, set your webhook endpoint to:

https://stripe-webhooks.in-spectr.dev/stripe
Stripe Webhook Destination

Or use the Stripe CLI to forward events:

Terminal window
stripe listen --forward-to https://stripe-webhooks.in-spectr.dev/stripe

As Stripe sends events, you’ll see them in:

  • Your terminal: color-coded request logs
  • The Inspectr App: full event details, headers, body, and timestamp

You can:

  • Replay events to another backend (once it’s live)
  • Download payloads for offline testing
  • View signature headers to validate signing logic

Inspectr captures the Stripe-Signature header so you can:

  • Extract and test your signing secret manually
  • Confirm timestamp & signature values in the UI

Once your backend is running locally:

Terminal window
inspectr --backend=http://localhost:3000 --expose --channel=stripe-webhooks --channel-code=webhooks123

Now replay the captured Stripe events to your real handler at http://localhost:3000/stripe.


Inspectr is a powerful companion for working with Stripe webhooks:

  • Capture and analyze events safely
  • Replay and test integrations on demand
  • Eliminate the pain of re-triggering third-party systems