#NewtReyes-balance-report-error
1 messages · Page 1 of 1 (latest)
I am trying to create a transfer and it's failing
Not a payout
A transfer from the Platform account to a Merchant account
Gotcha, my apologies. Request ID for the transfer then?
Here: 'req_R2LRE0NDSGQ53h'
Thank you, @frigid river
Why is the transfer not using the balance that I have in that account?
Also, I am trying to add more funds to that account using a top up
But the only option is a Wire Transfer
No test bank accounts in there.
The issue is that the funds need to be available immediately to be able to do this transfer. Your test account currently has a balnce of $0. Where are you expecting the balance to get added from?
But why is the balance report saying that I have $2k+ as my balance?
What am I missing
?
If my balance is $0, how can I add more balance for testing?
I thought a topup would help me with that.
Is there any way I can add balance other than topups?
If you use the top two cards here you can have access to those funds immediately https://stripe.com/docs/testing#cards-responses
Should I create a payment with one of those cards?
The topup would also help but that balance can also take time to become available as well
@onyx obsidian just to clarify: When you charge a card the funds are not available immediately. If you charge on Monday, funds are pending until Wednesday (2 days in the US).
What flow of funds are you trying to emulate? Are you just sending a one-off Transfer to a connected account, or is that transfer of funds associated with a specific payment/Charge?
Right now your account is on automatic daily payouts so every day the funds that would be available the next day are automatically paid out to your bank account, you're not building out a balance or anything so you have no funds/money to transfer to a connected account
I am sorry, but I may be missing something here. I don't have any payouts on my platform test account.
Look:
Am I missing something?
you have no balance right now
like the report you looked at ended in August, you had many transfer reversals and disputes
I do think you're mixing up many concepts overall
Taking a step back what are you trying to do? Are you charging a customer for $100 and later sending $90 to a connected account?
So, I am testing disputes on Stripe connect using destination charges.
Specifically, disputes which are won by the merchant.
So, when the dispute is won a transfer for the disputed amount is sent to the merchant account from the platform account.
That was failing because the system was telling me that the Platform account had no funds.
ahhhhh
But I was seeing $2k+ as the Platform balance.
and you were telling me I had $0.
What am I missing?
You also told me I had payouts enabled
but payouts are not enabled for the platform account.
Only for the connected account.
So, please help me understand what concepts I am mixing up.
Gotcha, thanks for clarifying, that is a pretty advanced flow
Yeah
The problem you have at a high level is: to transfer funds to a connected account, your platform needs to have funds available in its balance. To have funds available in the balance, you have to build a balance over time from previous charges and switch to manual payouts to basically accumulate money in Stripe. Once you do, you are able to transfer funds instantly to your connected account with the Transfers API.
Right now, your platform has no balance. You reversed some transfers to pull funds back from a connected account but those funds are help in reserves because those connected accounts don't have a balance yet. This is documented here: https://support.stripe.com/questions/reserves-for-connect-platforms-and-connected-accounts
As a platform you have to be aware of that and handle this build up of balance and keep enough money available to be able to recover
you have 2 options here
1/ Take the floating of the funds/loss risk, wait for the Dispute to be won/lost before you decide to reverse the Transfer. This ensures you only reverse when you lose the dispute for good and you don't need to transfer anymore
2/ Reverse on dispute creation, what you to today, but switch to manual payouts to accumulate a balance. When you do, you need to make sure your balance stays positive so that you can transfer funds to the right connected account on demand.
Does that make sense first?
Yes
To have funds available in the balance, you have to build a balance over time from previous charges and switch to manual payouts to basically accumulate money in Stripe.
Now, I have no payouts right now in my Test Platform Balance
sure but have you looked at your balance?
you have none
So you need to build a balance first. In Test mode it's easy there are test cards for this: https://stripe.com/docs/testing#cards-responses
4000000000000077Charge succeeds and funds will be added directly to your available balance (bypassing your pending balance).
yep you have nothing AFAICT all your balance is on hold
Also are you on manual payouts?
what does your code return when you call https://stripe.com/docs/api/balance/balance_retrieve to see your exact balance?
I think those $2k+ funds were pending as you correctly stated.
I just recently added that available balance.
But just so that you know, I have no bank accounts configured. So even with daily payouts, system won't generate a payout without an external bank account, right?
Now, I am still not getting this
The balance says that I have 95k+ on hold
But on the API it says that it's available
@onyx obsidian ^ does that make sense? I'm curious if that's the issue
try a transfer now
Oh, transfers were already working. They started working after I sent a payment using the first 2 cards here: https://stripe.com/docs/testing#cards-responses. That's why now I have available balance:
Anything else I should do?
I think you're set, you mostly needed to align with us on how all of this works
and now you know how to handle this in production (you will need manual payouts there too)
Makes sense
So, if payouts send money to our bank account automatically, we may end up having this issue in production too.
better to turn them off.
Also, pending balance won't help me if I need to make transfers.
On the other hand, I am still not understanding the difference between what I see in the Balance dashboard and what I retrieve using the Balance API.
Interesting
Now it changed:
it looked differently previously
Hello! I'm taking over for @violet hedge, nice to meet you! The Balance shown in the Dashboard is more of a summary and doesn't show the detail you get from the API. You should use the information you get from the API to determine what funds are available to be transferred.
It looks different in the Dashboard now because you switched to manual payouts.
Interesting
Why did it previously say that I had 95k on hold when the API balance was saying only 2k+ were pending?
is "on hold" different from "pending"?