# Vendor apps and brand approval

> Preview: one app per till vendor, approved by each brand with the scopes it chooses.

Source: https://developers.loyx.se/preview/vendor-apps/

**Preview: this feature is planned and not live. The shape may change. Do not build against it yet.**

:::caution[Preview — not live, shape may change]
This feature is planned. Today each brand creates an API key for you; see [Authentication](/guides/authentication/).
:::

Today, each brand creates an API key and hands it to you. That works for one brand at a time. For a till vendor serving many brands, we are adding **apps**:

```
 LoyX registers your app once ──► one client id and secret, the scopes you request
             │
 each brand approves your app in the LoyX Portal
   (it sees the scopes in plain words, and may limit stores)  = a grant
             │
 token request with your app credentials + the brand ──► a token for that brand only
```

## How it will work

- **One app, many brands.** You keep one set of credentials. Each token is for one brand you are approved for.
- **The brand decides.** The brand's owner approves your app and picks the scopes. They can limit it to some stores, and revoke it at any time. Revocation is immediate.
- **Scopes in plain words.** For example "Find your members at the till and show their card" or "Send receipts and returns".
- **Bundles** for common cases: full till checkout, a sales feed only, or the member card only.
- **Testing** happens on a LoyX demo brand, not a separate sandbox.

## Events

`grant.approved` and `grant.revoked` tell you when a brand approves or revokes your app. See [Webhooks](/preview/webhooks/).
