Inspectors
Webhook receiver
Capture and replay local webhooks for testing.
What it does
Stratos exposes a local HTTP endpoint at http://127.0.0.1:9920/webhooks. Every request is captured, headers and body inspected, and stored in a list. You can replay any captured webhook to a different local URL — useful when you need to reproduce what a payment gateway or a CI system is sending you.
Pointing your app at it
Most webhook providers let you set the URL per-environment. For local testing, point the URL to http://127.0.0.1:9920/webhooks.
Triggering a Stripe webhook locally
With the Stripe CLI:
stripe listen --forward-to http://127.0.0.1:9920/webhooks
Inspecting a capture
Open the Webhooks tab. The list shows the most recent 200 requests. Click one to see:
- Method, path, timestamp, source IP
- Full headers
- Body (decoded, monospaced)
Replaying a webhook
Click the Replay button in the detail panel. A dialog asks for a target URL. The captured body and headers are re-POSTed (or re-GETed) to the new URL, and the response is recorded as a new entry with the status code appended.
Use cases:
- Test how your app handles a malformed payload by editing the captured body and re-sending.
- Reproduce a race condition by re-firing the same webhook 100 times in a loop.
- Compare a production payload against a sandbox one side-by-side.
Custom port
Default port is 9920. Change it from Settings → Ports → Webhook receiver. The change takes effect immediately — the listener restarts on the new port.