Stripe Webhooks
Stripe webhook receiving skill that verifies signatures and parses events with raw-body SDK helpers.
- CCM score
- 49 of 100
- skills.sh installs
- 613
- GitHub stars
- 104
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers receiving and verifying Stripe webhooks, debugging signature failures, and handling payment, subscription, and invoice events
- Shows
constructEvent(Node) andconstruct_event(Python) usage withStripe-SignatureHMAC-SHA256 verification over the raw request body - Lists common event types such as
payment_intent.succeeded,customer.subscription.created, andinvoice.paid, with Express, Next.js, and FastAPI examples - Designed for developers wiring Stripe webhook handlers, with a local
hookdeck-cli listentunnel for development
Install
$ npx -y skills add hookdeck/webhook-skills --skill stripe-webhooks -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Stripe Webhooks
When to Use This Skill
- Setting up Stripe webhook handlers
- Debugging signature verification failures
- Understanding Stripe event types and payloads
- Handling payment, subscription, or invoice events
Verification (core)
Stripe ships official SDK helpers that verify the Stripe-Signature header (HMAC-SHA256 over timestamp.body) and parse the event in one call. Pass the raw request body — don't JSON.parse first.
Node:
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
const event = stripe.webhooks.constructEvent(
rawBody, // Buffer or string of the raw HTTP body
req.headers['stripe-signature'],
process.env.STRIPE_WEBHOOK_SECRET // whsec_… from the webhook endpoint settings
);
// Throws Stripe.errors.SignatureVerificationError on tampering or stale timestamp
Python:
import stripe
Details
- Repository
- github.com/hookdeck/webhook-skills
- Categories
- Backend & APIs, Finance & Trading
- First seen
- Jun 3, 2026
Questions
What does the stripe-webhooks skill do?
The stripe-webhooks skill helps an agent receive and verify Stripe webhooks, using Stripe's official SDK helpers to check the Stripe-Signature header against the raw request body. It also covers handling payment, subscription and invoice events such as payment_intent.succeeded, customer.subscription.created and invoice.paid.
How do I install the stripe-webhooks skill?
Run npx -y skills add hookdeck/webhook-skills --skill stripe-webhooks -y in your project. This lets your agent verify Stripe webhook signatures and handle the common Stripe event types.
What does stripe-webhooks need to run?
It needs a STRIPE_SECRET_KEY and a STRIPE_WEBHOOK_SECRET, the whsec_ value from your webhook endpoint settings in the Stripe dashboard. Local testing uses the Hookdeck CLI through npx hookdeck-cli listen, which needs no account.
Where does stripe-webhooks stand in the Backend & APIs category?
It is listed in the Backend & APIs category alongside entra-app-registration, neon, firebase-basics and firebase-auth-basics. It is the skill to reach for when your Stripe payment, subscription or invoice events need verified handling.
Can stripe-webhooks help me debug signature verification errors?
Yes, it covers debugging Stripe signature verification failures, including tampering and stale timestamp errors. It shows passing the raw request body rather than parsed JSON to the verification helper.
More from hookdeck/webhook-skills
All 7Similar to Stripe Webhooks
More Backend & APIspaddle-webhookshookdeck/webhook-skills258 installsReceive and verify Paddle webhooks with HMAC-SHA256 signature checks before handling subscription and transaction events.
stripemindrally/skills747 installsServer-side Stripe guidance for payments, Elements checkout, subscriptions, and webhooks in Next.js.
stripe-integrationwshobson/agents14.1K installsStripe payment integration covering checkout, subscriptions, webhooks, and refunds, with PCI-compliant flows.
stripe-paymentsjezweb/claude-skills1.2K installsAdd Stripe payments to a web app across Checkout Sessions, subscriptions, webhooks, and customer portal.
shopify-webhookshookdeck/webhook-skills294 installsReceives and verifies Shopify webhooks with timing-safe HMAC checks over the raw body for store events.