Settings

API keys

What the API keys page is for, what it shows, and where to find the step-by-step guide.

An API key lets another system, such as your point of sale or your website, work with your loyalty cards. You manage your keys from Settings. This page is a short tour; the full steps are in Create an API key.

Open the page#

  1. Select Settings in the menu on the left.
  2. Select the API keys card.

Only the business owner sees this card. Staff accounts cannot manage keys.

What the page shows#

  • Business ID: the identifier of your business, which your developer needs for some requests. It is not a secret. Select Copy ID to copy it.
  • Create key: opens the form for a new key, where you give it a name and choose its permissions.
  • A table of your keys with five columns: Name, Key, Permissions, Last used and a Revoke button.

The Key column shows only the start and the last four characters of each key. The full key is shown once, at the moment you create it, and cannot be shown again.

Last used tells you whether a key is still in use. It reads "Never" for a key that has not been used yet.

Limits#

You can have up to 5 active keys. At the limit, Create key is greyed out; revoke a key you no longer use to create another.

If you cannot create keys#

If the page shows "API access is not included in your plan", your plan does not include API access. Select View plans to see the plans you can move to, or ask the Q Wallet team to switch on API access for your business.

Revoking a key#

Select Revoke next to a key and confirm with Revoke key. Any system using that key stops working within a minute, and this cannot be undone. You see "API key revoked".

Important: Treat a key like a password. Keep it on your server and never put it in a mobile app or web page.

For your developer#

The API reference lists every request a key can make.