

For example, you can create a restricted key that grants read-only access to dispute data, then use it with a dispute monitoring service. You can create restricted API keys in the Dashboard that limit access to, and permissions to specific account data. Use restricted API keys if you’re working with microservices that interact with the Stripe API on your behalf. Don’t use restricted keys as an alternative to your account’s API keys during development of your Stripe integration. Restricted keys can’t interact with many parts of Stripe’s API and are intended to reduce risk when using or building microservices.
#KEY CLES PASSWORD#

#KEY CLES CODE#
On the client-side: Can be publicly-accessible in your web or mobile app’s client-side code (such as checkout.js) to securely collect payment information such as with Stripe Elements.

Live mode publishable key: Use this key, when you’re ready to launch your app, in your web or mobile app’s client-side code.By default, you can use this key to perform any API request without restriction. Live mode secret key: Use this key to authenticate requests on your server when in live mode.Test mode publishable key: Use this key for testing purposes in your web or mobile app’s client-side code.

Test mode secret key: Use this key to authenticate requests on your server when in test mode.Also, some payment methods have a more nuanced flow and require more steps.Īll accounts have a total of four API keys by default-two for test mode and two for live mode: You can accept actual payment authorizations, charges, and captures for credit cards and accounts.ĭisputes have a more nuanced flow and a simpler testing process. For example, you can retrieve and use real account, payment, customer, charge, refund, transfer, balance, and subscription objects.Īccept real credit cards and work with customer accounts. In live mode, card networks and payment providers do process payments.ĪPI calls return real objects. Use live mode, and its associated live API keys, when you’re ready to launch your integration and accept real money. Also, Connect account objects don’t return sensitive fields.
#KEY CLES VERIFICATION#
Identity doesn’t perform any verification checks. You can’t accept real payment methods or work with real accounts. For example, you can retrieve and use test account, payment, customer, charge, refund, transfer, balance, and subscription objects. In test mode, card networks and payment providers don’t process payments.ĪPI calls return simulated objects. Use test mode, and its associated test API keys, as you build your integration.
