#hemal_api

1 messages ¡ Page 1 of 1 (latest)

carmine shoalBOT
#

👋 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/1302880060117876746

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

idle kindle
hallow field
#

req_CpJVji7Qn2YVoA

idle kindle
#

You should specify a stripe_account in the payout creation request.

By specifying a stripe_account, you are telling Stripe that you want to make an API call on behalf of a connected account. You can refer to this doc to learn more about making API request for connected account (https://stripe.com/docs/connect/authentication)

Learn how to add the right information to your API calls so you can make calls for your connected accounts.

hallow field
#

let me try

#

well that worked, now I am getting error of insufficient balance, how can I add balance and use it? (test mode)

#

I've retrieved balance using "stripe.balance.retrieve" and got this response

#

{
object: 'balance',
available: [ { amount: 19221696, currency: 'usd', source_types: [Object] } ],
connect_reserved: [ { amount: 0, currency: 'usd' } ],
livemode: false,
pending: [ { amount: 0, currency: 'usd', source_types: [Object] } ]
}

#

why I am getting an error of insufficient balance, as I've sufficient balance.

idle kindle
#

https://docs.stripe.com/testing#available-balance creat charges with these test cards

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

hallow field
#

not working, I've added funds in my stripe account. still getting the same error

idle kindle
#

What's the request ID again?

#

Also to confirm, did you create the charges on the platform?

hallow field
#

req_91nYpMYVerwQKM

#

will it work?

#

payout req ID: req_dBzhgHaWosSnas

idle kindle
#

Did you transfer the funds to the connected account?

#

Alternatively you might want to charge the connected accounts with those test cards

hallow field
#

in-short I just want to skip the step of transferring money to stripe's connected account, can I achieve that?

idle kindle
#

No, you can't transfer if there's insufficient balance

#

As I mentioned earlier, you should just charget the connected account with those test cards.

hallow field
#

Okay let me try

#

Done, it's working

#

Thank you so much for your time @idle kindle