stripe-webhooks

Verify Stripe webhook signatures and handle payment and subscription events.

567|82|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/pedronauck/skills --skill stripe-webhooks-pedronauck
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stripe-webhooks
Source: https://github.com/pedronauck/skills/tree/main/skills/stripe-webhooks
Command: npx skills add https://github.com/pedronauck/skills --skill stripe-webhooks-pedronauck

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust and secure way to receive, verify, and process events from Stripe, ensuring your application accurately responds to payment and subscription changes.

Core Features & Use Cases

  • Signature Verification: Ensures webhook requests originate from Stripe, preventing unauthorized actions.
  • Event Handling: Provides a structured approach to process common Stripe events like payment_intent.succeeded, customer.subscription.created, and invoice.paid.
  • Use Case: When a customer's subscription is successfully renewed, this Skill can automatically update their account status and send a confirmation email.

Quick Start

Implement the provided Express webhook handler code in your application to start receiving and verifying Stripe events.

Frequently Asked Questions about stripe-webhooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely handle Stripe webhooks in my application?▼

Securely handle Stripe webhooks by implementing signature validation to verify requests originate from Stripe, preventing unauthorized actions. This structured approach ensures your application accurately processes real-time payment and subscription lifecycle events using official SDKs.

How does Stripe webhook signature verification work?▼

Stripe webhook signature verification works by checking the cryptographic signature of incoming requests against your webhook signing secret. This ensures the event was genuinely sent by Stripe, protecting your application from spoofed requests and unauthorized actions.

What Stripe webhook events do I need to handle for subscription renewals?▼

Handle subscription renewals by processing specific Stripe webhook events like `customer.subscription.created` and `invoice.paid`. Capturing these events allows your application to automatically update account statuses and trigger confirmation emails upon successful payment.

Can I use Express to process Stripe webhook event handling?▼

Yes, you can use Express to process Stripe webhook event handling. The Skill provides an Express webhook handler code implementation, allowing you to quickly start receiving, verifying, and processing common payment lifecycle events in your application.

What is the best way to process payment_intent.succeeded events from Stripe?▼

The best way to process `payment_intent.succeeded` events is through a structured event handler that verifies the webhook signature first. This ensures secure, real-time updates for e-commerce and SaaS applications when customer payments are successfully completed.

Why do I need to verify Stripe webhook signatures for my SaaS application?▼

Verify Stripe webhook signatures for your SaaS application to ensure real-time event-driven updates are authentic. Signature validation prevents unauthorized actions and guarantees your subscription and payment lifecycle processing remains secure against malicious requests.