#xiechao_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/1281222220143657002
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, we can only provide support in English. If you want to get help in your prefered language, please reach out to Stripe Support: https://support.stripe.com/?contact=true
How can I simultaneously retrieve the payment_intent, client-side reference_id, and balance_transaction fields in a single webhook
You can't get all of that with a webhook - you will need to make an extra API call. But you can expand your response: https://docs.stripe.com/expand
I am currently facing a very difficult problem that I have been researching for a long time. Can you help me
What I am currently monitoring is the checkout.session.completed event. How can I use the fields given to me here to query the details of this transaction, such as deducted fees, taxes, and other related information
Here's the relation of all the objects:
Checkout Session -> PaymentIntent -> Charge -> Balance Transaction
The latter one contains information about the fees. You can use expand, as I shared above to get all of those in one call: