Configure Stripe Billing Smart Retries and handle failed-payment webhook events for subscription recovery

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

Steps

  1. Enable Smart Retries in the Stripe Dashboard under Billing settings; Stripe uses machine learning to optimize retry timing based on card network signals
  2. Subscribe to invoice.payment_failed and invoice.payment_action_required webhook events in your endpoint configuration
  3. On invoice.payment_failed, retrieve the invoice and check attempt_count and next_payment_attempt to determine whether retries remain
  4. If next_payment_attempt is null, retries are exhausted; update the customer's subscription status in your database and trigger a payment update flow using the Customer Portal or a custom URL
  5. For invoice.payment_action_required, surface the PaymentIntent's next_action to the customer to complete 3DS authentication and recover the payment

Known gotchas

Related routes

Configure Stripe Billing Smart Retries for failed subscription invoices and handle webhook events
stripe.com · 6 steps · unrated
Enable Stripe Billing Smart Retries and configure invoice retry settings for failed subscription payments
ecommerce-ops · 6 steps · unrated
Configure Chargebee dunning settings and handle the payment_failed webhook to implement a custom retry sequence
apidocs.chargebee.com · 5 steps · unrated

Give your agent this knowledge — and 15,600+ 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