Docs

Payments Articles & FAQ

Stripe JS, Stripe, api keys, publishable api keys

API Keys for Stripe JS

Why do I need API Keys for Stripe JS? Where can I find them?

461783

2016-07-13T04:35:47Z

2024-08-30T10:38:39Z

2335

5

4

220289

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

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

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.

Related Articles 

Transaction amount limit in Stripe
Testing with Stripe sandbox
I'm getting card declined or processor declined error. What's going on?
What does Chargebee offer that Stripe doesn't?
Stripe Error: “This Connect account cannot currently make live charges”.
Error: "Payment collection failed. Customer does not have a linked card with ID card". What’s going on?
How do I configure Chargebee’s webhook in Stripe?
How to retrieve the Stripe payment method id for stripe payment intent API?
For ACH payments, how do I pass a bank account to Chargebee using the API?
I'm moving to a new Stripe account in Chargebee. What are the steps to be followed?
Stripe India for INR and non-INR transactions
How to move to a new Stripe account?
Configuring Payments via Stripe
What is stripe.js? What are my implementation options with stripe.js?
How to setup Stripe-Plaid authentication?
Error “As per Indian Regulations, goods export transactions require a billing and shipping address.
What is the Chargebee + stripe.js flow of information?
How to disable all payment methods and allow only ACH?
How to configure Gpay Via Stripe?
My customer “created” date is different in Stripe and doesn’t match with Chargebee records. Why?
Why are we receiving “[EXTERNAL] Stripe webhook delivery issues emails” from Stripe?
Is it mandatory to configure Chargebee webhook in Stripe?
What are the new Stripe India RBI e-mandate changes?
How to configure SEPA Payments via Stripe?
Stripe SEPA via API
How to enable Stripe Level 2 Data in Chargebee?
Error: The payment is blocked due to a high likelihood of chargeback
Unable to find the customer details in Gateway - Stripe
How to use Financial Connections- ACH via Stripe?
Stripe capture_method
How can I disallow payments using PrePaid Cards via Stripe?
What is the general 3DS checkout flow with Stripe and Chargebee?
If a payment method is deleted in Chargebee, will it be deleted in Stripe?
How will the RBI e-mandate regulations impact my Stripe Integration with Chargebee?
How to enable BACS payment method via Stripe?
How to enable BECS payment method via Stripe?
How to enable Boleto payment method via Stripe?
How to confirm Stripe is receiving level 2 data from Chargebee?
How to resolve Bank account verification error "Gateway Err: The micro deposit has a type of descriptor_code"
Why Unattempted payment attempts in Stripe being refunded ?
Why payments made through the Chargebee sandbox are not reflected in the Stripe dashboard ?
Was this article helpful?
Loading…