#LeXuS-balancetransactions
1 messages · Page 1 of 1 (latest)
hi there! not sure I follow the question. That API is a list of all actions that added or subtracted to your account's balance over time.
Yes but in the query I have currently I only query the payments (type filter) because I don't want to display the rest.
What I want to do it take only the payments and the refunds from this list and have them paginated
Because according to the doc, I currently cannot do this and this would mean I have to reconcile the pagination on my side which is not ideal
if you only want one type of transaction you'd use https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-type and that's all that would be returned. If you want only two types, you'd make separate sets of paginated calls for each type and combine them yes
Yes indeed that's what I understood but it's not really practical for pagination
Because how would you paginate 50 rows of two different types when you don't know how many are there in each set for a specific period of time
Hello 👋
Taking over for karllekko here as they had to step away