#PghDev-webhook

1 messages ยท Page 1 of 1 (latest)

ashen plover
#

Hello! Yeah unfortunately there isn't a webhook event for this today.

silk delta
#

Is this a popular ask by Stripe Developers?

ashen plover
#

I've seen it asked for before, but it's been like this for a while now - since past_due isn't a status on the Invoice, its not something we can emit a invoice.updated event for

silk delta
#

I saw due_date as a property in the invoice

ashen plover
#

Yes, so that's something you can store and use yourself to determine when an Invoice is past_due with your own logic

silk delta
#

Can I make a call an API call to Stripe to get invoices where the status is open/unpaid?

ashen plover
silk delta
#

okay will take a look into it. I think creating a webhook based on stripe realizing that an invoice is past due or current date is greater than the invoice's due date is a good idea

ashen plover
#

Yeah I can definitely flag it as feedback

silk delta
#

Thank you Karbi. I am taking off but have a good night ๐Ÿ™‚