#Эдем-payouts
1 messages · Page 1 of 1 (latest)
hi, you can only filter by the parameters in the API reference(https://stripe.com/docs/api/balance_transactions/list). Any other filtering of the results would need to be done in your code that parses the results.
I can use "source" and "type" parameter, but it is the only one value, not list
indeed! the only options are the ones that are in the API reference. There's no way to only get back BTs with values in the specific fields you mentioned, you'd just have to filter the response in your .NET code that handles the ListAutoPagingAsync loop
One payout can contain a thousand balance transactions 😦
Maybe another way exists, using payments or payment_intents in order to find transactions' amount and then find correspondent payouts
It may sound silly)
the best way is to reconcile payouts by listing BTs in the payout and mapping that back to payments
i.e. what you're presumably already doing (https://stripe.com/docs/expand/use-cases#charges-in-payout)
I don't see why it's a problem that it's many requests or there are thousands of BTs, this is more of a backend reconciliation job where performance is not as important