Resources

Lottery Wallet and Reconciliation Architecture: An Operator Checklist

A lottery wallet is more than the balance displayed to a player. A buying decision needs to address the transaction record behind that balance, how ticket purchases and winnings are settled, and how finance identifies a difference between systems. This checklist focuses on those operating boundaries. Choosing a payment provider is a separate decision: start […]

A lottery wallet is more than the balance displayed to a player. A buying decision needs to address the transaction record behind that balance, how ticket purchases and winnings are settled, and how finance identifies a difference between systems.

This checklist focuses on those operating boundaries. Choosing a payment provider is a separate decision: start with the lottery payment-stack guide when comparing payment methods, processors and commercial arrangements. Here, the question is whether each movement can be explained and reconciled.

Define what each balance means

Ask for a balance dictionary before reviewing screens. Distinguish available cash, reserved funds, promotional balances and pending withdrawals. Specify the currency of each amount, the conversion policy where relevant, and which system is authoritative for each state.

  • Can support explain why the available balance differs from the ledger balance?
  • Which actions reserve, release, debit or credit funds, and who may initiate them?
  • Does an export include opening balance, movements and closing balance with stable references?

Map the ticket and settlement lifecycle

Define expected behaviour before approving an integration. A payment callback, accepted ticket and final draw result are different events; specify how they relate.

EventAcceptance question
Purchase acceptedIs there a traceable link between the ticket, the debit and its final status?
Purchase rejectedAre reserved funds released without issuing a playable ticket?
Cancellation or refundIs the reversal linked to the original entry and an authorised reason?
Winning settlementCan each credit be traced to the draw, ticket and settlement version?

Agree retry and exception behaviour

HTTP does not make every repeated request safe: RFC 9110 distinguishes idempotent methods. Agree application-level duplicate handling for purchases, payouts and callbacks; do not infer it from a successful API response.

  • Repeat the same purchase reference and check that it cannot produce a second unintended debit or ticket.
  • Interrupt a response after submission and demonstrate how the operation’s final status is recovered.
  • Define handling for delayed, duplicate and out-of-order callbacks, including escalation when automatic recovery fails.

Design reconciliation for finance, not only developers

For one cash ledger and one currency, reconcile opening balance plus posted credits minus posted debits to closing balance. Define all posting categories and the reporting cut-off; this check alone does not reconcile the payment provider or bank.

Separately compare platform records with processor settlements and relevant bank records. Document fees, refunds, chargebacks, currency differences and timing differences. Every exception needs an owner, evidence, status and resolution trail. The lottery API integration guide helps define the data exchanged between systems.

Control adjustments and protect the audit trail

Set approval rules for manual adjustments, refunds and access to exports. Require actor, time, reason and linked transaction identifiers for a change. OWASP recommends excluding or protecting credentials and sensitive payment data in logs.

Include export access and incident response in the security and SLA review. If replacing a platform, agree how opening balances and outstanding tickets will be proven during platform migration, not reconstructed after launch.

Use four acceptance cases in the demo

Request the event history, ledger entries and finance export for each case. Evaluate the complete flow, not a screenshot of a final balance. Record unsupported cases and the delivery work required before signing.

  1. A normal purchase followed by a draw result and a traceable winning or losing settlement.
  2. A rejected purchase followed by release of any reservation and no duplicate debit after retry.
  3. A cancellation or refund with an original reference, authorised actor and consistent export.
  4. A deliberate reconciliation difference in a test environment, assigned to an owner and resolved with evidence.

Make the operating boundary part of the scope

Compare the platform modules and delivery scope with the ledger, processor and finance responsibilities you need. Specify who configures rules, monitors exceptions, approves changes and supplies exports. Include those deliverables in the implementation plan rather than treating reconciliation as a post-launch task.

Technical references

Discuss your wallet and reconciliation requirements

Bring your payment flow, currencies, ledger ownership and existing reporting requirements. WhiteLotto can discuss the platform scope and integration questions for your project.

CONTACT