The Loyalty Engine is a multi-tenant loyalty API built for South African commerce. Add points, cashback, stamp cards, and tangible rewards — coupons, gift cards, free items, discount vouchers — to any POS, e-commerce checkout, or mobile app in two API calls.
purchase.completed, survey.completed) and reward them with EVENT_TRIGGER programmes (Events)SPEND_PERCENTAGE or FIXED_POINTS earn rules)POST /events → matching EVENT_TRIGGER programmes fire and rewards are issuedPOST /transactions/evaluate at checkout → points are awarded and/or rewards are issuedPOST /transactions/redeem when the customer wants to spend points → discount in cents returnedref / transactionRef) — safe to retryProduction: https://loyalty-engine-production-e5cb.up.railway.app
Test: Same URL, use sk_test_* keysAll requests require an X-API-Key header with a sk_test_* or sk_live_* key. JWT Bearer tokens are supported for portal integrations.
# API Key authentication
curl https://loyalty-engine-production-e5cb.up.railway.app/tenants/YOUR_TENANT_ID/members \
-H "X-API-Key: sk_test_YOUR_KEY"