Equilibrium at every move
iGaming platform for operators: wallet, PAM and back office
A double-entry ledger balances to the minor currency unit, and a repeated provider request never doubles money.
| Entry | Account | EUR |
|---|---|---|
| tx-1001 | player #42 | −500 |
| tx-1001 | game account | +500 |
| Sum of entries | 0 | |
The path of one bet
Three moves of one request. The ledger balances after each.
The signature matches and the key is new. Player −500, game account +500, entries sum to 0. The bet.posted event is written in the same transaction.
Provider request
POST /api/provider/selten-mock/bet
X-Signature: 9b3f…c41e
Platform response · 200
Ledger
| tx-1001 | player #42 | −500 |
| tx-1001 | game account | +500 |
| Sum of entries | 0 | |
bet.posted → Kafka
- Idempotency key
- selten-mock:tx-1001new
Player balance
9,500EUR · version 7
- HMAC signature
- Game catalogue
- Idempotency key
- Ledger entries
- Balance version
- Event to Kafka
- Response
The path of one bet
Three moves of one request. The ledger balances after each.
1A new bet
The signature matches and the key is new. Player −500, game account +500, entries sum to 0. The bet.posted event is written in the same transaction.
Provider request
POST /api/provider/selten-mock/bet
X-Signature: 9b3f…c41e
{"player_id": 42,"currency": "EUR","amount": 500,"transaction_id": "tx-1001","round_id": "r-77","game_code": "demo-game-1"}Platform response · 200
{"transaction_id": 318,"balance": 9500,"balance_version": 7,"replay": false,"status": "posted"}Ledger
tx-1001 player #42 −500 tx-1001 game account +500 Sum of entries 0 bet.posted → Kafka
- Idempotency key
- selten-mock:tx-1001new
Player balance
9,500EUR · version 7
- HMAC signature
- Game catalogue
- Idempotency key
- Ledger entries
- Balance version
- Event to Kafka
- Response
2The bet repeated
The network resends the bet with the same transaction_id. The ledger is untouched, the answer is the same. The same key with other parameters gets 409.
Provider request
POST /api/provider/selten-mock/bet
X-Signature: 9b3f…c41e
{"player_id": 42,"currency": "EUR","amount": 500,"transaction_id": "tx-1001","round_id": "r-77","game_code": "demo-game-1"}Platform response · 200
{"transaction_id": 318,"balance": 9500,"balance_version": 7,"replay": true,"status": "posted"}Ledger
tx-1001 player #42 −500 tx-1001 game account +500 Sum of entries 0 No new entries: the answer comes from the key
- Idempotency key
- selten-mock:tx-1001known
Player balance
9,500EUR · version 7
- HMAC signature
- Game catalogue
- Idempotency key
- Ledger entries: not executed
- Balance version: not executed
- Event to Kafka: not executed
- Response
3A bet rollback
The amount is returned and the bet is marked cancelled. A rollback that arrives before its bet leaves a marker, and the late bet is not charged.
Provider request
POST /api/provider/selten-mock/rollback
X-Signature: 9b3f…c41e
{"player_id": 42,"currency": "EUR","transaction_id": "tx-1003","ref_transaction_id": "tx-1001"}Platform response · 200
{"transaction_id": 319,"balance": 10000,"balance_version": 8,"replay": false,"status": "posted"}Ledger
tx-1003 player #42 +500 tx-1003 game account −500 Sum of entries 0 Bet tx-1001 is marked cancelled
- Idempotency key
- selten-mock:tx-1003new
Player balance
10,000EUR · version 8
- HMAC signature
- Game catalogue
- Idempotency key
- Ledger entries
- Balance version
- Event to Kafka
- Response
Platform and modules
Layers from top to bottom, every node with its own status.
Products
bo
back office
livecore
console and API
liveboard
data analysis
liveguard
perimeter
livemcp
AI and partners
liveapi
external API
live
Core
Ledger
double entry
liveWallet
balance and version
liveBonuses
wagering
liveCashier
demo, PSP planned
in progressAccess rights
section and level
liveIntegrations
vendor cascade
live
Data and bus
Kafka
6 topics, outbox
livePostgreSQL
BIGINT amounts
liveValkey
limits and cache
liveBackups
14 and 30 days
live
Outside world
Game providers
seamless wallet
livePayments
PSP planned
plannedKYC
adapter, no contract
in progressAML
verified on a stub
in progressMessaging
not connected
in progressMonitoring
status page
live
Integrations: a primary vendor and fallbacks
17 categories of external services. On a refusal the request moves to the next vendor, and a money operation with an unknown outcome stops the cascade.
Platform request
KYC: documents and face
Cascade
picks a vendor
Primary
refused
Fallback 1
answered
Fallback 2
not called
Platform request
KYC: documents and face
Cascade
picks a vendor
Primary
refused
Fallback 1
answered
Fallback 2
not called
The primary refused: the request moved to a fallback and the answer came back.
KYC: documents and face
Sumsub: the adapter is written, no live keys yet. A test vendor and manual review are live.
Options in the category
- Sumsubadapter ready, no contract
- KYCAIDalternative
- Veriffplanned
- Onfido (Entrust)planned
- Jumioalternative
Adapters are verified on stubs so far. The names listed are options we looked at, not partners.
Security and ledger balance
Money is checked by arithmetic, access by rights.
What has to balance
- Sum of the entries of every operation= 0
- Account balance and the sum of its entriesequal
- Player balance≥ 0
- A repeat with the same keyno debit
Idempotency
A key on every operation. The same key with other parameters: 409.
Signed requests
HMAC-SHA256 over the raw body. A bad signature: 401.
Access rights
A section and a level: view, edit, grant. Manual corrections have a daily cap.
Sign-in and keys
Password and TOTP, managed sessions. An API key has its own rights, lifetime and IP allowlist.
The event goes with the money
An event is written to the database in the same transaction and then published to Kafka.
Backups
A nightly dump kept 14 days, an off-site copy 30 days, a restore test every week.
For partners: three ways to connect
Each has its own entry and its own limits.
Operators
External API by key
Calls to /v1: players, ledger, payments, bonuses, games, KYC. Withdrawal decisions and bonus grants are not available to a key.
API referenceGET /v1/players
Authorization: Bearer slk_…
- key rights
- projects
- lifetime
- IP allowlist
- 600 requests a minute
Game providers
Seamless wallet
Balance, bet, win and rollback with an HMAC signature. The common path works today for the built-in demo provider; a new one joins through development.
How to sign a requestPOST /api/provider/{provider}
X-Signature: HMAC-SHA256(body)
- /balance
- /bet
- /win
- /rollback
AI agents and partner systems
MCP server
15 tools by the key's rights, player data masked. Changes only by request, and a person decides.
Connect an agentrequest_change
Request: a comment on player #42
waits for a person
get_player → emailj•••@•••
Equilibrium at every move
Tell us what you are launching: as an operator, a game provider or an integrator.
Trembling-hand perfect.