Hookbase
All IntegrationsGet Started Free

Integration

Stripe Webhooks

Receive payment events, subscription updates, and invoice notifications from Stripe. Automatic signature verification using Stripe's signing secret.

Signature Verified Auto Retries Transforms

Popular Stripe Events

payment_intent.succeeded

Payment completed successfully

payment_intent.failed

Payment attempt failed

customer.subscription.created

New subscription started

customer.subscription.deleted

Subscription cancelled

invoice.paid

Invoice payment received

checkout.session.completed

Checkout session finished

All 100+ Stripe webhook events are supported.

How to Set Up Stripe Webhooks

1

Create a Source in Hookbase

Create a new webhook source and select Stripe as the provider. Copy your unique webhook endpoint URL.

2

Add Endpoint in Stripe Dashboard

Go to Developers → Webhooks in your Stripe Dashboard. Click 'Add endpoint' and paste your Hookbase URL.

3

Copy the Signing Secret

After creating the endpoint, Stripe shows a signing secret (whsec_...). Copy this and add it to your Hookbase source.

4

Select Events & Start Receiving

Choose which Stripe events to receive. Hookbase verifies every webhook and delivers to your endpoints.

Common Stripe Webhook Use Cases

Payment Processing

Handle successful payments, failed charges, and refunds. Update order status and send confirmation emails automatically.

payment_intent.succeeded

Subscription Management

Track subscription lifecycle events. Handle upgrades, downgrades, cancellations, and trial conversions.

customer.subscription.updated

Invoice Automation

Process invoice events for billing automation. Track payments, send reminders for upcoming invoices, handle failures.

invoice.payment_succeeded

Dispute Handling

Get notified immediately when disputes are opened. Respond quickly with evidence to protect your revenue.

charge.dispute.created

Example: Transform Payment Events

// Transform to extract key payment info
module.exports = (payload) => {
  const { type, data } = payload;
  const obj = data.object;

  if (type === 'payment_intent.succeeded') {
    return {
      event: 'payment_completed',
      paymentId: obj.id,
      amount: obj.amount / 100, // Convert cents to dollars
      currency: obj.currency.toUpperCase(),
      customerId: obj.customer,
      metadata: obj.metadata,
      timestamp: new Date().toISOString()
    };
  }

  return payload; // Pass through other events
};

Test Stripe Webhooks Locally

Use Hookbase tunnels to receive Stripe webhooks on your local development machine. No need for the Stripe CLI.

$ hookbase tunnel 3000

Starting tunnel to localhost:3000...
Connected!

Your public URL:
https://api.hookbase.app/t/abc123

Use this URL in your Stripe Dashboard for local testing.

Start Receiving Stripe Webhooks

Set up in under 2 minutes. Free tier includes 200 events per month.

Get Started Free
Hookbase

Reliable webhook infrastructure for modern teams. Built on Cloudflare's global edge network.

Product

  • Features
  • Pricing
  • Use Cases
  • Integrations
  • ngrok Alternative

Resources

  • Documentation
  • API Reference
  • CLI Guide
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Contact
  • Status

© 2026 Hookbase. All rights reserved.