Skip to main content

Payment Transaction Case Mapping

Goals:

  • When referencing something, show enough information to that level.
  • Non-technical readers should understand immediately (prioritize names, minimize technical IDs).
  • Include links to the correct pages for quick cross-checking.

General principlesโ€‹

  • Prioritize displaying: Entity name + action + amount + status.
  • Technical IDs (UUID, internal id) are secondary information only: place on a small line + include a copy button.
  • When related transactions exist, display fully:
    • depositor
    • relatedTransactions
    • relatedWalletTransactions (especially the debit leg).
  • Transaction detail: /transactions/:id
  • Agent profile: /agents/:id
  • Shop profile: /shops/:id
  • Super agent profile: /super-agents/:id
  • User/Player profile: /users/:id

Mapping by case (operations version)โ€‹

CaseWhat to show for non-tech usersReference scopeRequired page links
Player self top-up onlinePlayer name, deposit amount, status, payment channelOriginal payment transaction + payer leg (if funds debited from another tier)/transactions/:id, /users/:id, corresponding owner page
Shop buys credit onlineShop name, credit received, amount paidPayment transaction + wallet debit leg of the payer/transactions/:id, /shops/:id
Agent buys credit onlineAgent name, credit received, amount paidPayment transaction + debit leg/transactions/:id, /agents/:id
Super agent buys credit onlineSuper agent name, credit received, amount paidPayment transaction + debit leg/transactions/:id, /super-agents/:id
Agent collects cash deposit for shop (agent_cash, deposit)"Which agent collected cash for which shop", cash amount, credit addedAgent (depositor), related payment transaction, agent wallet debit, shop wallet credit/transactions/:id, /agents/:id, /shops/:id
Agent withdraws money/credit from shop (agent_cash, withdrawal)"Which agent withdrew from which shop", cash returned, credit deductedShop (depositor), agent (recipient), shop wallet debit, agent wallet credit/transactions/:id, /agents/:id, /shops/:id
Super agent collects cash deposit for agent (super_agent_cash, deposit)"Which super agent collected cash for which agent", cash amount, credit addedSuper agent (depositor), related payment transaction, super agent wallet debit, agent wallet credit/transactions/:id, /super-agents/:id, /agents/:id
Super agent withdraws money/credit from agent (super_agent_cash, withdrawal)"Which super agent withdrew from which agent", cash returned, credit deductedAgent (depositor), super agent (recipient), agent wallet debit, super agent wallet credit/transactions/:id, /super-agents/:id, /agents/:id
Admin cash funding/withdrawal for super agentAdmin action, target super agent, amount, transaction typePayment transaction + corresponding wallet leg (credit/debit)/transactions/:id, /super-agents/:id
Shop/Cashier add/deduct player creditShop/cashier name, player name, add/redeem action, amountWallet debit/credit legs (even without a payment transaction)/shops/:id, /users/:id
Internal manual depositPlayer name, target game/provider, processing statusPayment transaction + reservation/release if applicable/transactions/:id, /users/:id
Internal game withdrawalPlayer name, game, amount, approval statusPayment transaction + debit status at request/approval/transactions/:id, /users/:id
Rewards redemption webhookPlayer name, reward amount, completion statusPayment transaction + credit leg to player wallet/transactions/:id, /users/:id
Balance conversion/correction/reversalWallet owner, adjustment type, before/after amountFull reference chain to source transaction/transactions/:id + owner page

Required rules when references existโ€‹

  1. Has depositor โ†’ show name + role + profile link.
  2. Has relatedTransactions โ†’ show list + link to each transaction.
  3. Has relatedWalletTransactions โ†’ show full from -> to, leg type, amount.
  4. Prioritize highlighting debit first to identify "who paid".
  • Who paid: Agent ยท Claden Team (link)
  • Who received: Shop ยท Claden S (link)
  • Main transaction: Deposit $30.00 - Completed (link)
  • Wallet legs:
    • Debit Agent Wallet: -300 credits
    • Credit Shop Wallet: +300 credits