#b33fb0n3_api

1 messages ยท Page 1 of 1 (latest)

slate sageBOT
#

๐Ÿ‘‹ 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/1504151006978638016

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

delicate kindle
#

I mean this one:

limber seal
#

hello! sadly we don't know much about the dashboard here on the discord server, we specialize in supporting integration building (code, APIs, SDKs etc). for help with dashboard behavior like this i'd check with our support team by clicking Contact support here

delicate kindle
#

yea, its not about the dashboard. I would like to know how to add a person to the account via API ๐Ÿ™‚

The screenshot was just to show what I mean

#

I got very confused with accounts, account v2, account persons, account tokens, account sessions ....

limber seal
#

ah sorry i misread ๐Ÿ˜… 1 sec

delicate kindle
#

no worries ^^

limber seal
#

ok so i am just double checking but i am pretty confident that there is no way to do this via the API currently. can you share more details about what precisely you're trying to do just in case? are you trying to configure new admin users for your existing stripe account?

#

or is this related to stripe connect somehow?

delicate kindle
#

oh ok. Yea, its not stripe connect. Yea, it's about adding a new team member to the account with the role 'admin'. I got the secret key for the account, so I guess I have access to everything, right?

Else what endpoint to use to create an "rk_..." key with basic permissions?

limber seal
#

ok then yes, there isn't currently a way to do that via API. and yeah if you created the account you are already the admin ๐Ÿ™‚

delicate kindle
#

yea, I didnt created the account, but I got the secret key. But I just need an RK_... key. Technically I can already use the secret key from his account, but that not the way to handle stripe elements

limber seal
#

FYI need to step away for a few minutes

delicate kindle
#

yea, lmk when u r back

limber seal
#

ok i'm back - so you're trying to create a restricted key by using a secret key? i'm pretty sure that's also not possible via API, i think creating restricted keys is only possible via https://dashboard.stripe.com/apikeys

delicate kindle
#

hmm yea... I only got the secret key, nothing else. So I cant do anything via dashboard. Only via API... any ideas?

limber seal
#

yep just double checked, there is not currently a way to create a restricted key, so asking the admin to generate one for you (or asking them to set you up with dashboard access) would be the only way forward here

delicate kindle
#

hm ok... or I use his secret key for elements?

limber seal
#

can you explain what you mean by that? elements are initialized with a publishable key

delicate kindle
#

oh no... then I need the public key... right? ๐Ÿ’€

I create the paymentIntent with the secret key on the serverside

limber seal
#

yep that is the way, but for initializing elements you will indeed need the public key, which is also only accessible via the dashboard

delicate kindle
#

LMG: I cant request it from somewhere via API?

limber seal
#

yep, sadly this is the case

delicate kindle
#

alr, thanks for letting me know ๐Ÿ™‚

limber seal
#

yep of course! best of luck ๐Ÿ™‚

delicate kindle
limber seal
#

yep, public keys are needed to initialize elements (see an example in our docs here)