#caeser_stripe-account-header
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/1263561406746202114
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
I can't use the dashboard link. Can you copy/paste just the request ID? It's the part that starts with req_
req_5Bkc14sVX8qhkp?t=1721327050
Thanks, taking a look
Thank you so much
Okay you are passing the stripe account as a parameter, not a header.
And it looks like this request is coming from your front-end?
Yea
This is with the api keys of a client
I am now testing inside the app
Can my header be like this?
What are you using to make the API request?
Cloud functions in firebase
What Stripe SDK?
No idea tbh, what's the best way to check?
Sorry I'm really confused. What is the exact code you are using to attempt to retrieve the account balance?
{
"error": {
"message": "Invalid API Key provided: sk_test_********************************************************************************************************************XiTO",
"type": "invalid_request_error"
}
}
Now I get this error
I think I should be good if I know how to format my header
As this is on stackoverflow
Which I can only help with if you can show me your code. Trying to add it to the Authorization header won't work
That is using our PHP SDK
I am using cURL
Okay take a look at the code snippet on the right in this page
https://docs.stripe.com/api/connected-accounts
Cool, happy we got there in the end ๐