---
title: 8 Failed Payment Email Examples (With Copy and Code)
description: "Failed payment email examples to copy: first notice, expired card, insufficient funds, 3D Secure, final notice and the webhook code that sends them once."
canonical: https://sendhq.cc/blog/failed-payment-email-examples
last-updated: 2026-11-30
author: Dhrumil Barot
author_bio: Dhrumil is an email marketing expert. Dhrumil built SendHQ so developers and AI agents can send, receive and track email without fighting deliverability on their own.
published: 2026-11-30
updated: 2026-11-30
---
# 8 Failed Payment Email Examples (With Copy and Code)

By [Dhrumil Barot](https://sendhq.cc/about.md#founder), Founder

Failed payment email examples to copy: first notice, expired card, insufficient funds, 3D Secure, final notice and the webhook code that sends them once.

Published November 30, 2026 · Updated November 30, 2026

**TL;DR:** A failed payment email says what went wrong, gives one button to fix it, and says what happens if nothing changes. Below are 8 failed payment email examples, one per decline reason and dunning stage, each with copy you can paste. With SendHQ you store each one as a typed hosted template and send it from your billing webhook with an idempotency key, so a retried webhook never emails a customer twice.

[Create a SendHQ account](https://sendhq.cc/pricing.md) and send your first billing email from a verified domain.

A good failed payment email (also called a dunning email) has three parts, the same three Postmark lists in its [dunning guide](https://postmarkapp.com/guides/dunning/email-examples): the problem ("we couldn't charge your card ending 4242"), the fix (one "Update payment method" link), and the consequence ("your plan stays active until December 14"). Send the first one as soon as your payment processor confirms the failure, then tailor the rest to the decline reason. An expired card needs a new card, insufficient funds may clear on a retry, and a 3D Secure decline needs the customer to authenticate. Stripe enables Smart Retries for new accounts with up to 8 retries within 2 weeks ([Stripe docs](https://docs.stripe.com/billing/revenue-recovery/smart-retries)), so your emails should match that schedule instead of fighting it.

## What SendHQ does for failed payment emails

SendHQ is an email API for products and AI agents. For billing email it gives you:

- **Hosted templates with typed variables.** Declare `amount`, `card_last4` and `update_url` as required. If your webhook handler forgets one, rendering fails with 422 instead of sending "Hi {{name}}" to a paying customer ([SendHQ templates docs](https://sendhq.cc/docs/templates.md)).
- **Immutable releases and provenance.** Every send records the template, release and a rendered-content hash, so when a customer says "you threatened to cancel me", you can see exactly what they received.
- **Idempotent sends.** An `Idempotency-Key` header (up to 200 characters) replays the stored response for an identical request with `Idempotent-Replayed: true`, and a changed payload under the same key returns 409 ([SendHQ sending docs](https://sendhq.cc/docs/sending.md)).
- **Delivery events.** Bounces and complaints come back as signed webhooks, so you know when a dunning email never arrived, which matters more here than anywhere else.
- **A starting template.** The [SendHQ template library](https://sendhq.cc/templates.md) includes "payment failed" and a "final notice" sent 7 days after.

Pricing: Starter is $9 a month for 50,000 emails; Scale is $39 a month for 200,000 ([SendHQ pricing](https://sendhq.cc/pricing.md), checked November 30, 2026). There is no free plan.

![A failed charge becomes one email per attempt, never two](https://cdn.sanity.io/images/l4lj7ros/production/8f207d2e17d57c0f78ee2257e219e217fb4323c1-1344x326.png?w=1280&auto=format)

The idempotency key makes a retried webhook a no-op.

## 1. First notice: payment failed, retrying

Use when the first renewal charge fails with a soft decline and your processor will retry.

```
Subject: We couldn't process your payment for {{product}}

Hi {{first_name}},

We tried to charge {{amount}} to your card ending {{card_last4}} for your
{{plan}} plan, and the payment didn't go through.

We'll try again on {{next_attempt_date}}. To fix it now, update your card:
{{update_url}}

Your account stays active in the meantime.

Questions? Reply to this email.
{{company}}
```

What it shows: calm tone, the exact amount, and no threat yet. Adapt it by naming the next retry date from your processor (Stripe puts it in `next_payment_attempt` on the invoice).

## 2. Expired card

Use when the decline code is `expired_card`. Stripe's guidance is that the customer needs to use another card ([Stripe decline codes](https://docs.stripe.com/declines/codes)), so a retry alone will not work.

```
Subject: Your card on file has expired

Hi {{first_name}},

The card ending {{card_last4}} expired, so your {{amount}} renewal for
{{product}} didn't go through.

Add a new card here (takes under a minute): {{update_url}}

Until then, your plan stays active until {{grace_end_date}}.
```

How to adapt: send this one immediately and skip the "we'll retry" line, because retrying an expired card is pointless.

## 3. Insufficient funds

Use for `insufficient_funds`. Stripe's next step is an alternative payment method, but a later retry can also succeed, so offer both without embarrassing the customer.

```
Subject: Your {{product}} payment didn't go through

Hi {{first_name}},

Your bank declined the {{amount}} payment for {{plan}}. This can happen
for many reasons and is easy to fix.

We'll retry automatically on {{next_attempt_date}}, or you can use a
different card now: {{update_url}}
```

What it shows: never write "insufficient funds" in the email. Say "your bank declined it" and keep it private.

## 4. Card needs authentication (3D Secure)

Use for `authentication_required`: the issuer wants the customer to confirm the payment, which an off-session renewal can't do on its own.

```
Subject: Confirm your {{amount}} payment for {{product}}

Hi {{first_name}},

Your bank needs you to confirm this payment before it can go through.
This is a security check, not a problem with your account.

Confirm the payment: {{confirm_url}}

The link takes you to your bank's verification step.
```

How to adapt: link to a hosted payment page (for Stripe, the invoice's hosted page), not to the card form.

## 5. Bank declined, reason unknown

Use for `do_not_honor`, `generic_decline`, and also for `lost_card` and `stolen_card`. Stripe says not to tell the customer the card was reported lost or stolen; present those as a generic decline.

```
Subject: Action required: we couldn't process your payment

Hi {{first_name}},

Your bank declined the {{amount}} payment for {{product}} without giving
us a reason. Your bank can tell you why, or you can use another card:
{{update_url}}
```

## 6. Second reminder (about day 3)

Use when the first notice didn't work and the retry failed again. The subject gets more direct, the body stays short.

```
Subject: Second notice: update your payment for {{product}}

Hi {{first_name}},

We still couldn't charge {{amount}} for your {{plan}} plan.
Update your card to keep your account running: {{update_url}}

If you've already updated it, you can ignore this email.
```

## 7. Final notice before downgrade or cancel

Use before the last retry in your schedule. Stripe's retry settings end by canceling the subscription or marking it unpaid, so say which one happens and when.

```
Subject: Final notice: your {{product}} plan ends on {{cancel_date}}

Hi {{first_name}},

This is our last reminder. We couldn't charge {{amount}} after
{{attempt_count}} attempts. On {{cancel_date}} your plan will be
{{end_state}} and {{what_they_lose}}.

Keep your account: {{update_url}}
```

## 8. Payment recovered

Use when a retry or a new card succeeds. It closes the loop so the customer doesn't keep worrying.

```
Subject: You're all set: payment received

Hi {{first_name}},

Thanks, we received your {{amount}} payment. Your {{plan}} plan is active,
and there's nothing else to do.
```

## How do you stop a retried webhook from emailing twice?

Use an idempotency key built from the invoice ID and the attempt number. Stripe can redeliver the same `invoice.payment_failed` event, and your handler can crash after sending but before saving. With the same key and the same body, SendHQ returns the stored response instead of sending again.

```
// POST /webhooks/stripe (after verifying the Stripe signature)
const invoice = event.data.object;
if (event.type !== "invoice.payment_failed") return res.sendStatus(200);

// Your helper: read last_payment_error.decline_code from the invoice's PaymentIntent
const code = (await getDeclineCode(invoice)) ?? "generic_decline";

const templateKey = {
  expired_card: "payment-failed-expired-card",
  insufficient_funds: "payment-failed-bank-declined",
  authentication_required: "payment-needs-authentication",
}[code] ?? (invoice.attempt_count >= 4 ? "payment-final-notice" : "payment-failed-first");

const r = await fetch("https://sendhq.cc/api/v1/emails", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SENDHQ_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": `dunning:${invoice.id}:${invoice.attempt_count}`,
  },
  body: JSON.stringify({
    from: "billing@yourapp.com",
    to: [invoice.customer_email],
    template: {
      key: templateKey,
      data: {
        first_name: invoice.customer_name ?? "there",
        amount: (invoice.amount_due / 100).toFixed(2) + " " + invoice.currency.toUpperCase(),
        update_url: invoice.hosted_invoice_url,
      },
    },
  }),
});
res.sendStatus(r.ok ? 200 : 500);
```

`getDeclineCode` is yours to write: retrieve the invoice's PaymentIntent and read `last_payment_error.decline_code`. Keep the mapping table and the key pattern either way. More on key design in our guide to [idempotency keys for email APIs](https://sendhq.cc/blog/idempotency-keys-email-api) and on [email webhook reliability patterns](https://sendhq.cc/blog/email-webhook-reliability-patterns).

![Decline code decides the template and the next step](https://cdn.sanity.io/images/l4lj7ros/production/aea698ffcb596985634387e7f27899017dbb6b3c-1344x502.png?w=1280&auto=format)

Never reveal lost or stolen card reasons to the customer.

## Which one should you use?

| Situation | Example | Send when |
| --- | --- | --- |
| Soft decline, retry scheduled | 1. First notice | Right after the failure |
| `expired_card` | 2. Expired card | Immediately |
| `insufficient_funds` | 3. Insufficient funds | Immediately |
| `authentication_required` | 4. Authentication | Immediately |
| Unknown, lost, stolen | 5. Bank declined | Right after the failure |
| Still unpaid | 6. Second reminder | About day 3 |
| Last retry next | 7. Final notice | Before the last retry |
| Paid | 8. Recovered | On `invoice.paid` |

## When should you send each dunning email?

Send the first email when the failure is confirmed, a second around day 3, and a final notice before the last retry in your schedule. With Stripe's default of up to 8 retries within 2 weeks, a three-email sequence (day 0, day 3, about day 10) covers the window without emailing on every retry. If you set a custom schedule (Stripe allows up to three retries, each a set number of days after the last), send one email per retry. For setup details see our [transactional email production checklist](https://sendhq.cc/blog/transactional-email-api-production-checklist).

## FAQ

### What should a failed payment email say?

What happened (the amount and the card ending), how to fix it (one link to update the payment method), and what happens if nothing changes (the date the plan ends or pauses). Keep it short and friendly.

### When should you send each dunning email?

The first right after the failure, a reminder around day 3, and a final notice before the last retry. Add a "payment received" email when it succeeds.

### How do you tailor the email to the decline reason?

Map the processor's decline code to a template: `expired_card` asks for a new card, `insufficient_funds` offers a retry or another card, `authentication_required` links to a confirmation page, and lost or stolen cards get the generic "your bank declined it" email.

### How do you stop a retried webhook from emailing twice?

Send with an idempotency key such as `dunning:<invoice id>:<attempt>`. A repeated request with the same key and body returns the stored response instead of sending again.

### Should failed payment emails come from a no-reply address?

No. Customers reply with questions about billing, so use a monitored address. See how to [handle replies with inbound webhooks](https://sendhq.cc/blog/inbound-email-webhooks-no-duplicate-replies).

### Are dunning emails transactional?

Yes: they are about an existing account and payment, so they belong on your transactional sending domain, separate from marketing mail.

Ready to send dunning email that never double-fires? [Create a SendHQ account](https://sendhq.cc/pricing.md), verify your domain, and publish your first payment-failed template.

## Related articles

[8 Email Verification Email Examples (With Copy and Code)](https://sendhq.cc/blog/email-verification-email-examples) [8 Password Reset Email Examples (With Copy and Code)](https://sendhq.cc/blog/password-reset-email-examples) [HTML Email Invoice Template: 7 Outlook-Safe Examples](https://sendhq.cc/blog/html-email-invoice-template)
