#luke-balance

1 messages · Page 1 of 1 (latest)

icy topaz
#

hi there, what's the account ID acct_xxx of the connected account?

teal rock
#

Hi

#

Thanks for the quick response

#

acct_1JlFAe4JfsjDhIYw on live

#

Just wanted to check my mental model of payouts

#

Should we then be assuming that the actual amount available to payout is then "available" + "pending"?

icy topaz
#

no, only available balance can be paid out

teal rock
#

Thats what I thought as well

#

But I'm not sure how we should be handling this negative balance

#

The connected account has a payout that is in_transit for £2.38

#

Is there another method we can use to check if a payout request will succeed?

#

Other than checking available > 0

icy topaz
#

you don't need to make a payout request though

#

the account is on automatic payouts (that's what happened today, it got an automatic payout), you don't need to manually trigger them from the API

teal rock
#

Should have clarified, we do have automatic payouts enabled yes but we also have a button on our application that allows users to do a manual payout too

icy topaz
#

yeah that can't work though

teal rock
#

We disable the button though whenever the available balance is < 1£/1€

icy topaz
#

or maybe it can, since you use this monthly_anchor and interval settings

#

never actually looked at those settings unfortunately so not too familiar with them

#

anyway, creating a payout will fail if the account doesn't have enough available balance

teal rock
#

that's the interesting part here though

icy topaz
#

pending balance will move into available according to the payout timing for the account

teal rock
#

The available balance is 2.38£ which is above the 1£ threshold for the minimum payout set by stripe

#

So with my previous mental model, that payout should have gone through

#

But as it turns out there was already a payout made as you saw, that didn't actually decrement the available balance

icy topaz
#

yeah I don't know yet why your request failed

teal rock
#

Instead it created a negative pending balance

icy topaz
teal rock
#

I would assume it's because there is "-2.38" pending to be subtracted from the available balance?

icy topaz
teal rock
#

Thanks

icy topaz
#

I really don't know much about this

teal rock
#

I appreciate your time: Are you a staff member?