#umairasif7-cli-error
1 messages · Page 1 of 1 (latest)
this is the command that I am using stripe payouts create --amount=112 --currency=gbp --destination=ba_1KQxMFQx9DyVo2G5CFriCH1s
are you creating a Payout on your own Stripe account or on a connected account
I am using stripe custom connect account, in that connect account, I added some external accounts. To use stripe payout, I am giving the command the above-mentioned command.
on a connected account
the call you have right now you are making it on your own account since you never said which connected account to use
Is there any parameter to mention connected account?
How can I use this "--stripe-account <account_id>" in the above command?
by adding it to your command. It's exactly the same as --currency-gbp you add --stripe-account acct_1234566 where the id is the id of the connected account
I have £1.47 in account, and I am giving 100 pennies in amount, but its showing insufficient balance.
I am doing all that in test mode. Here is the stripe account id that I am using acct_1KQYiqR8CnBroTH0
I worry you might be mixing all the concepts together entirely
What is the balance of the connected account
Total balance: £1.47
I know you say that, but please show me the exact API response when you make the API request for it. I worry you are mixing up you own Stripe account's balance with the connected account's balance or its pending balance.
You do have to take it one step at a time and do the right API requests for the right account.
Alright, let me come from the start. Thank you for sharing the information. 🙂 I will contact again in case of any issue.
that connected account is already on automatic payouts, the payouts have been created for their balance
I worry you are mixing things up and you should just never create payouts and let us do this automatically for you which is the default
you can look directly in that account's Dashboard and see its balance
I just transferred some amount from other stripe account.
And it worked fine on payout with the above command.
sure but that account is on automatic payouts which you can see here: https://dashboard.stripe.com/test/connect/accounts/acct_1KQYiqR8CnBroTH0/activity
We have to do payout manually in the syste,
Yes, I got your point, I will disable it soon.
okay so if you disable this now, then you can look at that account's balance, confirm they have and then create the payout!
My advice: stop using the CLI. It's way easier if you write simple scripts in your favourite language
Yes, you are right. I was just testing it on CLI with the desired parameters.
I will definitely do it in the programming language.
Thank you very much for the help, it helped a lot.
of course! Thanks for bearing with me as I tried to grasp the context. Let me know if I can help further!