What’s the difference between my secret key and my publishable key at Stripe?

Secret and publishable keys are used to identify your Stripe account.

You can grab the test and live API keys for your account under Your Account >> API Keys.

The publishable key is used to generate credit card tokens and should be included with the HTML form. The secret key is used for all other API calls on the server-side.

Still need help? Contact Us Contact Us