This guide is intended for developers and technical teams migrating an existing Mentor V2 data integration to Mentor V3.
The V3 data contract introduces a more structured event model, changes several common header fields and adds new event types that were not available through the V2 stream.
The migration can therefore be approached in two parts:
The V3 data contract is the source of truth for the integration. Each field in the specification is marked as required or optional. Use this migration guide to understand the main differences from V2, and the data contract to implement and validate the final integration.
The preferred integration method continues to be Google Pub/Sub (see Data Ingestion), providing continuous event delivery to Mentor.
If your current V2 integration uses CSV uploads, consider moving to Pub/Sub as part of the migration where technically feasible.
Mentor supports:
Using the V3 streaming integration provides direct alignment with the V3 Protobuf schema and allows events to be processed continuously.
The most important structural changes when moving from V2 to V3 are:
customerIdHash is replaced by customerId.clientId and brandId are replaced by the new sourceId concept.eventTimestamp must be provided in UTC.eventTimezone is introduced separately.eventType is removed.cash and play retain an eventType inside their respective objects.REGISTER and CUSTOMERDETAIL are consolidated into profile.LIMITCHANGE is replaced by dedicated limit objects.SCOREINFORMATION is replaced by dedicated credibility and watchlist events.LOGINDETAIL and RECONCILIATION are removed.Migrating the existing V2 events is sufficient for adapting the existing integration, but V3 also introduces additional event types.
Where the required information exists in your systems, consider implementing these events as part of the migration. They provide Mentor with additional player and operational context and enable capabilities that cannot be supported by V2 data alone.
| V3 Event | Purpose |
|---|---|
action |
Provides structured information about actions associated with a player, including actions originating outside Mentor. |
interaction |
Provides structured information about interactions with a player. |
relatedPlayers |
Links related player accounts, for example where multiple accounts or a shared household are known. |
lifetime |
Provides aggregated lifetime values for important player KPIs. |
migrate |
Supports changes to a player's customerId, for example following an ID rotation or platform migration. |
limitExceeded |
Provides information when a player reaches or exceeds a configured limit. |
The V3 profile object also supports additional player information, including:
These additions are not replacements for existing V2 events that must be migrated. They are opportunities to enrich the V3 integration where the relevant data is available.
V3 changes the attributes used when publishing events through Pub/Sub.
| Attribute | Example | Description |
|---|---|---|
| tenantId | f7fd4667-a758-41ba-95a5-b0064465000e |
UUID provided by Neccton during onboarding that identifies the tenant. |
| deduplicationId | 1c7e25ea-878a-4af6-99a1-6b0382898f05 |
Unique identifier for an event message used for deduplication. |
tenantId is provided by Neccton.
deduplicationId must be generated by the sending system and should be unique for each event message. This supports deduplication when using at-least-once delivery.
V3 changes the common fields used across events.
| V2 | V3 | Migration Change |
|---|---|---|
clientId |
sourceId |
Replace the free-text client identifier with the UUID provided for the applicable source. |
brandId |
sourceId |
Brand/source information is represented through sourceId rather than a separate free-text brandId. |
customerIdHash |
customerId |
Replace customerIdHash with customerId. The identifier can be internal or hashed. If hashing is used, the salt and algorithm must be provided to Neccton. |
eventTimestamp |
eventTimestamp |
Retained, but timestamps must be provided in UTC. |
| — | eventTimezone |
New field containing the relevant TZ database timezone identifier, for example Europe/Berlin. |
eventId |
eventId |
Retained. A UUID is recommended. |
eventType |
Event object | Removed from the common header. The event is identified by its structured V3 object. |
Refer to the V3 data contract for the exact required and optional fields.
V2 primarily identifies events using a top-level eventType:
{
"eventId": "TXN-20200130-001",
"eventType": "DEPOSIT"
}
V3 identifies the event through a dedicated object:
{
"customerId": "c2",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"cash": {
"eventType": "DEPOSIT",
"amount": 350,
"currency": "EUR"
}
}
For cash and play, eventType remains inside the event object because several related event types share the same structure:
cash.eventType differentiates events such as DEPOSIT and WITHDRAWAL.play.eventType differentiates BET and WIN.For other events, the object itself identifies the type, for example profile, playbreak, moneyLimit, timeLimit or status.
Use the following table as a starting point when migrating existing producers.
| V2 Event | V3 Event/Object | Migration |
|---|---|---|
REGISTER |
profile |
Consolidated into the V3 player profile structure. |
CUSTOMERDETAIL |
profile |
Consolidated into the same profile structure. |
BET |
play |
Moved into play; type specified through play.eventType. |
WIN |
play |
Moved into play; type specified through play.eventType. |
DEPOSIT |
cash |
Moved into cash; type specified through cash.eventType. |
WITHDRAWAL |
cash |
Moved into cash; type specified through cash.eventType. |
LIMITCHANGE |
moneyLimit / timeLimit |
Split into dedicated monetary and time limit structures. |
PLAYBREAK |
playbreak |
Retained as a concept but represented as a structured object. |
CUSTOMERSTATUS |
status |
Replaced by the structured status object. |
SCOREINFORMATION |
credibility / watchlist |
Split depending on the type of information. |
LOGINDETAIL |
— | Removed. |
RECONCILIATION |
— | Removed. |
| CSV lifetime data | lifetime |
Available as a dedicated V3 event. |
These events do not require a direct V2 equivalent and can be added where applicable:
| V3 Event | Recommendation |
|---|---|
action |
Add where external systems hold structured information about actions taken for a player. |
interaction |
Add where interactions with players are available from CRM, PAM or other systems. |
relatedPlayers |
Add when relationships between player accounts are known. |
lifetime |
Add when the required aggregated lifetime information is available. |
migrate |
Use for supported customerId changes. |
limitExceeded |
Add when the source system can provide information about players reaching or exceeding limits. |
V2 uses separate REGISTER and CUSTOMERDETAIL events. V3 consolidates this information into the profile object.
In addition to migrating existing profile information, V3 allows additional information to be provided.
V3 supports multiple entries under profile.addresses, rather than limiting the player information to a single address.
profile.occupations can provide occupation information for the player.
profile.spokenLanguages replaces the previous single registeredLanguage approach and supports multiple languages, including identification of the primary language.
{
"customerId": "c11",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"profile": {
"title": "DI",
"firstName": "first",
"lastName": "last",
"addresses": [
{
"streetName": "street",
"streetNumber": "3",
"zipCode": "1234",
"city": "city",
"region": "region",
"country": "AT"
}
],
"occupations": [
{
"title": "Dr. of Mathematics",
"category": "Scientist",
"description": "Works in math science",
"type": "FULL_TIME"
}
],
"spokenLanguages": [
{
"language": "en",
"primary": true
}
],
"country": "AT",
"birthdate": "2003-10-12",
"gender": "MALE",
"registerDate": "2025-02-13"
}
}
PLAYBREAK becomes the structured playbreak object.
The main changes are:
playBreakStart becomes playbreak.playBreakStartDate.playBreakEnd becomes playbreak.playBreakEndDate.durationMinutes is removed.area is replaced by playbreak.gameNames.initiator is represented as a typed value.reason is no longer part of playbreak.Example:
{
"customerId": "c9",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"playbreak": {
"playBreakStartDate": "2025-02-10T14:11:16.359Z",
"playBreakEndDate": "2025-10-10T14:11:16.359Z",
"initiator": "CUSTOMER",
"gameNames": [
"TEST_GAME1",
"TEST_GAME2"
]
}
}
The V2 LIMITCHANGE event is split into dedicated V3 structures:
moneyLimit for monetary limits.timeLimit for time-based limits.limitExceeded for information about a player reaching or exceeding a limit.Important migration changes include:
limitOld is no longer sent.value.limitPeriodDays is replaced with a typed limitPeriod.limitArea is replaced by gameNames.initiator is represented explicitly.reason is no longer part of the limit event.{
"customerId": "c8",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"moneyLimit": {
"type": "DEPOSIT",
"limitStartDate": "2025-02-20T08:00:00.000Z",
"limitPeriod": "WEEKLY",
"value": 300.00,
"currency": "EUR",
"initiator": "CUSTOMER",
"gameNames": [
"TEST_GAME1"
]
}
}
{
"customerId": "c13",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"timeLimit": {
"limitStartDate": "2025-02-08T10:00:00.000Z",
"limitEndDate": "2025-10-08T10:00:00.000Z",
"limitPeriod": "DAILY",
"value": 120,
"initiator": "OPERATOR",
"gameNames": [
"TEST_GAME1"
]
}
}
{
"customerId": "c6",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"limitExceeded": {
"type": "MONEY",
"remainingLimitAmount": 300
}
}
V2 DEPOSIT and WITHDRAWAL events move into the cash object.
The event type is no longer located in the common event header. It is provided as cash.eventType.
Most existing cash information is retained but moved into the nested structure.
{
"customerId": "c2",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"cash": {
"paymentProvider": "PayPalTest",
"paymentMethod": "Wallet",
"amount": 350,
"processType": "VALID",
"currency": "EUR",
"eventType": "DEPOSIT",
"paymentAccountHash": "THISISDEFINITELYAHASH",
"balanceOld": 0,
"balanceNew": 350,
"initiator": "CUSTOMER"
}
}
Additional V3 information shown in the existing specification includes cash.initiator, while balanceOld and balanceNew are optional.
V2 BET and WIN events move into the play object.
play.eventType identifies whether the event represents a BET or WIN.
The V3 structure also changes how games are identified. Only a unique gameName is required in the event. Additional game information previously sent through gameId, gameTypeId, gameTypeName and gameCategory is managed in Mentor through Customisations.
{
"customerId": "c10",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"play": {
"gameName": "Book Of Ra Test",
"amount": 123.12,
"eventType": "BET",
"processType": "VALID",
"currency": "EUR",
"bonus": 250,
"balanceOld": 250,
"balanceNew": 250,
"odds": 3,
"betType": "SINGLE",
"serviceFee": 250
}
}
V3 also supports additional play information shown in the specification, including:
oddsbetTypeserviceFeeImplement these optional fields where the corresponding information is available.
CUSTOMERSTATUS becomes the structured status object.
The previous free-text customer status is replaced by the V3 status values:
PENDINGACTIVEBANNEDBLOCKEDCLOSEDExample:
{
"customerId": "c12",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"status": {
"customerStatus": "BANNED"
}
}
V2 uses the generic SCOREINFORMATION event. In V3, this is separated into dedicated structures depending on the information being provided.
Use watchlist for information such as PEP or sanction checks.
{
"customerId": "c14",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"watchlist": {
"type": "PEP",
"match": true
}
}
Use credibility for score information from sources such as TransUnion.
{
"customerId": "c3",
"eventTimestamp": "2025-01-30T14:11:16.359Z",
"eventTimezone": "Europe/Berlin",
"sourceId": "d801fdb9-9cde-481e-b170-3a87b523c780",
"eventId": "54c672d6a7e772385d4ae66e225abba1",
"credibility": {
"source": "TRANSUNION",
"score": "550",
"description": "just-testing"
}
}
The former scoreType determines which V3 structure is appropriate. The generic V2 SCOREINFORMATION structure itself should not be carried over.
For an existing V2 integration, separate the work into compatibility and enrichment.
First ensure that all currently required V2 data is represented correctly in V3:
sourceId and eventTimezone.eventType to structured event objects.REGISTER and CUSTOMERDETAIL.LIMITCHANGE.SCOREINFORMATION.LOGINDETAIL and RECONCILIATION events.Once the existing integration has been mapped, review which new V3 information already exists in your source systems.
In particular, check whether you can provide:
Providing these as part of the migration avoids recreating only the V2 integration on the new contract and allows Mentor to use the additional context supported by V3.
Before completing the integration, validate each implemented event against the V3 data contract.
The data contract defines the authoritative:
This migration guide explains what changed and what should be considered during migration. The V3 data contract defines exactly what must be sent.