Update Dunning Settings
Update dunning settings for an account.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Enable end-of-dunning outcome emails (subscription paused/canceled/left active). When unset, these follow the enable_emails toggle.
What to do with subscription if all payment attempts fail. Options: 'cancel' (default) or 'leave_active'
What to do with invoice if all payment attempts fail. Options: 'mark_uncollectible' (default), 'leave_open', or 'void'
When a customer updates their payment method, immediately charge all past-due invoices. Invoices not yet due are not affected.
Retry the failed initial charge on incomplete subscriptions created outside of checkout (including via the dashboard or direct API calls). Subscriptions created through checkout are never dunned.
Response
Enable automatic failed payment recovery retries. Defaults to False: an account that never configures dunning does not retry failed payments.
Enable automatic failed payment recovery emails. Defaults to False: an account that never configures dunning sends no dunning emails.
Enable end-of-dunning outcome emails (subscription paused/canceled/left active). When unset (null), these follow the enable_emails toggle, preserving prior behavior; set explicitly to control them independently.
What to do with subscription if all payment attempts fail. Options: 'cancel' (default) or 'leave_active'
What to do with invoice if all payment attempts fail. Options: 'mark_uncollectible' (default), 'leave_open', or 'void'
List of product IDs to apply dunning to (empty means all products)
When a customer updates their payment method, immediately charge all past-due invoices. Invoices not yet due are not affected.
Retry the failed initial charge on incomplete subscriptions created outside of checkout (including via the dashboard or direct API calls). Defaults to False. Subscriptions created through checkout are never dunned.