#dieselwurks_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/1303399135885529119
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I'm in python.
21 expand=[
22 'data.payment_intent',
23 'data.line_items',
24 'data.invoice',
25 'data.payment_intent.latest_charge.refunds',
26 'data.line_items.data.discounts',
27 'data.balance_transaction',
28 'latest_charge.balance_transaction'
29 ]
This property cannot be expanded (data.balance_transaction).
Hello! Checkout Sessions don't have a Balance Transaction property. In this case your Checkout Session has a payment_intent property pointing to the Payment Intent, that Payment Intent has a latest_charge property pointing to the Charge, and the Charge has a balance_transaction property. Thus, you need to expand payment_intent.latest_charge.balance_transaction on the Checkout Session.
OK, I expanded that and it's running. I'll report back in a couple of minutes. Thank you.
Happy to help!