SDKs
SDK Overview
Official Loyalty.lt SDKs for Shop API integration
Loyalty.lt SDKs
Official SDKs for integrating with the Loyalty.lt Shop API. Choose your preferred language:
Full-featured SDK with React components. Perfect for web apps, Node.js backends, and POS systems.
npm install @loyaltylt/sdkNative PHP SDK for Laravel, Symfony, and custom PHP applications.
composer require loyaltylt/sdkPython SDK for Django, Flask, FastAPI, and data processing pipelines.
pip install loyaltylt-sdkFeatures
All SDKs provide access to:
Quick Comparison
| Feature | JavaScript | PHP | Python |
|---|---|---|---|
| QR Login | Yes | Yes | Yes |
| QR Card Scan | Yes | Yes | Yes |
| Transactions | Yes | Yes | Yes |
| Offers | Yes | Yes | Yes |
| XML Import | Yes | Yes | Yes |
| React Components | Yes | - | - |
| TypeScript | Yes | - | Yes (types) |
Authentication
All SDKs use API credentials:
X-API-Key: lty_xxxxxxxxxxxx
X-API-Secret: your_api_secretGet your credentials from Partners Portal → API Credentials.
API Environments
| Environment | Base URL |
|---|---|
| Production | https://api.loyalty.lt |
| Staging | https://staging-api.loyalty.lt |
Need Help?
Complete REST API documentation
Contact our developer support team