Skip to main content

Key types

Each partner has two types of keys:

Generate your keys

1

Log in to the dashboard

Go to partner.kemycard.com and sign in with your partner account.
2

Navigate to the API section

In the sidebar, click API Keys.
3

Generate a key

Click Generate new key and choose the type (test or live).
4

Copy your key

The key is displayed only once. Copy it and store it securely (environment variables, secret manager).
Never share your API keys. Never commit them in your source code. Always use environment variables.

Usage

Add the Authorization header to every request:

Revoking a key

You can revoke a key at any time from the dashboard. Once revoked, any request using that key will return a 401 AUTHENTICATION_FAILED error.

Permissions

Each key gives access to the products included in your subscription:
The /customers and /balance endpoints are accessible with any active subscription, as customers are the foundation of all products.