Vendor apps and brand approval
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 onlyHow it will work
Section titled “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
Section titled “Events”grant.approved and grant.revoked tell you when a brand approves or revokes your app. See Webhooks.