#bogdan-payout-balance

1 messages ยท Page 1 of 1 (latest)

ornate sierraBOT
languid thorn
leaden rampart
#

yep .. this one req_rUyNmJUBmGLiPc

languid thorn
leaden rampart
#

like this ?

#

โ•ฐโ”€ stripe balance retrieve --stripe-account=acct_1LdZ****** --live
{
"object": "balance",
"available": [
{
"amount": 1780,
"currency": "eur",
"source_types": {
"card": 1780
}
}
],
"livemode": true,
"pending": [
{
"amount": -456,
"currency": "eur",
"source_types": {
"card": -456
}
}
]
}%

#

also in dashboard I see this

#

so .. shouldn't we be able to payout exactly 1780 euro cents ?

languid thorn
#

Oh hmm

#

Looking again

#

If you try to initiate the payout with the dashboard ui above, will that work? Or does that fail too?

leaden rampart
#

unfortunatelly I can not press it .. because our flow requires that the payout also includes a referenceId (that our system generates) in the metadata ... so if I do it from the ui .. if it succeds then it will not have the reference in there

#

๐Ÿ˜„

languid thorn
#

Ah I see. Ok still looking. Might have to get a coworker to check since Discord is getting busier

leaden rampart
#

ok sure

vestal pollen
#

My understanding is that if you have a negative pending balance then it would be subtracted from what you can pay out

leaden rampart
#

so in our case we should be able to payout only 13.24E ?
even though the "Avaiable to pay out" amount is 17.80 ?

vestal pollen
#

that is my understanding and that matches what I see in the logs yes

#

it's definitely not the clearest

leaden rampart
#

and that is only if the pending amount is negative ? then I need to consider the total (available + pending)

but if the pending amount is positive then I can not use the total (available + pending) to payout ?

vestal pollen
#

bogdan-payout-balance

leaden rampart
#

waiting for a confirmation that this โ˜๏ธ is indeed the intended behaviour and correct implementation required on our side or if it's bug or something else

vestal pollen
#

correct

#

sorry Discord became super busy for a bit ๐Ÿ˜…

leaden rampart
#

ok ... so I tried now with 13.24E and it worked

vestal pollen
#

awesome!

leaden rampart
#

now the balance is available: 456 and pending: -456
and I tried to payout 100 (expecting it to fail) and it deed indeed fail

#

thank you @vestal pollen and @languid thorn

have a great day, and happy hollidays !