# Decline-code dunning audit for early-stage subscription SaaS

> Project brief for Claude Code from NixInc Ideas: https://nixinc.co/ideas/2026-10-05-decline-code-dunning-audit-for-early
> Scored 6.7/10 on 5 Oct 2026, verdict PASS. Prices are as of the dates shown.
> Looked at again in the weekly review on 5 Oct 2026: WATCH, 6.1/10. https://nixinc.co/ideas/2026-10-05-subscription-retention-leak-audit

## What we're building
Soft and hard card declines need different recovery steps, and small subscription SaaS teams may not know how their current setup treats each decline code.

## Who pays
The finance or operations owner at a subscription SaaS company using Stripe, Braintree or Recurly.

## What they already pay
- Baremetrics, Payment Recovery add-on: $129/mo (as of 5 Oct 2026)
- Baremetrics, Recover at $300,000 MRR: $499/mo (as of 5 Oct 2026)

## Milestone 0: the 72-hour test, before any code
Offer ten founders a manual audit and a $129 refundable pilot deposit.

- Pass line: Success requires three deposits and five redacted failed-payment exports.
- Stop rule: Kill the idea with fewer than three deposits or fewer than five usable exports.

Do not start milestone 1 until the pass line is met.

## Milestone 1: the smallest version worth shipping
A manual audit: take a founder's redacted failed-payment export, group failures by decline code, and show which codes get the wrong retry, email or payment-link treatment, with a short fix list. Offer it to ten founders behind a $129 refundable pilot deposit.

## Skip in v1
A recovery dashboard, retry engine or dunning emails; Baremetrics, Churnkey, Churn Buster and Stripe retries already do these.

## Needs
Redacted failed-payment exports from Stripe, Braintree or Recurly, each processor's decline-code documentation, a list of 50 Stripe SaaS founders with visible subscription pricing, and a way to take refundable deposits.

## How to work in this repo
1. Plan before you edit: say which files change, the smallest change that works and how you will check it, then wait for a yes.
2. One task at a time, small enough to read in one diff.
3. After each change, run the checks, then say what changed, what you tested and what still needs a person to look at.
4. Check it like a first-time customer: run the real thing and try the empty, error and success paths.
5. Keep secrets out of the repo and out of chat. Environment files stay local.
6. Ask before installing dependencies, touching payments or sign-in, or deleting files.
7. Do not build anything listed under "Skip in v1".
