A rewards store is the place in your app where users turn money, points or coins into gift cards from brands they already buy from. You can add one three ways: build it on a rewards API, embed a finished store with an SDK, or link users to a hosted portal.
If you have not yet decided between the three, API, SDK or portal compares them side by side.
Three ways: API, SDK, portal
With the API
You build the screens; the API supplies the catalogue, the orders and the codes.
- Sign up on the integration portal and get staging keys.
- Have your server sign in and copy the brand catalogue, refreshed every day.
- Build the screens: brand list, brand page with amounts and terms, checkout and the code screen.
- Place orders with a unique reference number each, and handle the three outcomes: success, failure and processing.
- Set up webhooks for finished orders, brand changes and a low wallet balance.
- Get production keys, approve your server addresses, fund the wallet and go live.
The order flow, step by step, is in what a rewards API is and the API docs.
With the SDK
The store is a finished web app that opens inside your app. You embed it and tell it who the user is.
- Get staging credentials and set up sign-in, so your backend passes the logged-in user to the store and they never log in twice.
- Open the store in your Android, iOS, web, React Native or Flutter app, following the platform guide for each.
- Pick your brands and match your colours and fonts in Hubble Studio.
- If your app has coins, build balance, debit and reverse endpoints so users can spend them at checkout.
- Test payments, coins, failures and events in staging.
- Get production credentials, register your production URLs, whitelist your internal testers and go live.
Users pay inside the store by UPI, and by card where you ask for it to be enabled. Hubble’s fraud protection covers purchases in the store.
With the loyalty portal
Nothing is integrated. Hubble builds the portal; you send users to it.
- Share your points rules: how points convert and who can redeem.
- Hubble sets up the portal in your brand, on your domain, with the brands you choose. Users sign in with the account they already have with you.
- Link users to it from your app, email, SMS or website.
What each costs your team
Hubble charges nothing for integration on any of the three. The cost to plan for is your team’s time.
| Work | API | SDK | Loyalty portal |
|---|---|---|---|
| Backend engineering | Integration, catalogue sync, order handling, webhooks | A sign-in endpoint or signed token; coin endpoints if you use coins | None |
| App engineering | Every screen of the store | Opening the store in your app | A link |
| Design | Full store design | Colours and fonts in Hubble Studio | Your logo, colours and fonts, applied by Hubble |
| Finance and operations | Keep the wallet funded and reconcile orders | Reconcile orders and coin debits | Agree the points rate |
| User support | Hubble handles issuance and support; your screens must explain codes and terms | Hubble answers users’ gift card questions | Hubble answers redemption questions |
| Fraud | Your own rules and the order limits on your account | Covered by Hubble | Covered by Hubble |
Two costs are easy to miss. With the API, your money sits in a prepaid wallet before users order, so finance has to plan the top-ups; on Hubble they are arranged through your account manager, and a webhook warns you when the balance runs low. With the SDK, test in production on real phones with whitelisted testers, because the fraud checks can block test setups. The SDK docs explain how.
Time to go live
On Hubble, the three routes go live in these times:
| Route | Time to go live | What the time covers |
|---|---|---|
| API | Within a day | Sign-up to a live order, for most teams |
| Loyalty portal | 2 days | Hubble sets up the portal; you send users to it |
| SDK | Under a week | Contract to a live store inside your app |
What decides where you land in that time is mostly outside the code. Start these on day one:
- Production keys. Hubble issues them once your staging integration is verified.
- Server addresses. For the API, production calls come only from server addresses you have shared, unless you tell Hubble your servers use changing addresses.
- Production URLs. For the SDK, register your production sign-in, coin and webhook URLs; staging ones do not carry over.
- Money. For the API, fund the production wallet before the first order.
- Testers. For the SDK, whitelist your internal testers before your end-to-end test in production.
Who should pick which
- You have engineers and want the store to feel like your own product: the API. It also lets rewards follow events in your system, such as a referral or a spend milestone.
- You want a full store in your app without a project to build one: the SDK. It suits apps with coins or none, and teams with few engineers to spare.
- Your users earn points and just need a place to redeem them: the loyalty portal. It suits banks, dealer programmes and employee recognition, with or without an app.
Before you sign with anyone, run through how to choose a rewards provider. To see the SDK store as your users would, open the experience centre, or tell us about your app.