#ezequiel-search-transfer
1 messages · Page 1 of 1 (latest)
Here's the thing, we currently have an account that receives payments, that account makes transfers to connected accounts.
What we want to do is get all those payments (transfers) that the connected account receives, so we can refund if its neccesary.
Do you have any idea/documentation?
We have APIs for all of this yes
https://stripe.com/docs/api/transfers/list is the API to list every transfer from your platform to a connected account
It has the destination filter if you want to only look at Transfers to a specific connected account: https://stripe.com/docs/api/transfers/list#list_transfers-destination
Thanks koop, I'm gonna check that, your'e a genius!
yay!
do you have any example of the destination filter? I actually made this but I get an error
Are you familiar with that part of the code? That's not really valid Javascript that you wrote
limit is a parameter, so is destination so they both go in the same place
did it work?
yeah, it works hahaha, so ashame thanks!