Skip to main content
Payments

Get phone alerts for Stripe payment failures and disputes

Hugin Alerts sends you a push notification within seconds of a Stripe payment failure, dispute, or subscription cancellation. React before it costs you money — no dashboard checking required.

Last updated:

What you can monitor with Stripe

Successful payments and large transactions
Failed payments and card declines
Dispute and chargeback opened
Subscription cancelled or past due
Payout failed
New customer sign-ups

Setup guide

Get started in minutes

1

How Stripe webhooks work

Stripe has a built-in webhook system. You register an endpoint URL in the Stripe dashboard, pick which events you care about, and Stripe sends an HTTP POST to your endpoint whenever those events happen. This is how most Stripe integrations stay in sync.

2

Get a webhook URL from Hugin Alerts

Hugin Alerts is a service that receives HTTP requests and turns them into push notifications on your phone. Install the app and tap "Get started" — you get a unique ingest key immediately. No sign-up or credit card needed.

3

Forward important Stripe events to Hugin

In your existing webhook endpoint (or a new one), add a few lines that forward high-signal events to Hugin Alerts. This way you keep your existing Stripe handling and just add phone notifications on top.

javascript
// Node.js / Express example
const express = require('express');
const app = express();

const HUGIN_KEY = process.env.HUGIN_KEY;

app.post('/webhooks/stripe', express.raw({ type: 'application/json' }), async (req, res) => {
  const event = JSON.parse(req.body);

  // Forward important events to Hugin
  const importantEvents = [
    'payment_intent.payment_failed',
    'charge.dispute.created',
    'customer.subscription.deleted',
    'payout.failed',
  ];

  if (importantEvents.includes(event.type)) {
    await fetch('https://api.huginalerts.com/v1/events', {
      method: 'POST',
      headers: {
        'Authorization': `Bearer ${HUGIN_KEY}`,
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        system: 'stripe',
        event: event.type,
        description: `Stripe: ${event.type} — ${event.data.object.id}`,
      }),
    });
  }

  res.json({ received: true });
});
4

Register the webhook in Stripe

Go to the Stripe Dashboard → Developers → Webhooks → Add endpoint. Enter your server URL and select the events you want to listen for.

Examples

Ready-to-use examples

Failed payment notification

Get alerted immediately when a customer's payment fails.

bash
curl -X POST https://api.huginalerts.com/v1/events \
  -H "Authorization: Bearer YOUR_INGEST_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "system": "stripe",
    "event": "payment_failed",
    "description": "Payment of $49.99 failed for customer cus_abc123 — card declined"
  }'

Dispute created notification

Know instantly when a customer opens a dispute.

bash
curl -X POST https://api.huginalerts.com/v1/events \
  -H "Authorization: Bearer YOUR_INGEST_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "system": "stripe",
    "event": "dispute_created",
    "description": "Dispute opened for $199.00 — reason: product_not_received"
  }'

Large payment notification

Get a notification for high-value transactions.

bash
curl -X POST https://api.huginalerts.com/v1/events \
  -H "Authorization: Bearer YOUR_INGEST_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "system": "stripe",
    "event": "large_payment",
    "description": "Payment of $2,500.00 succeeded — Enterprise plan"
  }'

Frequently asked questions

How do I get push notifications for Stripe payment failures?
Use Hugin Alerts. Add a few lines to your existing Stripe webhook endpoint that forward high-signal events (failed payments, disputes, subscription cancellations) to the Hugin API. You get an instant push notification on your iPhone or Android device. Setup takes under 60 seconds — no account required.
Do I need to verify Stripe webhook signatures?
Yes. In production, always verify the Stripe webhook signature to ensure the event is genuine. The example above is simplified — add signature verification using stripe.webhooks.constructEvent() before forwarding to Hugin.
Should I forward every Stripe event?
No. Failed payments, disputes, and subscription cancellations are high-signal events worth waking up for. Successful payments at high volumes would just create noise. Filter for events that actually need your immediate attention.
What if my webhook endpoint is down?
Stripe retries failed webhook deliveries for up to 3 days with exponential backoff. Once your endpoint is back, it will receive the queued events and forward them to Hugin.
Can I get notified about Stripe disputes on my phone?
Yes. Add 'charge.dispute.created' to the list of important events in your webhook handler. When a customer opens a dispute, you'll get a push notification on your phone within seconds — giving you time to respond before the dispute window closes.
Does this work with Stripe in test mode?
Yes. Stripe test-mode webhooks work identically to live-mode webhooks. Use test mode to verify your Hugin integration before going live. The notification flow is the same — you'll see test events on your phone just like production ones.
What is Hugin Alerts?
Hugin Alerts is a push notification service for developers. Send one HTTP request from any system — Stripe webhooks, CI/CD, cron jobs, scripts — and get an instant push notification on your phone. No sign-up, no email, no credit card. Free during early access.

Start getting Stripe alerts now

Set up takes less than a minute. No sign-up, no email, no credit card.

Get started for free