#idemoov-lo_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1389578826920755311
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
hi
I'm not sure I understand the question
I am migrating to the latest version of the stripe api so invoice.charge no longer exist (It introduce invoice.payments)
The question is to get the balanceTransaction is there a way to get it without iterating on each payments of the invoice (I know i will only have one payment on an invoice so it's okay but is there a cleaner way)
no unfortunately there isn't
Ok not really a problem for me but wanted to be sure there wasn't any cleaner way
it's to get application_fee, stripe_fee, and net amount that was done on an invoice
yes there's no other way
Ok thanks for the informations and the fast response, have a good day
you too, let me know if you need any more help
Maybe i have one question is payments auto send on invoice paid webhook event now ? I can't find the information in the changelog.
Yes i am on that page but it doesn't talk about webhook I think
depending on the API version pinned to the webhook endpoint, the object returned would have the same structure as the API object on that same API version
Ah ok didn't know that thanks for the information