Stripe Webhook Signature Verification

Use when validating incoming Stripe webhook requests in a Node.js or Next.js backend before processing any payment event. Verifies the `stripe-signature` header against `STRIPE_WEBHOOK_SECRET` using Stripe's HMAC-SHA256 scheme, and rejects replays older than 300 seconds. Do NOT use for general HTTP signature validation (use a generic crypto-signature skill), for processing the webhook payload after signature is confirmed (use payment-provider-router), or for Stripe API calls that are not webhook-driven.

jacob-balslev Updated

File contents

jacob-balslev/skill-graph/tree/main/examples/projects/saas-stripe-postgres/skills/stripe-webhook-signature-verification commit c5c179fd69

Frequently asked questions

npx skillmds@latest add jacob-balslev/stripe-webhook-signature-verification