Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

5282 articles

Automate payment retries


Automate payment retries

Automatically retry failed subscription and invoice payments to reduce involuntary churn.

Payments can fail for a number of reasons, but many of them are recoverable. Stripe Billing can automatically retry failed subscription and invoice payments for you.

To configure subscription retries in your Dashboard, go to Billing > Revenue recovery > Retries. For one-time invoice retries, go to Advanced invoicing features under Settings > Billing > Invoices.

Stripe recommends using Smart Retries, but you can also create a custom retry schedule.

Note

Stripe doesn’t retry payments if:

  • No payment methods are available.
  • The issuer returned a hard decline code .
  • The payment card is India-issued .
  • The Stripe Connect account has been disconnected.

Payment method ordering

When retrying, Stripe uses the first available payment method in this list, in this order:

PriorityPayment methodAPI attribute
1Subscription default payment methodsubscription.default_payment_method
2Subscription default payment sourcesubscription.default_source
3Customer default payment methodcustomer.invoice_settings.default_payment_method (for Customer objects) configuration.customer.billing.default_payment_method (for customer-configured Account objects)
4Legacy Customer default payment sourcecustomer.default_source

When you update payment methods after a failed payment attempt, update the field where the previous payment failed. For example, if a subscription has a default_payment_method, but you only update customer.invoice_settings.default_payment_method, Stripe continues to retry on the subscription’s default_payment_method.

Smart Retries

Using AI, Smart Retries chooses the best times to retry failed payment attempts to increase the chance of successfully paying an invoice. The AI model behind Smart Retries uses time-dependent, dynamic signals, such as:

  • The number of different devices that have presented a given payment method in the last N hours.
  • The best time to pay (payments made for debit cards in certain countries might be slightly more successful at 12:01 AM in local time zones).

Stripe uses this information to assess when to retry payments. We continuously learn from new purchaser behaviours and transactions, which provide for a more targeted approach over traditional rules-based payment retry logic.

Smart Retries reattempts the charge according to your specifications for the number of retries and the maximum duration. You can set the Smart Retry policy to retry payment a specific number of times within a time period: 1 week, 2 weeks, 3 weeks, 1 month, or 2 months. The recommended default setting is 8 tries within 2 weeks. You can also use automations to create different retry policies for different customer segments.

You can override this behaviour by disabling Smart Retries and defining your own custom retry rules. When you enable dunning, the next_payment_attempt attribute indicates when the next collection attempt will be.

Webhook events

For both Smart Retries and custom retry schedules, Stripe reattempts the charge according to your specified schedule. Use the invoice.payment_failed webhook to receive subscription payment failure events and retry attempt updates.

The attempt_count attribute on the invoice.payment_failed webhook indicates how many attempts have been made so far. If a failure returns a hard decline code, we can’t retry invoice payment without a new payment method. Retries continue to be scheduled, and attempt_count continues to increment, but retries only execute after detecting a new payment method. Unexecuted retries don’t create a new Charge.

The next_payment_attempt attribute on the invoice indicates the date when Stripe will attempt the next collection. For automations users, next_payment_attempt is no longer set in invoice.payment_failed webhooks but is set in invoice.updated webhooks.

Hard decline codes

Stripe can’t automatically retry a payment if the card issuer returns any of these hard decline codes:

  • incorrect _ number
  • lost _ card
  • pickup _ card
  • stolen _ card
  • revocation _ of _ authorization
  • revocation _ of _ all _ authorizations
  • authentication _ required
  • highest _ risk _ level
  • transaction _ not _ allowed

For these failures, the scheduled retries continue but the payment only executes if you obtain a new payment method.

Custom retry schedule

You can also modify the retry schedule with custom rules. You can configure up to three retries, each with a specific number of days after the previous attempt.

You can use the invoice.payment_failed event to monitor subscription payment failure events and retry attempt updates. After a payment attempt on an invoice, its next_payment_attempt value is set using the current subscription settings in your Dashboard.

Warning

When using automations, the next_payment_attempt is no longer set in invoice.payment_failed webhooks but is set in invoice.updated webhooks.

If recovery fails, the subscription transitions according to your settings. The options are:

SettingDescription
Cancel the subscriptionThe subscription changes to a canceled state after the maximum number of days defined in the retry schedule.
Mark the subscription as unpaidThe subscription changes to an unpaid state after the maximum number of days defined in the retry schedule. Invoices continue to be generated and stay in a draft state.
Leave the subscription overdueThe subscription remains in a past_due state after the maximum number of days defined in the retry schedule. Invoices continue to be generated and charge customer based on retry settings.

After the final payment attempt, we make no further payment attempts. Changing your subscription settings only affects future retries.

Retry local payment methods

Stripe can automatically retry failed payments made with local payment methods. Use the Local payment methods section for recurring subscription invoices, one-off invoices, or both, to turn on retries.

Note

If you enable local payment method retries, a payment can still fail. Stripe isn’t responsible for any losses if we don’t retry a payment made with a local payment method.

By default, Stripe doesn’t automatically retry failed payments made with local payment methods. To enable automatic retries for local payment methods, use the corresponding settings in the following table:

Local payment methodRetryable failuresMaximum retriesMaximum retry periodMandate requirementsRelease phase
ACH Direct DebitInsufficient funds240 daysACH Direct Debit mandatesGeneral availability
the related setting Direct DebitInsufficient funds130 daysthe related setting Direct Debit mandatesGeneral availability
Australia the related setting Direct DebitInsufficient funds430 daysAU the related setting Direct Debit mandatesGeneral availability
Bacs Direct DebitInsufficient funds230 daysBacs Direct Debit mandatesGeneral availability
New Zealand the related setting Direct DebitInsufficient funds130 daysNZ the related setting Direct Debit mandatesGeneral availability
the related setting Direct DebitInsufficient funds230 daysthe related setting Direct Debit mandatesGeneral availability
Last verified 2026-09-25

Is this helpful?