Failed payments
list_failed_paymentsList unpaid Stripe invoices from a look-back window that had at least one collection attempt, showing amount, customer, and attempt count to identify failed payments.
Instructions
Invoices from the last N days that Stripe tried to collect at least once and that are still unpaid (open or uncollectible), newest first, with amount, customer and attempt count. Totals cover every match; limit only truncates the invoice list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Length of the look-back window in days, ending now (1-365, default 30). | |
| limit | No | Maximum number of invoices to list (1-100, default 25). |