#renraj.
1 messages · Page 1 of 1 (latest)
Hi
Hi
Please edit and delete your secret key from the initial message
What the issue you are facing exactly ? can you share more details please ?
I edited now...Is that ok?
yes thanks
I got that that curl from Stripe API docs
https://stripe.com/docs/api/authentication
I tried it in insomnia and gives invalid API key
I used to get sample response before, but now it gives error
Stripe uses basic auth, I invite you to follow this guide iand see how you can configure the API call:
https://docs.insomnia.rest/insomnia/authentication#basic-auth
I just need to check the curl provided in doc
we will get the sample response from that sk_test itself rite?
like we can check Stripe API and later we can use in our backend
If you want to use the curl, then you can run it in your Terminal.
Click on the copy button in that snippet, and past/Exceute it in your local terminal
but I used to get in insomnia, but now getting invalid key
why is it so?
this is one of the prev results I got
but now not getting
Maybe the key is no more valid, try getting your secret key from your dashboard
and make sure there is no typo in the basic auth section