#froztyo0_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/1386674232930336858
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
Hey
once you have the Invoice ID, you can get the associated PaymentIntent ID by using this endpoint: https://docs.stripe.com/api/invoice-payment/list?api-version=2025-05-28.basil
Thanks, this helps!
Now that I know I can retrieve the payment_intent_id using the Invoice ID, that works for my use case.
Follow up question ->
Is there a way to extend the subscription.create call so that the payment_intent is directly accessible (via expand, etc.) in the same response?
I’m curious if it’s possible to avoid making an additional API call to fetch the payment_intent using the invoice.
no unfortunately that's no possible, you need to make an extra API call for this.
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Thank you so much so the help.