
Restricted keys can’t interact with many parts of Stripe’s API, because they’re only intended to reduce risk when using or building microservices. That key allows the service to get the data it needs, but doesn’t allow it to make any changes or access any other data. For example, if you use a dispute monitoring service, create a restricted key that only provides read access to dispute-related resources. When using microservices that interact with the API on your behalf, define restricted keys that allow only the minimum access those microservices require. You can configure a restricted API key to allow read or write access to specific API resources. To provide limited access to the API, create restricted API keys. Don’t embed a key where it could be exposed to an attacker, such as in a mobile application.Ĭustomize API access with restricted API keys.
#POSTMAN REST CLIENT PASSWORD#
#POSTMAN REST CLIENT CODE#
In microservices: Must be secret and stored securely in your microservice code to call Stripe APIs. By default, Stripe Checkout securely collects payment information. 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.
#POSTMAN REST CLIENT 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.
