Comprehensive transaction management for credits and tokens with secure processing and real-time balance updates. Handles all operations within the loyalty platform.
Transaction Operations:
•
Token Minting:
Create new tokens and add to user accounts
•
Token Transfers:
Secure peer-to-peer token transfers between users
•
Token Burning:
Remove tokens from circulation with proper audit trails
•
Balance Queries:
Real-time balance checks across multiple token types
•
Transaction Authorization:
Verify user permissions and sufficient balances
•
Transaction History:
Complete audit logs for all operations
Tokenomics — Issuance Modes & Spend Semantics:
Every reward transaction records an
issuanceMode describing how it was economically issued:
•
TENANT_DELEGATED_MINT:
tenant master wallet mints (ERC20 with canMintToken, or NFTs without a business owner)
•
BUSINESS_OWNED_MINT:
business custodial wallet mints its own NFT template (MINTER_ROLE granted at ownership assignment)
•
BUSINESS_BALANCE_TRANSFER:
business transfers ERC20 from its own balance (canMintToken=false)
At point of sale,
web3TransactionType is always respected by the platform. For NFT charges, BURN destroys the token (ticket consumed); TRANSFER moves it to the business wallet (custody/deposit). Caller chooses.