Guides · Free check · $9 fix pack

Guides

Can someone fake a payment to your app?

If your webhook endpoint doesn't verify the signature, yes. Anyone who learns the URL can send a hand-written checkout.session.completed and your app will believe it.

Why the URL isn't a secret

Webhook paths are predictable (/api/webhooks/stripe), appear in tutorials and AI-generated code, and leak in public repos and front-end bundles. Treat the URL as public.

What protects you

Stripe signs every event with the endpoint's secret in the Stripe-Signature header. Verify it with the official library and reject anything that fails (Stripe docs; Stripe docs: signatures). The signature includes a timestamp, and Stripe's libraries reject events older than 5 minutes by default, which limits replays (source).

Belt and braces

How to test it safely

Send an unsigned POST to your own endpoint: curl -i -X POST -H 'content-type: application/json' -d '{}' https://yourdomain.com/api/webhooks/stripe. A correct endpoint answers 400. A 200 means it accepts unsigned events. WebhookProof's free check does this with a harmless synthetic event.

Already verifying but not sure it rejects failures? A catch that logs and keeps going still lets forged events in: see signature check that fails open.

For the full pre-go-live checklist (unsigned POST, success page, live endpoint, CLI vs Dashboard secret), see webhook security checklist before go-live.

Check yours in 10 seconds (free).

Paste your webhook URL. WebhookProof sends 3 harmless test requests and tells you whether Stripe can reach it and whether it rejects unsigned events. If it finds a problem, the $9 fix pack gives you the exact copy-paste fix for your stack (refundable for 14 days).

Run the free check

FAQ

Can someone fake a Stripe webhook?

Only if your endpoint skips signature verification. Verify the Stripe-Signature header with the endpoint secret and reject anything that fails.

Is keeping my webhook URL secret enough?

No. Webhook paths are predictable and often leak. Signature verification is what protects you.

How can I test whether my endpoint accepts unsigned events?

Send an unsigned POST with an empty JSON body to your own endpoint. It should return 400. A 200 means it accepts unverified events.

Sources

More guides

Stripe webhook not working? Check these 7 things in order · A customer paid but didn't get access. What went wrong? · No signatures found matching the expected signature for payload · Stripe webhook failing with a 307 or 308 redirect

Last reviewed 2026-11-13. WebhookProof is an independent tool, not affiliated with Stripe, Inc.. Quotes are from the linked documentation.