What you’ll build
Hello Clever’s cashback lets you reward customers with real-time cash back on qualifying payments. You configure campaigns (tiers, schedule, eligible payment methods, caps), activate a cashback account for each user, deliver cashback when they transact, and let them withdraw their accumulated balance. Rewards are distributed automatically on qualifying transactions — instantly for bank payments, and on settlement for card payments. The Cashback APIs (v2) expose the endpoints to read campaigns, manage user accounts, and move cashback.Prerequisites
- Merchant account and
app-id/secret-key. - Sandbox
https://api.cleverhub.co; productionhttps://api-merchant.helloclever.co. - Cashback rates/campaigns can also be set up in the Merchant Portal.
The endpoints
Build the loyalty flow
1
Model your campaign
Decide the campaign shape before writing code:
- Tiers — e.g. 2% up to $50, 5% above.
- Schedule — duration and frequency (seasonal promo, daily offer, single-day event).
- Eligible payment methods — which rails qualify (bank vs card behave differently on timing).
- Caps — maximum cashback per transaction / campaign.
2
Enrol the customer
Call Activate User’s Cashback Account so the user can receive and hold cashback. Do this at signup or first eligible checkout. Use Get User List to check enrolment state and reconcile your own records.
3
Deliver cashback on a qualifying transaction
When a customer completes a qualifying payment, call Initiate Cashback Delivery to credit their cashback. For bank/real-time payments this can be granted immediately; for card payments, cashback applies once the underlying payment settles.
4
Let customers withdraw
Call Initiate Cashback Withdrawal to disburse a user’s accumulated cashback to their nominated account. Surface the current balance and withdrawal status in your app.
Design considerations
Timing differs by rail
Timing differs by rail
Communicate to customers that card cashback lands on settlement, not instantly, to set expectations.
Respect caps and tiers server-side
Respect caps and tiers server-side
Read campaign configuration and enforce eligibility on your backend rather than trusting the client.
Reconcile regularly
Reconcile regularly
Use the list endpoints to keep your ledger aligned with Hello Clever’s.