#Tjopsta - Balance Transactions
1 messages · Page 1 of 1 (latest)
Hello! No, it's not possible to receive Balance Transactions with webhooks. The recommended approach for what you're describing is to periodically list Balance Transactions in the API and process them as you see fit.
hmmm ok... so like once a day, every couple of hours, call the webook for each of my connect accounts and then recon like that
ok so... with that then, for let's say payments / charges. It doesn't seem like the available date is in the object. that correct? so just calculate the available date?
Webhooks would not be involved.
You can list the Balance Transactions on whatever schedule makes sense for your situation.
By available date do you mean the available_on property of a Balance Transaction?
yup
yup, understood. I meant, I'll call the API to list the transactions for a particular day and recon..but thanks for the clarification
Yes, available_on is only available on the Balance Transaction object.
hmmm...ok. Any recommendation on how to figure that out? (Available date). Should I assume a calculated payout date when the transaction is created, and then recon once I call the balance transactions?
I mean, available date, not payout date
I'm not sure I completely understand what you're trying to do. You mentioned updating a customer's balance... can you clarify that part?
allright, so payments are run for connect accounts. Our app is the platform, implementing custom connect. so customer in this context means connect account. I'm trying to provide the connect account with their "available balance" as payments, etc happens. so like, this is pending, and as transactions become available, that balance is then available for payout.
connect account does payment on their customer > added to pending balance > becomes available for payout
Why are you trying to keep a running total on your end instead of fetching the connected account's actual balance from the API as needed?