RelayFox

How to test Stripe webhooks locally

Testing Stripe webhooks usually means waiting for events you can't see. With RelayFox you get a URL to paste into Stripe, watch events arrive live, and forward them to your local server.

  1. 1
    Create a free RelayFox URL on the homepage (no signup needed).
  2. 2
    Paste it as your webhook endpoint: Stripe Dashboard → Developers → Webhooks → Add endpoint.
  3. 3
    Trigger an event (e.g. checkout.session.completed) and watch it arrive live in RelayFox.
  4. 4
    Run the CLI to forward captured events to your local server:
    npx relayfox forward <endpoint-id> --to http://localhost:3000 --token rfx_...
  5. 5
    Inspect headers, body and replay any event as many times as you need.

RelayFox preserves the Stripe-Signature header when forwarding, so Stripe's signature verification works against your local server unchanged.

Get your Stripe webhook URL