#jarek_code

1 messages ¡ Page 1 of 1 (latest)

outer thunderBOT
#

👋 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.

rare stoneBOT
hybrid cypress
#

Hi there!

#

By balance_transaction are you referring to the charges that make up the Payout amount or something else?

dusk iron
#

I mean the balance_transaction included in the payout object

hybrid cypress
#

There might be a bit of a misunderstanding. In this case, payout.balance_transaction refers to the movement of funds for that particular Payout.

dusk iron
#

How can we get transfer Ids included in this payout object?

hybrid cypress
#

Let me know if I've misunderstood!

dusk iron
#

the source will include the transfer id that was paid in this payout?

hybrid cypress
#

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?

dusk iron
#

how to retrieve the transfer Id from this api for connected account ( not other charges just transfers)?

hybrid cypress
#

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
dusk iron
#

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

hybrid cypress
#

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.

dusk iron
#

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

hybrid cypress
#

the flow will be i will send transfer to connected account
Are these transfers part of destination charges or one-off transfers?