#Fubaibai

1 messages · Page 1 of 1 (latest)

lunar briarBOT
hollow stirrup
#

👋 Thanks for reaching out
Could you please share mode details about your issue ?

modest grove
#

Hi thx for helping, yes ofc

#

So first, I'm in test env.
The concerned connected account is : acct_1M3hZrQOEkkKezN2
In the dashboard (https://dashboard.stripe.com/test/connect/accounts/acct_1M3hZrQOEkkKezN2/activity)
I can see that there is 8.46€ pending.

But now, when I use Stripe API in my application. In order to get the balance of this account I'm doing :

final RequestOptions requestOptions = RequestOptions.builder()
                .setStripeAccount(stripeAccount.getId())
                .build();
        Balance balance = Balance.retrieve(requestOptions);

        final double available = balance.getAvailable().stream()
                .filter(m -> m.getCurrency().equalsIgnoreCase("eur"))
                .findFirst()
                .map(m -> m.getAmount() > 0 ? m.getAmount() / 100.0 : 0)
                .orElse(0.0);
        final double pending = balance.getPending().stream()
                .filter(m -> m.getCurrency().equalsIgnoreCase("eur"))
                .findFirst()
                .map(m -> m.getAmount() > 0 ? m.getAmount() / 100.0 : 0)
                .orElse(0.0);

        return new UserBalanceDTO(available, pending);

And the result is :
available: 670.75€
pending: 0.0€

I don't get why it's different

#

So when I try to use a payout (using the api) for 670.75€ I got this exception :
You have insufficient funds in your Stripe account for this transfer. Your card balance is too low. You can use the /v1/balance endpoint to view your Stripe balance

#

ps : Balance.retrieve(requestOptions) return a negative pending, that's why my method return 0.0€ pending (i don't get it also)

hasty yoke
#

thanks, give me a while to look into it.

modest grove
#

thx a lot

hasty yoke
#

yeah it is weird, I don't completely understand it. I have no idea why our internal tools seem to say it has 670.75 EUR, makes no sense to me. Nothing about this is making sense to me.

modest grove
#

mmh weird

#

have u seeing 670.75 like me ?

hasty yoke
#

you should have 0 available balance because the account is on automatic payouts and you had a payout yesterday which should have cleared out your balance.

I think this is a result of some of the transfer you make to the connected account from charges that used the 0077 skip balance card, and some that did not, and then doing manual payouts as well.

hasty yoke
#

overall I would say if you want to test this, move the account to use manual payouts instead of autoamatic. Maybe having automatic and manual payouts on the same account cause issues. It wouldn't be possible in livemode anyway since you never actually have available balance on an account using automatic payouts. You only have it here because of the test cards.

modest grove
#

mmh ok, my application offer two ways to be paid. the automatic transfer provided by Stripe (daily, weekly or monthly : the user can choose) but he can also do a manual transfer if he wants to have a his money before the automatic transfer scheduled

#

is it a good way or i should not offer two way of payout

hasty yoke
modest grove
#

mmmh ok !

#

If I've well understand, in automatic payouts mode, Balance.retrieve will never return an available > 0 ?

#

and another question, is there a minimum amount for a automatic payout to be done ? I mean, if one of my connected has 0.64€ for example

latent wren
#

This page shows you the minimum payout amounts for each country/currency

#

Correct, on automatic there will typically be no available balance, though depending on the country and payout schedule it might appear there but already be allocated for a payout

modest grove
#

ok thx a lot

#

So reading the link, I've an issue, I've one connected account in production mode (country France) that can't be paid using automatic payout

#

The id of the account is : acct_1LotXf4DwxbgEnqb
He has 0.64€ waiting since 1 month

#

any idea about why ?

latent wren
#

Ah missed this question here, apologies

#

I'm not sure why, since it does appear to be on automatic payouts

modest grove
#

np

#

How can i investigate this ?

latent wren
#

For investigate actual payouts for particular accounts, this would be best handled via support: https://support.stripe.com/contact

They can look at the account verification and bank account details and help understand what's happening or will happen.