#Davaogoods
1 messages · Page 1 of 1 (latest)
Hello! To clarify, you want all Transfers made from a certain connected account? Or do you want all Transfers made to a certain connected account?
all Transfers made to a certain connected account
Yep, you can list Transfers by destination: https://stripe.com/docs/api/transfers/list#list_transfers-destination
What do you mean?
So you're good to go?
no, it's from a certain connected not to
Meaning the Transfer was created on the connected account and the money moved to your platform account?
Okay, you can make a connect request to list all Transfers that exist on the connected account: https://stripe.com/docs/connect/authentication
Wait.
That's not what you said.
Let's step back.
okay
The money is moving from the platform account to the connected account. Is that correct?
Okay, so that's represented by a Transfer on the platform account.
see my screenshot
So the original approach will work. You list Transfers on the platform account and set destination to the connected account ID you want the Transfers for.
hmm
would adding the stripe header and set the stripe account fetch it's own transfer activities?
No, because there is no Transfer object on the connected accounts.
The Transfer exists on the account the money is moving out of.
The money coming in is represented on the destination account by a Charge with a py_ prefix.
You can make a Connect request to list the Charges on the connected account: https://stripe.com/docs/api/charges/list
In order to do what's shown in your latest screenshot the original suggestion is what you need to do. Is it not working?
Specifically, this: https://stripe.com/docs/api/transfers/list#list_transfers-destination
so I just list the transfers and filter them on my code?
there is no direct filter for fetching based on the account id?
No, you specify the destination that is linked to directly by that link.
let me try it out
so destination must be set when requesting am I correct?
No, it's optional, but I thought you wanted Transfers which were only going to a specific connected account?
For example, let's say you only want the Transfers for acct_123. You would list Transfers and set destination to acct_123.
Does that make sense?
You're sure there are Transfers that have been made to that account? What's the ID of one of the Transfers you expected to see in the results?