accountId from Player authorization. From that moment it is the identity Zero-Dash uses for everything about that player.
Zero-Dash keys the following on accountId
All bets · all transactions · reporting, telemetry and audits
The four requirements
Unique per player
No two players may ever share an account ID.
Permanent
Stable for the player’s entire lifetime. It is never re-issued and never reused.
No personal data
No email, no name, no username, no document number. Nothing that identifies a human.
One currency each
An account ID maps to exactly one currency, permanently.
Choosing an identifier
- Good
- Bad
One currency per account
This is the requirement most likely to bite a multi-currency platform. An account ID may only ever be associated with one currency. A player who holds a USD wallet and a BTC wallet is two account IDs:Where it appears
Four field names, one identifier.
playerId in the money callbacks is the same value you returned as accountId — resolve it the same way everywhere.Display name
Alongside the account ID you returndisplayName, shown to other players in shared surfaces such as multiplayer chat and live bet lists.
Do
Matthew S. · Player_4821 · LuckyDuck77Abbreviated, pseudonymous, safe to show publicly.Do not
matthew.smith@example.com · Matthew SmithFull names and contact details are visible to strangers.Sub-operators
Several brands behind a single integration? ReturnsubOperatorId and the games use it to keep shared surfaces separate — for example, one chat room per brand rather than one for everyone.