#latwelve

1 messages · Page 1 of 1 (latest)

rough joltBOT
#

Hello latwelve, we'll be with you shortly! 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.
• latwelve, 2 minutes ago, 10 messages

pale onyx
#

Stripe CLI is to be used for test mode for the most part.
are you using --live flag?

plush lava
#

im not!

#

😄

#

I thought a live key would have trigger that

#

I'll try thank you

#

is that flag for login or for a specific action?

#

as it says unknown on stripe login --live --api-key xxx

pale onyx
#

its for commands you run after logging in

plush lava
#

ok

#

thanks I got an issue with the live key:
does not have the required permissions for this endpoint on account 'acct_19uOOIIEG6XkSwCO'. Please use a different key to perform this action.

#

as far as I'm aware there is no way to set permissions on live keys

#

is this a misleading message or is it because im not the main account holder?

pale onyx
#

Are you logged in via the platform account or the connected account?

plush lava
#

im not sure what that means sorry - I'm not the owner I'm the dev and should have full permissions set as far as im aware

#

the platform account

#

(not a stripe connected account) sorry just realised what you meant

pale onyx
#

Like when you run stripe login and you get redirected to the browser, are you being prompted to login to an account?

plush lava
#

yep

#

and its into the main account that im looking to add a connected account to

pale onyx
#

Gotcha. So Stripe CLI when logged in uses a restricted key to operate (it doesn't actually use your live API keys)

If you look under
https://dashboard.stripe.com/apikeys

You should see restricted API key in the table

plush lava
#

gotcha

#

all good i've just managed to get in with running it with code - but thats very handy to know

#

thanks for your help

pale onyx
#

You can edit it