Configure Chargebee Smart Dunning with custom retry settings and handle dunning webhooks

domain: chargebee.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable Smart Dunning in the Chargebee dashboard under Settings > Billing > Dunning; Smart Dunning supports up to 12 automatic retries with Chargebee determining optimal retry timing based on decline type
  2. Classify retries by decline type: hard declines (e.g., do_not_honor) are not retried until a payment method update occurs; soft declines are retried automatically on a Chargebee-managed schedule
  3. Register a webhook for payment_failed event; the payload includes invoice_id, next_retry_at, dunning_status, and failure_reason_code
  4. Register a webhook for subscription_changed event which fires when a subscription's status changes to dunning or active after recovery
  5. At the end of the dunning cycle, handle the subscription_cancelled or subscription_changed webhook (depending on your configured end-of-dunning action) to suspend entitlements
  6. Use POST /api/v2/invoices/INVOICE_ID/collect_payment to manually trigger a payment retry outside of Smart Dunning when a customer updates their card

Known gotchas

Related routes

Configure Chargebee dunning settings and handle the payment_failed webhook to implement a custom retry sequence
apidocs.chargebee.com · 5 steps · unrated
Configure Chargebee dunning management and payment retry logic via Chargebee settings and webhooks
ecommerce-ops · 6 steps · unrated
Configure Stripe smart retries (Billing dunning) with custom retry intervals and test the dunning sequence using test clocks
docs.stripe.com/billing/revenue-recovery · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans