Products · Loyalty SDK

Loyalty, anywhere in your product

The Stedion Loyalty SDK provides drop-in widgets for web, iOS, and Android. Your team adds one small piece of code, then places points, challenges, and rewards anywhere in your site or app, or combines them into full pages. Typical integration: days, not months.

yourbrand.com
+100 pts earned
Challenge

Take a quick survey +100 pts
3 questions, 1 minute

Leaderboard
  1. 1 Maya 4,210
  2. 2 Alex (you) 3,980
  3. 3 Sam 3,540
Points balance
1,250 pts
Tier progress
Silver440 pts to Gold
Complete the challenge: every widget updates together. That is the SDK. Unbranded example; every element themes to your brand.
What it is

Widgets as building blocks

One code drop

A few lines to initialize. Minimal loyalty UI work after that: primarily placement and styling.

Standalone, yet in sync

Each element works on its own and stays in sync with every other widget on the page, powered by one shared SDK core.

Centrally updated

Improvements and fixes ship from Stedion. Your integration keeps getting better without another release.

Members only see what they qualify for

Content is user-scoped: challenges, rewards, and offers are already filtered to the member viewing them.

How it works

Drop in, connect, done

Your backend hands the SDK a short-lived token on request, so you keep full control of authentication and no secrets ever live in the client. A developer initializes the SDK once at app start. Then anyone can place widgets like embedding a video.

  1. 01 Issue tokens
  2. 02 Initialize once
  3. 03 Place widgets
Webindex.html
<!-- initialize once -->
<script src="https://sdk.stedion.com/loyalty.js"
        data-token-endpoint="/api/loyalty-token"></script>

<!-- place widgets anywhere -->
<stedion-points-balance></stedion-points-balance>
<stedion-challenges></stedion-challenges>
Member-facing features

Every widget in the library

Loyalty Opt-In

Enrollment and consent in one step

Welcome Greeting

Greet members by name

Points Balance

Live balance, anywhere on the page

Tier Progress

Status, and what it takes to level up

Challenges

Surveys, quizzes, purchases, receipts

Games

Spin-the-wheel and instant wins

Refer a Friend

Invites through native sharing

Leaderboard

Rank members, spark competition

Rewards Store

Coupons, gift cards, sweepstakes, items

Activity History

Every earn and burn, filterable

Receipt Scan

Scan in the moment, earn in seconds

Full pages

Combine widgets into complete loyalty pages

Performance at scale

Fast for members, light on the API

Dynamic, campaign-driven loyalty without per-page-load API cost. Widgets render instantly and hydrate in the background, one aggregated edge-cached call serves every widget in the session, and webhooks push changes back into the cache so campaigns go live within seconds.

Never blocks page load

Async script, skeletons first; data hydrates after render.

One call, many widgets

Widgets share the SDK core; requests are deduped and cached.

Fresh when it matters

Member actions trigger targeted refresh; campaigns go live within seconds.

Lazy by default

Below-the-fold widgets do not fetch until they become visible.

Platforms

One SDK, three platforms

One architecture everywhere: the same engine, the same widgets, and the same token model on web, iOS, and Android. React Native and Flutter are supported through the native SDKs.

Web

TypeScript and web components. A script tag on any site or a packaged library for web apps. Works with React, Vue, or no framework at all, and themes to your brand.

iOS

Swift core with SwiftUI widgets, shipped as a Swift package. Native look, performance, and accessibility, ready for Apple Wallet passes.

Android

Kotlin core with Jetpack Compose components, shipped as a Gradle package, with Material theming out of the box.

Beyond the basics

Go further on each platform

E-commerce & web

Built for Shopify and e-commerce storefronts: show rewards and let members redeem at checkout, preview points for the basket before purchase, confirm points immediately after, and track purchases from order events so there are no receipt scans online.

Native mobile

Experiences the web cannot deliver: AR challenges and in-store scavenger hunts, loyalty cards in Apple Wallet and Google Wallet, push notifications and geofenced offers, and Siri and Google Assistant integration.

Days, not months

Your loyalty program, everywhere your members are. One endpoint on your backend, a few lines at app start, widgets anywhere.

Talk to Stedion Explore the Loyalty API