#caeser_stripe-account-header

1 messages ยท Page 1 of 1 (latest)

tawny ploverBOT
#

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

woeful yarrow
#

Hi ๐Ÿ‘‹

I can't use the dashboard link. Can you copy/paste just the request ID? It's the part that starts with req_

digital nova
#

req_5Bkc14sVX8qhkp?t=1721327050

woeful yarrow
#

Thanks, taking a look

digital nova
#

Thank you so much

woeful yarrow
#

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?

digital nova
#

Yea

#

This is with the api keys of a client

#

I am now testing inside the app

#

Can my header be like this?

woeful yarrow
#

What are you using to make the API request?

digital nova
#

Cloud functions in firebase

woeful yarrow
#

What Stripe SDK?

digital nova
#

No idea tbh, what's the best way to check?

woeful yarrow
#

Sorry I'm really confused. What is the exact code you are using to attempt to retrieve the account balance?

digital nova
#

{
"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

woeful yarrow
#

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

digital nova
#

I am using cURL

woeful yarrow
digital nova
#

It works

#

Thank you

#

Sorry for the confusion

woeful yarrow
#

Cool, happy we got there in the end ๐Ÿ™‚