Create a key
- Sign in to the dashboard and open Developers.
- Select New API key.
- Give the key a name and choose its access.
- Copy the key. It is shown only once.
sk_. An account can have up to 10 keys. Only owners and admins of a merchant account can create or delete them.
Access
A key has one of two access levels.
A read-only key gets a
403 with Invalid permissions on every other endpoint, including all webhook and event endpoints.
Keep keys safe
- Use keys only from your server. Do not put a key in a web page, a mobile app or a public repository.
- Use a separate key for each system, so you can delete one without affecting the others.
- If a key may have leaked, delete it in the dashboard and create a new one. A deleted key stops working straight away.