#trudenn-balance-negative

1 messages · Page 1 of 1 (latest)

heady sorrelBOT
slim gale
#

Sorry my notification missed your message @dense roost my bad

dense roost
#

No problem!

slim gale
#

trudenn-balance-negative

dense roost
#

Yeah, I am getting the balance via the API, and thats where I am seeing the pending portion of it be negative.

slim gale
#

Whatever is negative likely comes from something else you are doing on that account like a Refund or similar

dense roost
#

Also, getting the payout through the API and it shows as paid. Although looking now, I see the data there says it complete today which is different than the dashboard

#

Hmm, Yeah, I looked and didn't see anything like a refund since that was my first thought.

slim gale
#

It's going to be tough to help in abstract though. You likely reversed a Transfer or a Destination Charge or something really. You can look at that account's BalanceTransactions using https://stripe.com/docs/api/balance_transactions/list and list them all and analyze them

dense roost
#

Yeah, those are all looking normal as well. I guess the other think that seems weird is the available portion from the balance API is the same amount as the most recent payout. Its almost like the balance API is behind or something

slim gale
#

Are you sure you are making the call on the connected account and not on your own platform or something by mistake?

dense roost
#

Yeah, I double checked its for the connected account. Going to double check the balance transactions

slim gale
#

Do you have an account id? I can try and look for a bit

dense roost
#

Yeah this is the connect account id acct_1NpbirCLXHaBXTgW

slim gale
#

When I look at that account I don't see any specific negative balance, just that you have a Payout on its way to the bank. If it's automatic Payout it's always sent a day early to land on the right day so it all seems normal to me right now at least

dense roost
#

Yeah I think the payouts and balance transactions look normal. Its just when I hit the balance API I get this:
{ "object": "balance", "available": [ { "amount": 4872122, "currency": "usd", "source_types": { "card": 4872122 } } ], "livemode": false, "pending": [ { "amount": -4862122, "currency": "usd", "source_types": { "card": -4862122 } } ] }

slim gale
#

gotcha so yeah that's kinda expected because of the way the Payout is sent automatically a day early

#

definitely not the easiest to internalize unfortunately

dense roost
#

yeah, so should I really be taking available - pending to see future funds that could be payed out? I guess on another connect account last week I saw pending was positive.

#

For context, on my webapp I show payments for a connect account and show payouts. But there is a weird space where a payment/invoice is paid, but the user won't see it in their payouts yet. So I was trying to show the pending amount that is sitting in the account but not yet sent in a payout.

slim gale
#

Yeah representing the balance is tricky. It's for Standard accounts way easier to send them to the Stripe Dashboard instead

dense roost
#

Hmm, is it basically if I have a payout that landed on the current day, that amount needs to be subtracted from my available balance and added to the pending balance in order to get the proper totals?

slim gale
#

yes

dense roost
#

ok, thanks for all your help!

slim gale
#

sure thing!