#thai-huynh_api

1 messages ¡ Page 1 of 1 (latest)

halcyon raftBOT
#

👋 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/1346270016676298762

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

quaint hawk
#

Hello! Not sure what you mean by "session ID" as that could refer to many different things. Can you provide more details or an example?

fossil lily
#

checkout session id

#

i want to be able to get all the fees breakdown

#

from a checkout session id

quaint hawk
#

Ah, okay, you would need to look at the Balance Transaction(s) associated with it. The Checkout Session in this case looks like it was for a couple of one-off items (meaning non-recurring), so the Checkout Session should have created a Payment Intent. That Payment Intent, in turn, created a Charge. The Charge will have a reference to the Balance Transaction. There's also an application fee on this one, which isn't a Stripe fee, but a Connect platform fee, and that information will be directly on the Payment Intent.

#

Give me a moment to add some relevant docs links to that message...

fossil lily
#

got it

quaint hawk
#

Links added!

fossil lily
#

thank u