The seamless wallet, explained
One balance, many games. How the calls work and where integrations usually go wrong.
The idea in one line
With a seamless wallet, the player has exactly one balance, and it lives in your system. Games do not hold money of their own. Each round asks your wallet to take the stake and pay any win.
The alternative, a transfer wallet, moves money into a separate game balance and back again. That means two balances to reconcile and players asking where their money went. Seamless avoids both.
The three calls
| Call | When | What your wallet does |
|---|---|---|
| Debit | A round starts | Takes the stake if the balance allows, or refuses |
| Credit | A round ends with a win | Adds the win, linked to the debit it belongs to |
| Rollback | A round fails or is cancelled | Reverses the original debit |
Amounts travel as whole minor units, such as cents, never as decimals. That alone prevents a class of rounding bugs that are painful to find later.
Why every call is signed
Your wallet endpoint moves real money, so it must only obey calls from the aggregator. Each call carries a signature made with a shared secret. Your wallet recomputes it and rejects anything that does not match. No signature, no money movement.
Why repeats must be harmless
Networks fail. A credit may reach you, but your answer may never get back, so the call is sent again. If your wallet treats the second call as new, the player is paid twice.
The fix is idempotency. Every call carries a transaction id. Store it with the result; when the same id returns, send back the stored result and move nothing. The glossary has a short definition.
Test this on purpose. Send the same credit three times in a test setup and check that the balance moves once.
Mistakes we see most
- Checking the id after moving money. Check first, then move, inside one database transaction.
- Rejecting a rollback for an unknown debit. Answer it as done and record its transaction id, so a debit that arrives late with that id is refused.
- Using decimals. Store whole minor units from the start.
- Mixing currencies. Keep one book per currency so a USDT round never touches a USD balance.
Handling disputes
When a player questions a round, round history shows the launch, the debit, the result and the credit together. Matching that against your own ledger settles most disputes in minutes.
Our casino aggregator API works exactly this way. Ask for the docs and a test setup.
Keep reading
See the whole platform on one call.
30 minutes, no slides. We walk you through the platform or the API you need, answer every question, and send a written price, often the same day.