#tak_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1230947960100098129
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
HI ๐
We don't have much insight into how these balances operate specifically. If you can share the API request ID for the payout creation I can take a look at that but for Account balance questions you will likely need to talk to Support https://support.stripe.com/contact
will this work for test environments?
Will what work? What specifically are you trying to do here?
As I mentioned, I am testing stripe connect payout, and I am doing so locally, on my machine, in test mode (Stripe dashboard). I created a small application from which I created a customer and a connect account. I then initiated a payment intent from the customer to the connect account, resulting in the transfer funds to the connect account. I then tried to initiate a payout using stripe.payout.create (https://docs.stripe.com/api/payouts/create) and the payout failed.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
๐ stepping in
As you noted above, the Connected Account only currently has instantly available balance
So to make a payout you would use method: 'instant': https://docs.stripe.com/api/payouts/create#create_payout-method
Otherwise you would need to wait for funds to become available to create a standard payout
The first image shows the error thrown by stripe's api when I initiate a payout
The second image shows the connect account's balance
Thank you, let me try it out
Is there a reason as to why all the connect accounts have instant balances, instead of regular balances?
They have both, as Instant Payouts are supported. You can read about Instant Payouts here: https://docs.stripe.com/payouts/instant-payouts#compare-instant-payouts-to-standard-payouts
Now I am getting this error: " Error: instant is not a supported method for payouts to a bank_account external account.
"
Ah yeah that is true
You can see which ones support it here: https://docs.stripe.com/connect/instant-payouts#external-account-eligibility
This is all explained in that doc