Skip to Content
Reconciliation

Reconciliation

Your wallet holds the player’s money, and our ledger records the positions and every wallet call beside them. Reconciliation checks our side: every wallet call against the ledger, and every call that you have not answered yet. You check your side by matching your wallet log against our statement. This page explains when reconciliation runs, what it checks and where you read the result.

When it runs

Reconciliation runs for every tenant on two schedules:

  • Hourly incremental run. It looks at the accounts that had movements since the last completed run, and it finds every credit, rollback or resettlement debit that your wallet has not answered ok for more than one hour.
  • Daily full run. It also matches each wallet call with the ledger transaction it belongs to, checks that the legs of each position sum to zero, and checks that the stakes held for resting limit orders equal those orders.

When a discrepancy is found

A finding opens a discrepancy that our team examines and resolves in the admin panel. We correct our side ourselves; that is not your task. We send no webhook for it.

One finding needs you. If a credit stays unanswered for more than one hour, the owner and the finance members of your account get an email, because the money is owed to your player. We keep sending the call until your wallet answers ok. After 12 hours it is critical on our side too.

We do not report an open discrepancy again in every run. While a finding is open, later runs open no new record for it. If the cause is still there after our team resolves it, the next run finds it again.

Where you read the result

The result of reconciliation is in the reconciliation_statement report. This report is an account statement: the opening balance, the ledger movements of the period in order, the closing balance and the list of discrepancies of the period. You can request the report for one user or for the total of your tenant.

The statement for the total of your tenant has a second section: your operator book, which is the tenant_aggregate account of your tenant. The rows come in this order:

  1. opening_balance, one entry row for each movement on the user accounts, and closing_balance.
  2. aggregate_opening_balance, one aggregate_entry row for each movement on your operator book, and aggregate_closing_balance.
  3. One discrepancy row for each discrepancy of the period.

Your operator book records every movement that crosses to your side: wallet debits and credits, each with our transaction_id and your operator_transaction_id, the residue or shortfall that a settlement closeout leaves, and the correction shortfall credits that you absorb. The entry_type column tells these movements apart. The amount of an aggregate_entry row has the sign of your operator book. A wallet debit is negative in this section, a closeout residue is positive and a closeout shortfall is negative.

Each section has its own balances. Its closing balance is its opening balance plus its own rows. Do not add the two sections together, because a wallet movement appears in both. The statement for one user has no operator book section. A statement that we generated before this section existed does not have it either, so request the period again to get it.

To reconcile your side, match each wallet call of the operator book section with your own wallet log by our transaction_id, and check that your operator_transaction_id and the amount agree. A call in your log that is not in the section, or one in the section with no entry in your log, is the finding. Report it with a support ticket.

You can request the report in two ways:

  • From the Reports screen of the tenant portal. The Settlement screen of the portal shows the statement for the total of your tenant.
  • With POST /v1/reports, using a key that has the read:reports scope. For the statement of one user, give the external_user_id filter.

We generate the report in the background. When it is ready, the report.ready event arrives. You can also poll the status with GET /v1/reports/{id}. The report downloads in JSON or CSV format. The API reference has the details.

The checklist item

The Go-live checklist asks for one clean reconciliation run: at least one full scheduled run over your test traffic, with zero discrepancies. Reconciliation runs in test mode the same way as in live mode. You show it with a test key like this:

  1. Register users in test mode and connect your test wallet (Operator wallet).
  2. Open positions in test mode and watch them settle. Your wallet must answer every credit ok.
  3. Wait for one daily full run to pass.
  4. Request the reconciliation_statement report for the total of your tenant, for the period that the run covers. The discrepancy list must be empty.

Our team verifies the item from the run records of your test mode.

Last updated on