Loyalty.lt
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/sdk

Native PHP SDK for Laravel, Symfony, and custom PHP applications.

composer require loyaltylt/sdk

Python SDK for Django, Flask, FastAPI, and data processing pipelines.

pip install loyaltylt-sdk

Features

All SDKs provide access to:

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?

Complete REST API documentation

Contact our developer support team

On this page