#wendy
1 messages · Page 1 of 1 (latest)
HI 👋
I am assuming this is a customer balance that will only be appleid to the initial invoice. In that case you will want to listen to the invoice.created webhook event and update the Invoice created using the custom_fields parameter.
https://stripe.com/docs/invoicing/customize#custom-fields
how do i guarantee the update that we'll made in the invoiceCreated webhook is completed before the payment in full is made as our sync endpoint don't currently wait for that
How are you creating your subscriptions? Are you charging automatically on the first invoice?
yes
i think i can update the latest invoice before paying it
the custom_fields appear as footer?
Then I think the custom_fields approach is the best bet here. You can preview how this will look by trying it out in our Invoice Editor in the Dashboard: https://dashboard.stripe.com/invoices/create