Returns every attempt to collect payment for an invoice, newest first, with the reason for each failure. When a card payment fails, Acme retries it 1, 3, and 7 days after the first failed attempt. nextRetryAt on a failed attempt is the date of the next scheduled retry.
Security
ApiKey
- Sandboxhttps://acme-billing.redocly.app/_mock/apis/billing/invoices/{invoiceId}/payment-attempts
- Sandbox (mock data)https://acme-billing.redocly.app/_mock/apis/billing/invoices/{invoiceId}/payment-attempts
curl -i -X GET \
'https://acme-billing.redocly.app/_mock/apis/billing/invoices/{invoiceId}/payment-attempts?limit=25&cursor=string' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
{ "object": "list", "items": [ { … } ], "page": { "limit": 25, "hasMore": false, "nextCursor": null } }