There are three types of API keys that Pluto provides:
publishable: Used for client-side requests, such as completing a payment intent. Prefixed by
secret: Used for server-side requests. Since it can create, retrieve, and update sensitive data, it must be kept secret. Prefixed by
restricted: Provides the same functionality of a secret key, but with limited permissions. Prefixed by
If you make a request to the API without a key, Pluto will return a
401 Unauthorized response.
Test mode and live mode
You can make requests in a test enviroment by using a test API key. Test keys are prefixed with
_test_, while live keys are prefixed with
_live_. Several example keys are listed below:
- Test publishable key:
- Live secret key:
- Live restricted key:
Get an API key
To access the API, please contact support.
Updated 6 months ago