#ostrovsky_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/1372867625448902707
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
transfer overview
The FX would occur on the corresponding connected account you sent the transfer to, where it is exchanged from USD to CAD
How can I get the exchange_rate associated with a BalanceTransaction through FX?
You'd look it up on the connected account using the 'payment' ID on the Transfer: https://docs.stripe.com/api/transfers/object#transfer_object-destination_payment
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That py_xxx ID exists on the conncted account, so you'd use the Stripe-Account header to retrieve that and expand balance_transaction property
Is there a way to retrieve the Summary information shown in the image?
Not in a single API call no
Which APIs do I need to call, respectively?
Use this API: https://docs.stripe.com/api/charges/retrieve, with the py_xxx form that property I mentioned
Note you'll need to pass the Stripe-Account header with the conncted account acct_xxx ID
thanks,i will try it
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Thank you. I'm currently trying the method above, and I don't have any other questions at the moment.
would you mind me closing the thread then?