Digital products, vouchers and wallet value
Orangepill handles three kinds of value. They can look similar to a customer, but they behave differently. Choose the right one before you design a catalog, a recipe or an agent prompt.
| Externally fulfilled digital product | Merchant-issued voucher or ticket | Wallet-backed value | |
|---|---|---|---|
| Examples | Mobile top-ups, data bundles, eSIMs, a supplier’s gift-card PIN | Event tickets, gift cards or service credits that you issue | A stored balance, loyalty points, fungible tokens |
| Who issues it | An external supplier, through a global catalog provider | Your tenant: you define it and mint the serials | Your tenant’s ledger |
| What the customer receives | Whatever the supplier delivers (a code, a credited line), after the supplier fulfils | One unique serial per unit, owned in the customer’s wallet | A balance in a wallet account |
| Inventory | The supplier’s | Finite serials that you mint ahead of time | Not inventory: an amount |
| Fulfilment | Asynchronous, by the supplier. It can fail after you were paid | Atomic with the order: all N serials are delivered, or the order fails | A ledger entry |
| Catalog source | Global catalog providers | The voucher catalog provider (voucher listings) |
Not a catalog item |
Do not mix them up
Section titled “Do not mix them up”- The word “voucher” is used for two different things. A supplier’s gift-card code bought through a global catalog is an externally fulfilled digital product. Only serials that you minted from your own token definition are merchant-issued vouchers.
- There is no separate “ticket” object. A ticket is a merchant-issued voucher.
- Wallet value is not a voucher. A balance can be split, spent partly or transferred. A voucher serial is used whole.
What this means for refunds and delivery
Section titled “What this means for refunds and delivery”- Merchant-issued vouchers. Refunding or cancelling the payment does not take the serials back today. Delivery puts the serials in the customer’s wallet. Sending the codes by email or messaging is not built in.
- Externally fulfilled products. Fulfilment happens after payment and can fail. Design for a paid order that has not been delivered yet.
- Wallet value. Changes are ledger postings. Follow your wallet’s rules for reversals.