#thehuyvb_error

1 messages ¡ Page 1 of 1 (latest)

opaque crescentBOT
#

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

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

onyx fossil
#

Btw, I tried provide full permission for resticted key with no luck, the problem still there.

fluid relicBOT
sly sentinel
#

hi! what exact API call is this you're making? what's the request ID req_xxx or the exact API endpoint?

onyx fossil
#

with secret key I can list or get all belonging accounts.

#

but I can not do that with restricted key.

sly sentinel
#

I'd suggest just using a secret key for this

onyx fossil
#

secret key may cause security problem to me if I give it to my developer.

#

or if there are someone hack into system.

sly sentinel
#

ack. I don't think there's any other solution, so that's my suggestion.

#

there's no specific permission on https://dashboard.stripe.com/test/apikeys/create for accessing a connected account object, hence why there's an error about the restricted key not having some internal permission it would need; so AFAIK you just have to use a secret key.

onyx fossil
#

ok, thanks for your help! I will see if there is another way to do.