#jimmy-sandoval
1 messages · Page 1 of 1 (latest)
Hi there, how can we help?
Hi orokaro
I have this configuration about manage failed payments
How can I get this information, about the number of attempts I have left and about the last payment attempt date?
You have these inside the Invoice object of the Subscription: https://stripe.com/docs/api/invoices/object#invoice_object-attempt_count and 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.
Please, give me a minutos
i will review your suggestion
orakaro, i have a question
The image that i shared you
Says: Retry up to 4 times within 2 weeks
the attempt_count parameter of the invoice objet would be 4?
🤔
or is it a counter that will increment from 1, 2, 3 to 4?
Yep
@ashen trail
Isn't there a way to retrieve the total number of attempts I can make and the last attempt date?
I have this UI, and i get the information abount attempt payment
If you use this Retry Policy API then yes it would gives you the details: https://stripe.com/docs/billing/revenue-recovery/smart-retries#retry-policies
This is BETA?
So, i don't get information about this retry policy?
by default, unfortunately yes