#amarsbar2000
1 messages · Page 1 of 1 (latest)
There's no field on the Invoice object that conveys that really
You can maybe infer it from the next_payment_attempt field: https://stripe.com/docs/api/invoices/object#invoice_object-next_payment_attempt
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
We have 4 weeks of retries. Could we maybe work out the remaining days by getting the date the invoice failed and the current date?:
How would I work out the date when the retry schedule started?
Well if next_payment_attempt is null then you can assume there are no more retries and the current failure was the last
Ok thanks but I mean can I get the date that the retry window started?
Is this the date of the first payment attempt?
Yes
Ok