#nicdiblasi_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/1237216633739677786
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Sorry, I don't understand your question. Can you illustrate in an example on what you would like to achieve?
I want to retrieve the Payment Intent ID that was succeeded using a Payment Link. The payment link is limited to only one completed session, so i want to know the most efficient way to find the payment intent id.
Is that enough information?
Thanks for waiting! Discord is busy now and will take time to respond
I'm currently using the List all Checkout Sessions api endpoint but i want to know if there is another way
that is more efficient
After the payment is completed, a checkout.session.completed event will be sent. You will be able to find the payment_intent directly in the event itself: https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-payment_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.