#dario-payouts-dashboard

1 messages · Page 1 of 1 (latest)

latent loom
#

hello

steel flint
#

Hi, thanks for the fast response. What if we don't have payout ID to begin with? We'd like to export all balance transactions via the API, so we call the balance_transactions.list endpoint first. How to drill down afterwards to obtain payout IDs?

latent loom
#

hmmm I wouldn't do that

steel flint
#

Ah, I see. So, the other way around. We first get a list of payouts, then get their balance transactions. After that, we fetch all balance transactions to get those without payouts. Is my understanding correct?

latent loom
#

yep

#

or you just wait for the next payout.created event on your webhook endpoint

steel flint
#

Ok, I'll try the suggested approach. Thanks again!