#VanessaD
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
do you mean you want to update the upcoming invoice with some metadata?
yes, is it possible ?
yes sure just give me a second to find you the reference
do you have a webhook endpoint setup?
no
the idea is to listen to this event https://stripe.com/docs/api/events/types#event_types-invoice.upcoming
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and when you receive the event you would be able to update the metadata of the invoice
by creating an invoice item associated to the upcoming invoice ? https://stripe.com/docs/api/invoiceitems/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
no need
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
even if the invoice has upcoming status ?
up until the invoice gets finalized you can still update it
ah yes for 1 h. Thanks so much for your help !