#umairasif7-cli-error

1 messages · Page 1 of 1 (latest)

unreal rock
#

@solar cedar can you give a bit more context?

solar cedar
#

this is the command that I am using stripe payouts create --amount=112 --currency=gbp --destination=ba_1KQxMFQx9DyVo2G5CFriCH1s

unreal rock
#

are you creating a Payout on your own Stripe account or on a connected account

solar cedar
#

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.

unreal rock
#

the call you have right now you are making it on your own account since you never said which connected account to use

solar cedar
#

Is there any parameter to mention connected account?

unreal rock
solar cedar
#

How can I use this "--stripe-account <account_id>" in the above command?

unreal rock
#

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

solar cedar
#

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

unreal rock
#

I worry you might be mixing all the concepts together entirely

#

What is the balance of the connected account

solar cedar
#

Total balance: £1.47

unreal rock
#

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.

solar cedar
#

Alright, let me come from the start. Thank you for sharing the information. 🙂 I will contact again in case of any issue.

unreal rock
#

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

solar cedar
#

I just transferred some amount from other stripe account.

#

And it worked fine on payout with the above command.

unreal rock
solar cedar
#

We have to do payout manually in the syste,

solar cedar
unreal rock
#

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

solar cedar
#

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.

unreal rock
#

of course! Thanks for bearing with me as I tried to grasp the context. Let me know if I can help further!