¶ Intro
¶ Overview of the event structure and the mandatory header fields used in every message.
¶ Header Fields
required
string
Identifier of the player. This can be your internal playerID, or a hashed value. If hashing is used, the corresponding salt and hashing algorithm must be provided so Mentor can resolve the player correctly.
required
string
Event time in ISO-8601 format (UTC). This must reflect when the event actually happened in your system (e.g. when a limit was set), not when it was transmitted to Mentor.
required
string
Timezone of the event, using tz database identifiers (e.g. Europe/Berlin).
required
string
Identifier of where the player performed the event. Mentor supports multi-tenancy, so the meaning of this ID depends on your business structure. It may represent a brand, jurisdiction, outlet, legal entity, or another organizational unit. The sourceId is always a UUID, initially provided during onboarding and visible in the cockpit. Learn more about sources here (#ref link).
required
string
Unique identifier for the event. A UUID is recommended to ensure global uniqueness and simplify deduplication. Alternatively, a logical ID (e.g. eventType + customerId + eventTimestamp) can be used if it guarantees uniqueness within your system.
¶ Customer
¶ Covers everything related to the player’s personal information, registration, and account details. It includes lifetime values and KYC-related information to provide a better understanding of the player and their overall behavior.
¶ ProfileEvent
string
Academic or professional title, e.g. "Dr."
string
string
Player's citizenship, as an ISO 3166-1 alpha-2 code (e.g. AT).
Addresses where the player resides. Use an empty array if none.
Player's occupations. Use an empty array if none.
Languages the player speaks. Use an empty array if none.
required
Mentor.MainMessage.CountryCode
Data below is not stored encrypted in the database
Player's country, as an ISO 3166-1 alpha-2 code (e.g. AT).
required
string
Birthdate in yyyy-mm-dd format, e.g. 2025-02-13.
required
string
Registration date in yyyy-mm-dd format, e.g. 2025-02-13.
¶ Address
string
string
string
string
string
State, province or comparable administrative region.
required
Mentor.MainMessage.CountryCode
Country of the address, as an ISO 3166-1 alpha-2 code (e.g. AT).
string
Free field for tenant-specific use.
¶ Occupation
string
required
string
Custom identifier for the job category, matching the job categories in the Cockpit. An unknown category is created automatically.
string
Free-text details of the check.
¶ SpokenLanguage
required
Mentor.MainMessage.LanguageCode
Language spoken by the player, as an ISO 639-1 code (e.g. en).
bool
Marks the primary language the player can or wants to communicate in. Multiple primary languages are possible.
¶ LifetimeEvent
KPI the pre-aggregated value is provided for.
required
double
Pre-aggregated value of the KPI up to the timestamp of the event. Can be positive or negative, up to 2 decimal places.
Currency of the value, as an ISO 4217 code (e.g. EUR). Relevant for monetary KPIs.
¶ StatusEvent
¶ CredibilityEvent
External provider the score originates from.
required
int32
Credit score, between 0 and 1000.
string
Free-text description of the player's creditworthiness.
¶ WatchlistEvent
The type of watchlist the player was checked against.
required
bool
true if the player appears on that watchlist.
string
Free-text details of the check.
¶ RelatedCustomerEvent
repeated
string
An array of related player ids, in the same format as the customerId in the event header. At least one id must be provided.
¶ MigrateCustomerIdEvent
required
string
The player's new customerId. The old ID becomes invalid immediately.
¶ Activity
¶ Activity contains the core player data used for Responsible Gaming analysis. It includes play events and cash events, which provide insight into a player’s gaming and financial behaviour. This information is essential for calculating risk scores and enables the identification and monitoring of potentially harmful gambling patterns.
¶ PlayEvent
required
string
Name of the game played. Game names are managed in the Customization Area: an unknown name is created automatically and must then be configured there (category, display name and other options). The game becomes visible after the next cache refresh (approximately one hour).
required
double
Amount bet or won, in real money. Positive value, up to 2 decimal places.
required
Mentor.MainMessage.ProcessType
Processing state of the transaction. To update it, resend the event with the same eventId and a new value, see ProcessType.
required
Mentor.MainMessage.Currency
Currency of the amount, as an ISO 4217 code (e.g. EUR).
double
Bonus or promotional value of the bet or win (e.g. free spins, promotional credits or other non-cash wagering amounts). Positive value, up to 2 decimal places.
double
Player's balance before the bet or win. Positive value, up to 2 decimal places.
double
Player's balance after the bet or win. Positive value, up to 2 decimal places.
double
Odds of the bet. Must be >= 1, up to 4 decimal places. Can be used in responsible gambling risk scoring, e.g. to identify patterns such as consistently betting on high-odds outcomes.
Whether the event is a single, self-contained bet (SINGLE) or a combined bet made up of multiple individual bets (COMBINED).
double
Fee to subtract when determining the player's net revenue. Positive value, up to 3 decimal places.
¶ CashEvent
required
string
Name of the payment provider (e.g. PayPal, bank, Internet provider).
required
string
Method used for the transaction (e.g. bank account, credit card, prepaid).
required
double
Transaction amount in real money. Positive value, up to 2 decimal places.
required
Mentor.MainMessage.ProcessType
Processing state of the transaction. To update it, resend the event with the same eventId and a new value, see ProcessType.
required
Mentor.MainMessage.Currency
Currency of the amount, as an ISO 4217 code (e.g. EUR).
Whether the transaction is a deposit or a withdrawal.
string
Hashed identifier of the payment account (IBAN, credit card number, PayPal, etc.). Any hash algorithm can be used.
double
Player's balance before the transaction. Positive value, up to 2 decimal places.
double
Player's balance after the transaction. Positive value, up to 2 decimal places.
Who initiated this event: the player, an operator or the system. See Initiator.
¶ Engagement
¶ The Engagements section contains interactions and actions initiated by operators or automated systems towards a player. This includes measures such as communications, limits, play breaks, assessments, and other interventions. These engagements are used to support Responsible Gaming efforts and may influence or restrict a player’s ability to gamble.
¶ TimeLimitEvent
required
Mentor.MainMessage.Period
Period the limit applies to (e.g. daily, weekly, monthly), see Period. Use CUSTOM together with customLimitDuration if no predefined period fits.
int32
Custom limit period in days, used together with limitPeriod = CUSTOM. For example, 2 for a limit that applies per 2 days. Must be positive.
required
int64
Maximum play time per period, in minutes. Positive value.
repeated
string
Games the limit is restricted to. Game names are managed in the Customization Area; see PlayEvent for details.
required
Mentor.MainMessage.Initiator
Who initiated this event: the player, an operator or the system. See Initiator.
¶ MoneyLimitEvent
Type of monetary limit, see MoneyLimitType.
required
Mentor.MainMessage.Period
Period the limit applies to (e.g. daily, weekly, monthly), see Period. Use CUSTOM together with customLimitDuration if no predefined period fits.
int32
Custom limit period in days, used together with limitPeriod = CUSTOM. For example, 2 for a limit that applies per 2 days. Must be positive.
required
double
Amount the player is limited to, in real money. Positive value, up to 2 decimal places.
repeated
string
Games the limit is restricted to. Game names are managed in the Customization Area; see PlayEvent for details.
required
Mentor.MainMessage.Currency
Currency of the limit value, as an ISO 4217 code (e.g. EUR).
required
Mentor.MainMessage.Initiator
Who initiated this event: the player, an operator or the system. See Initiator.
¶ PlaybreakEvent
required
string
Start of the play break, in UTC (ISO-8601, e.g. 2025-02-10T14:11:16Z).
repeated
string
Games the play break is restricted to. Game names are managed in the Customization Area; see PlayEvent for details.
required
Mentor.MainMessage.Initiator
Who initiated this event: the player, an operator or the system. See Initiator.
¶ ActionEvent
required
string
Type of the action. Types are managed in the Customization Area; an unknown value is created automatically.
required
Mentor.MainMessage.Initiator
Who initiated this event: the player, an operator or the system. See Initiator.
string
Free-text reason for the action.
¶ InteractionEvent
Channel through which the interaction took place.
required
Mentor.MainMessage.Initiator
Who initiated this event: the player, an operator or the system. See Initiator.
required
string
Type of the interaction. Types are managed in the Customization Area; an unknown value is created automatically.
string
Free-text description of the interaction.
¶ NoteEvent
required
Mentor.MainMessage.Initiator
Who initiated this event: the player, an operator or the system. See Initiator.
required
string
Type of the note. Types are managed in the Customization Area; an unknown value is created automatically.
string
Free-text content of the note.
¶ Additional
¶ Includes supporting information that enriches player insights and compliance data. These events help build a broader understanding of player behavior and regulatory context.
¶ InformationEvent
Type of the engagement event this information is attached to.
required
string
The eventId of the event this information is attached to.
required
string
Type of the information. Types are managed in the Customization Area; an unknown value is created automatically.
string
Free-text content of the information.
¶ LimitExceededEvent
Type of limit that was exceeded.
required
string
The eventId of the limit event that was exceeded.
double
Amount still available within the limit. Example: the player used 900 EUR of a 1,000 EUR limit and tries to play 200 EUR. The limit is exceeded and the remaining amount is 100 EUR. Positive value, up to 2 decimal places.
¶ Enums
¶ BetType
SINGLE
=0
COMBINED
=1
¶ CashEventType
DEPOSIT
=0
WITHDRAWAL
=1
¶ CommunicationChannel
EMAIL
=0
Interaction via email communication
PHONE_CALL
=1
Interaction via a phone call
CHAT
=2
Interaction via live chat or messaging platform
OTHER
=3
Any other type of interaction not covered by the above
¶ CountryCode
AF
=1
AX
=2
AL
=3
DZ
=4
AS
=5
AD
=6
AO
=7
AI
=8
AQ
=9
AG
=10
¶ Currency
XXX
=0
ALL
=8
DZD
=12
ARS
=32
AUD
=36
BSD
=44
BHD
=48
BDT
=50
AMD
=51
BBD
=52
¶ CustomerStatus
PENDING
=0
Account created, but not yet verified or activated.
ACTIVE
=1
The player can play normally.
BANNED
=2
Permanently barred by the operator.
RESTRICTED
=3
The player can play with limitations.
CLOSED
=4
Account closed.
SELF_EXCLUDED
=5
The player has excluded themselves from gambling.
SUSPENDED
=6
Temporarily blocked by the operator, e.g. pending a review.
INACTIVE
=7
No recent activity.
¶ EngagementEventType
ACTION
=0
INTERACTION
=1
PLAY_BREAK
=2
MONEY_LIMIT
=3
TIME_LIMIT
=4
NOTE
=5
¶ Gender
OTHER
=0
MALE
=1
FEMALE
=2
¶ Initiator
CUSTOMER
=0
The player.
OPERATOR
=1
A person acting for the operator, e.g. a customer service agent.
SYSTEM
=2
An automated process.
¶ KpiKey
DEPOSIT_AMOUNT
=0
WITHDRAWAL_AMOUNT
=1
BET_AMOUNT
=2
WIN_AMOUNT
=3
PLAYING_DURATION
=4
¶ LanguageCode
ab
=1
aa
=2
af
=3
ak
=4
sq
=5
am
=6
ar
=7
an
=8
hy
=9
as
=10
¶ LimitEventType
MONEY_LIMIT
=0
Use for MoneyLimits
TIME_LIMIT
=1
Use for TimeLimits
¶ MoneyLimitType
DEPOSIT
=0
Amount that can be deposited to the player's account
LOSS
=1
Amount that the player is allowed to lose
STAKE
=2
Amount the player is allowed to wager (bet).
BALANCE
=3
Amount that the player is allowed to keep in the account
¶ OccupationType
FULL_TIME
=0
PART_TIME
=1
MINOR_EMPLOYMENT
=2
Employment with limited hours, e.g., 10 hours/week
TEMPORARY_WORK
=3
Project-based or seasonal employment
SELF_EMPLOYED
=4
INTERNSHIP
=5
APPRENTICESHIP
=6
ON_CALL_WORK
=7
OTHER
=10
¶ Period
DAILY
=0
Calendar day.
WEEKLY
=1
Calendar week, starting at the beginning of the week (not rolling).
MONTHLY
=2
Calendar month, starting at the beginning of the month (not rolling).
SESSION
=3
A single play session.
CUSTOM
=4
Use when predefined periods don’t apply. Follow the instructions in the event requiring this information.
¶ PlayEventType
BET
=0
WIN
=1
¶ ProcessType
VALID
=0
Completed successfully.
CANCELED
=1
Cancelled before completion.
FAILED
=2
Failed for a technical reason.
DENIED
=3
Rejected, e.g. by the payment provider or the operator.
INSUFFICIENT_FUNDS
=4
Rejected because the balance was too low.
REQUESTED
=5
Initiated, but not yet completed.
¶ SourceEnum
TRANSUNION
=0
SCHUFA
=1
¶ WatchlistType
PEP
=0
Politically Exposed Person (PEP):
Individuals who hold prominent public functions or have close associations with such persons. Due to their positions, they may present higher risks for potential involvement in bribery, corruption, or money laundering.
SANCTION
=1
Individuals or entities subject to official sanctions or restrictions imposed by governments or international bodies. These sanctions typically prohibit or restrict financial transactions and business dealings with listed parties to comply with regulatory and legal requirements.