#thehuyvb_error
1 messages ¡ Page 1 of 1 (latest)
đ 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.
Btw, I tried provide full permission for resticted key with no luck, the problem still there.
hi! what exact API call is this you're making? what's the request ID req_xxx or the exact API endpoint?
curl -G https://api.stripe.com/v1/accounts/acct_<account_id>
-u "rk_test_xxxxx"
with secret key I can list or get all belonging accounts.
but I can not do that with restricted key.
I'd suggest just using a secret key for this
secret key may cause security problem to me if I give it to my developer.
or if there are someone hack into system.
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.
ok, thanks for your help! I will see if there is another way to do.