#benjamin_api
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/1405124614471946314
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
Hi!
so if I understand correctly, on txn_3RdDI0CX9xTSGdbg1oRHUzhVn, when you expand the ch_xxx ID, you don't see the Invoice ID?
Exactly
can you share an example of a TXN where you got the Invoice ID in the response, so I can compare the two?
Yes, for example txn_3RvKkMK7OY2vIdku0AXGbzra in account acct_1NQOqQK7OY2vIdku
do you have a specific request ID (req_xxx) where you retrived that TXN with expand?
req_rVCJPl2m6sJujj
thanks, having a look
do you have the full JSON response for this request req_m3A3y7J927BMkk?
(Stripe doesn't store the reponse of GET request, so I cannot see it on my end)
I can reproduce it
Again with id txn_3RdDI0CX9xTSGdbg1oRHUzhV
RequestId: req_oUTkOQ2QYjeM99
Full response is attached
perfect, thanks! still looking into this.
that's odd. and you get that issue consistently with acct_1OUkEVCX9xTSGdbg, and it's working as expected with other accounts?
OK, I think we found the issue!
when creating a Payment Link in the Stripe Dashboard, Stripe automatically use the latest API version for the API requests.
and in the latest API version, we removed the invoice property from the Charge: https://docs.stripe.com/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices
Oh okay. Bad news for me, since this means my application is broken. But great that you found the cause, thanks!
since you have the PaymentIntent ID, you can make an extra API call to this new endpoint to retrive the associated invoice: https://docs.stripe.com/api/invoice-payment/list