#anthonyl5602

1 messages · Page 1 of 1 (latest)

worldly lilyBOT
gaunt jetty
hoary lodge
#

"Oh great, thanks. However, is it mandatory to log in to my client's 'Stripe account' (with Stripe-Account) to obtain this information? Thanks."

gaunt jetty
#

if it's a payout that is happening on a connected account then yes.

hoary lodge
#

ok thanks !

gaunt jetty
#

you'd call the Payout List/Retrieve endpoints using Stripe-Account; and or you'd have a Connect endpoint (https://stripe.com/docs/connect/webhooks) to listen for payout.created/payout.paid events on the connected accounts

hoary lodge
#

I have another question, how can I, starting from a transfer like 'tr_3OMIUrJnHcficTc30Ecjjr4U,' retrieve the associated payout? Thank you.

gaunt jetty
#

generally you go the other way, you start with the payout and reconcile that to the incoming transactions that are part of it

#

given a transfer only you can't say what payout it ended up in, instead you reconcile the payouts on the connected account as they occur, and then you can mark/set metadata/store in your DB what transfer and payments were in the payout.

worldly lilyBOT
hoary lodge
#

Thanks for your help. I'll explain my need to you, maybe I'm doing it wrong. Via the stripe API, for example, I want to retrieve all the bank transfers that have been made to all my clients' accounts. I need the "theoretical" reception date on my customers' account." Is this the right way to make a first API call to /transfers with the dates "from December 1, 2023 to December 31, 2023"? Thank you

halcyon vault
#

👋 stepping in

#

Catching up

#

You want to know the data of the transfers from your platform to the Connected Account or the payout from the Connected Account to their bank account?

hoary lodge
#

Hello, I would like to know the payment from the Connected Account to their bank account

halcyon vault
hoary lodge
#

The thing is that I can't afford to go through each connected account of my customers (I have a lot of them) the easiest way would be to go through the /transfers but it's not possible to go back to the payment it looks like?

halcyon vault
#

I'm not sure what you mean by that?

#

You are creating Transfers separately from the Charge?

#

And you want to know the associated Charge?

#

If you share a specific example ID then we can look at that together as well

hoary lodge
halcyon vault
#

That's just a Connected Account

hoary lodge
#

this is a customer, we see all the transfers he has received on his account, with the expected dates of receipt. But I have 300-400 customers I can't afford to go via the API to each account to see the money transfers that have been made to their account. I told myself that by making an API call to /transfers and putting created[gte] and created[lt] in the parameters I can filter the transfers received by month and it works very well. The problem is that the transfers do not give the date of receipt of the money to my clients' account, I have the payments, but the date is not correct.

halcyon vault
#

Yeah that's because Transfers are just the funds moving from your platform to the Connected Account

#

Not the Payout

#

You will have to list Payouts like I said above to get that information

#

You could also ingest the data in your own database via a Webhook by listening to payout.paid

hoary lodge
#

Okay, but the payments do I have to go through each connected account to list them?

#

is not possible an webhook

halcyon vault
#

Yes you would have to loop over your Connected Accounts and list for each account. There is no way to make one request and list Payouts for multiple accounts

hoary lodge
#

okok

#

Is it possible to retrieve connected accounts via the API?

#

/accounts

halcyon vault