#Mytras
1 messages · Page 1 of 1 (latest)
hi
hello! if you've set your Subscription to transition to past due if an invoice is past due by X days, you can monitor the customer.subscription.update status where the subscription moves into past_due status
what about 1 time payment invoices?
there's no explicit event for that. The invoices have got a due_date field : https://stripe.com/docs/api/invoices/object#invoice_object-due_date
I think what you can consider doing is to retrieve all invoices that have due_date < date and status is open
ok thank you