#jarek_code
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/1224826413933138051
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there!
By balance_transaction are you referring to the charges that make up the Payout amount or something else?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I mean the balance_transaction included in the payout object
There might be a bit of a misunderstanding. In this case, payout.balance_transaction refers to the movement of funds for that particular Payout.
How can we get transfer Ids included in this payout object?
I think this is what you're looking for: https://docs.stripe.com/expand/use-cases#charges-in-payout
Let me know if I've misunderstood!
the source will include the transfer id that was paid in this payout?
Sorry, I deleted your message since it included your secret key (even though it's a test key)
I recommend rolling it
Could you restate your question?
how to retrieve the transfer Id from this api for connected account ( not other charges just transfers)?
Just want to make sure we're talking about the same thing. In the context of destination charges, there's
- a Charge (ch_...) on the platform account
- a Transfer (tr_...) on the platform account for the transfer of funds to the connected account
- a Charge (py_...) on the connected account for the funds sent by the platform
The Charge object on the connected account (py_...) has a source_transfer property that corresponds to the Transfer from the platform (tr ...): https://docs.stripe.com/api/charges/object#charge_object-source_transfer
In short, I am creating webhook that is listening to payout.created, I need to get the transfer Id for this payout (payout does not have information about connected account so i cannot pass stripe account to retrieve the balance transaction list for connected account) please advise. thank you
I think we're mixing up terms here. A transfer exists on the platform account, while the payout exists on the connected account
Do you have an example payout ID you can share? I tried looking up the Payout ID you shared in your first message but I'm not seeing any results.
At the moment I am setting up the stripe integration. the flow will be i will send transfer to connected account, and payout will be created by stripe on the daily schedule automatic payout. when I listen to payout.paid event i need to know which connected account, and for which transfers this payout was created by stripe for.
the link you provided request to provide connected account's stripe id, but payout. paid object doesn't include connected account's stripe id
You'll need to work with Connect webhooks for this. the payout.paid event sent to a Connect webhook will include the relevant Connected account's account ID: https://docs.stripe.com/connect/webhooks#connect-webhooks
the flow will be i will send transfer to connected account
Are these transfers part of destination charges or one-off transfers?