#Tjopsta - Balance Transactions

1 messages · Page 1 of 1 (latest)

heavy basin
#

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.

wise ibex
#

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?

heavy basin
#

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?

wise ibex
heavy basin
#

Yes, available_on is only available on the Balance Transaction object.

wise ibex
#

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

heavy basin
#

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?

wise ibex
#

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

heavy basin
#

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?

wise ibex
#

fair enough. I guess that makes a lot more sense

#

allright, thanks for the help rubeus