Which API keys do I need to set up stripe.js? Where can I find them?

Modified on: Mon, 26 Mar, 2018 at 12:26 PM

You have two API keys, a secret API key and a publishable API key, associated with your Stripe account - they are used mainly for identification on the server side and the application side. The publishable key is used to generate credit card tokens and should be used with Stripe JS library. The secret key is used for all other API calls on the server-side. For more info, here’s the stripe.js documentation on Stripe and the stripe.js documentation on Chargebee.

If you want to work stripe.js into your in-house checkout page then you should keep your publishable API key at the ready, as it is what sits at the heart of communicating via tokens. You can find it at 
Account Settings >> API keys on your Stripe web interface.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.