#narayana-karthik_api
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/1235806921122910230
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! to confirm, you are trying to retrieve the Account and received that error message?
if yes, can you share the connected account id?
Let me be clear on this. Customer already have stripe account and they bought our application and try to use their stripe account in our app.
By entering their Stripe account id, what we will do we will call GetAccount method by passing the account id but it throws the error
"code": "account_invalid",
"doc_url": "https://stripe.com/docs/error-codes/account-invalid",
"message": "The provided key 'sk_live****************************************************************************************C1lrv3' does not have access to account 'acct_' (or that account does not exist). Application access may have been revoked.",
"type": "invalid_request_error"
i understand, can you share the full account id of the connected account here?
You mean customer stripe account or our stripe account?
does not have access to account 'acct*' -> the account id mentioned in this line
Here is the customer stripe account id acct_1FHWQzDoSlTRPd1M
hmmm, okay, can you share your own platform Stripe account id too?
This is company stripe account - acct_1JCszhLwgxrWuBgU
Where we generated dev api key
acct_1FHWQzDoSlTRPd1M is not connected to acct_1JCszhLwgxrWuBgU. How did you go about onboarding / connecting acct_1FHWQzDoSlTRPd1M?
Basically we will show the below UI to our customer to enter their stripe account, with the entered stripe account id we will verify by just calling the Stripe SDK Accountservice.Get with that accnt number
That Get method throwing the error
we introduced this connecting existing customer feature in our last release only
but we are getting may complaints from our customers who tried to use their existing stripe account
If you want to connect an existing account, you need to use OAuth : https://stripe.com/docs/connect/oauth-reference. Are you using OAuth?
Oh.. I see.
We are using OAuth for other integration (like QBO)
We will check this option I can see where we made mistake let me go through this doc
Thanks.
sure! feel free to reach out again if you're still having trouble ๐