#anthonyl5602
1 messages · Page 1 of 1 (latest)
hi, I believe it's https://stripe.com/docs/api/payouts/object#payout_object-arrival_date .
"Oh great, thanks. However, is it mandatory to log in to my client's 'Stripe account' (with Stripe-Account) to obtain this information? Thanks."
if it's a payout that is happening on a connected account then yes.
ok thanks !
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
I have another question, how can I, starting from a transfer like 'tr_3OMIUrJnHcficTc30Ecjjr4U,' retrieve the associated payout? Thank you.
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.
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
👋 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?
Hello, I would like to know the payment from the Connected Account to their bank account
Okay then you can list payouts on your Connected Account(s) using https://stripe.com/docs/api/payouts/list and then look at the arrival_date property: https://stripe.com/docs/api/payouts/object#payout_object-arrival_date
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?
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
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That's just a Connected Account
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.
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
Okay, but the payments do I have to go through each connected account to list them?
is not possible an webhook
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