#Scott-transfers-connect
1 messages · Page 1 of 1 (latest)
You can list all transfers sent to a connected account by specifying destination: https://stripe.com/docs/api/transfers/list#list_transfers-destination
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So I tried this but I get the gross amount rather than the NET
What do you mean by that? Do you have an example?
Here you can see the amount is 920
But there are application fees applied and they are not accounted for
Do you mind sharing that transfer ID here so I can look it up on my end?
Sure: tr_3Kr8LZBHoAmxvHT40EYRhWkA
Ah, so you're doing destination charges with an application fee and you want to be able to see how much the connect account keeps after the application fee has been subtracted. Is that right?
That's correct, I'd like the user to see how much net they made today rather than gross
so I loop through the transactions then do other stuff with that
Would it work for you to retrieve the transfer and expand destination_payment? I believe the destination payment should break down how much was in the application fee and you should be able to get the net from there
I will give it a go for sure
How can I grab the destination payment using the DestinationPaymentID?
When you retrieve the Transfer you'd use expansion - https://stripe.com/docs/expand. If you're retrieving a single Transfer you'd expand destination_payment, but if you're retrieveing a list then you'd expand data.destination_payment
Okay perfect, thank you