What credits are
- Integer-only — whole numbers only; no fractional credits.
- App-scoped — meaning comes from your bundles (how many credits a top-up buys) and features (how many credits an action costs) in the dashboard.
- Held on a per-customer wallet in sandbox or live.
How credits map to money
Money enters when a customer tops up. Bundle pricing in the dashboard determines how many credits they receive. Jaza collects local currency via Mobile Money, credits the wallet, and settles to you — you do not run FX or aggregator ops yourself.How credits map to features
After a customer has credits, your backend spends them withjaza.consume() and a featureCode configured under Features in the dashboard.
Lifecycle
- Purchase — user opens the React Native top-up sheet, picks a bundle, pays with MoMo.
- Credit — Jaza records a ledger credit and increases the wallet.
- Spend — your backend calls
consumewithfeatureCode+idempotencyKey. - Audit — movements stay in the append-only ledger.