API keys and integrations
Creating keys, how staging differs from production and where the docs are.
API keys and integrations
To connect your till system, web shop or CRM, create keys under API credentials.
Creating keys
Click "Add", choose the environment and you get an API key and secret. The secret is shown once — store it safely. If you lose a key, create a new one and disable the old one.
Two environments
- Staging — for testing. The data is fake and mistakes cost nothing.
- Production — real customers and real points.
Always start on staging and move an integration to production only once it works.
Documentation
The full API reference, examples and SDKs (JavaScript, PHP, Python) are at docs.loyalty.lt, including methods for transactions, cards and coupons.
Security
Never keep keys in browser code or a public repository — they belong on your server. When someone leaves the company, rotate keys the same way you rotate passwords.