Skip to main content

Loyalty.lt SDKs

Official SDKs for integrating with the Loyalty.lt Shop API. Choose your preferred language:

Features

All SDKs provide access to:
Allow customers to authenticate on your website or POS by scanning a QR code with their Loyalty.lt mobile app.
Identify customers at POS terminals. Display a QR code, customer scans it, and you receive their loyalty card data instantly.
Award points for purchases, deduct points for redemptions, and track transaction history.
Create, update, and manage promotional offers. Import offers from XML feeds.
Use Ably WebSocket integration for instant notifications when customers scan QR codes.

Quick Comparison

FeatureJavaScriptPHPPython
QR LoginYesYesYes
QR Card ScanYesYesYes
TransactionsYesYesYes
OffersYesYesYes
XML ImportYesYesYes
React ComponentsYes--
TypeScriptYes-Yes (types)

Authentication

All SDKs use API credentials:
X-API-Key: lty_xxxxxxxxxxxx
X-API-Secret: your_api_secret
Get your credentials from Partners Portal → API Credentials.

API Environments

EnvironmentBase URL
Productionhttps://api.loyalty.lt
Staginghttps://staging-api.loyalty.lt

Need Help?