/
v3.0.11Get access

updateUser

This command facilitates a partial update of the user profile. Only the fields provided within the user_info object will be modified; all other existing data remains unchanged

Request parameters:

Name
DescriptionTypeValuesDefault
id
The unique identifier for the usernumber--
iban
International Bank Account Number of the usernumber--
city
The current city where the user residesstring--
phone
The user's verified mobile or landline number with country codestring--
email
The primary contact and login email addressstring--
zipCode
The postal or ZIP codestring--
gender
The user's genderstring"M", "F", "G"-
userName
The unique handle for the user. Must be unique across the system. This is typically used for login and public-facing profile identificationstring--
address
The primary residential street addressstring--
password
User’s chosen password for loginstring--
lastName
The user's legal surname/family namestring--
firstName
The user's legal first namestring--
birthDate
The user's date of birth (Format: YYYY-MM-DD). Used for age verificationstringYYYY-MM-DD-
docNumber
The identification number of the user's passport or national ID cardstring--
swiftCode
SWIFT/BIC code for international bank transfersstring--
birthCity
City where the user was bornstring--
personalId
Government-issued personal identification numberstring--
countryCode
The user's current residence country. The code ISO uppercase codestring"AM", "RU", "US", etc.-
birthRegion
This field records the specific province, state, or administrative region where the player was bornstring--
subscribeToSms
Whether the user agrees to receive SMS messagesbooleantrue / false-
birthDepartment
This field captures the administrative district or department of the player's birthstring"RE", "RM", "VE", "RO", etc.-
clientPepStatus
This field captures the player's self-declaration regarding their status as a Politically Exposed Person (PEP). It is a mandatory requirement for AML (Anti-Money Laundering) compliance in Poland. Front should allow only one value "8", if the filed is checkedstring-8
subscribeToEmail
Whether the user agrees to receive promotional emailsbooleantrue / false-
confirmationCode
Confirmation code sent via email or SMSstring--
additionalAddress
Secondary or complementary address informationstring--
subscribeToPhoneCall
Whether the user agrees to marketing callsbooleantrue / false-
subscribeToInternalMessage
Agree to receive internal messages on the platformbooleantrue / false-
subscribeToPushNotification
Agree to receive push notificationsbooleantrue / false-
personalId
Specifically used for the Polish market. Mapped to personal_id, it represents the national 11-digit identification numberstring--
birthCountry
This field identifies the user's country of birthstring"AM", "FR", etc.-
accountHolder
This field stores the Full Legal Name of the bank account owner as it appears on official bank recordsstring--
mobilePhone
The user's primary mobile contact numberstring--
subscribedToNews
Determines whether the user receives marketing updates, newsletters, and promotional contentbooleantrue / false-
middleName
User's middle name (if applicable)string--
currency
The preferred currency for the user. Must be a 3-letter ISOstring"AMD", "RUB", "USD"-
token
The active session or authentication tokenstring--
subscribeToBonus
Whether the user agrees to receive bonuses and promotional offersbooleantrue / false-
activeTimeInCasino
Total cumulative time the user has spent in the casino interfacebooleantrue / false-
title
User's titlestring--
nickName
The display name shown to other usersstring--
maxBetAmount
Maximum allowed bet amount for the usernumber--
maxDailyBetAmount
Daily betting limit set by the usernumber--
isTwoFactorAuthenticationEnabled
To enable Two-Factor Authentication (2FA) for the accountbooleantrue / false-
partnerClientCategoryId
This field facilitates the dynamic mapping of partner-specific labels to the core system's VIP (High-Value Client) statusstring--
province
The user's province, state, or territorystring--
affiliateId
This field is used for Attribution and Source Tracking. It links a new player registration to a specific licensed marketing partner (affiliate) to track the effectiveness of acquisition campaignsstring--
cashDeskId
This parameter identifies a specific Physical Betting Shop or Retail Branch associated with a player’s accountstring--
citizenship
User's citizenship statusstring--
clientId
A unique identifier for the specific client application or platform instancestring--
isSubscribeToCasinoNewsletter
This parameter is explicitly records whether a player has opted in to receive promotional content specifically related to Casino productsbooleantrue / false-
isSubscribeToCasinoEmail
This field captures the player's explicit opt-in consent to receive marketing and promotional materials via emailbooleantrue / false-
isSubscribeToCasinoSms
Specific opt-in for Casino-related SMSbooleantrue / false-
isSubscribeToCasinoBonus
This parameter is a Promotional Eligibility flag. It records whether a player specifically opts in to receive Casino-related bonusbooleantrue / false-
isSubscribeToCasinoInternalMessage
This field captures the player’s explicit opt-in consent to receive marketing and promotional notifications through the internal platform inboxbooleantrue / false-
isSubscribeToCasinoPhoneCall
This field captures the player's explicit opt-in consent to receive direct marketing communications via voice telephone callsbooleantrue / false-
isSubscribeToDirectMail
To manage the user's consent for direct mail marketing. Set to true to opt-in for physical/direct promotional materials, or false to opt-outbooleantrue / false-

Call example:

updateUser({
  additional_address: '',
  address: 'Baghramyan24',
  birth_date: '2004-04-04',
  city: 'Yerevan',
  country_code: 'AM',
  doc_number: '26526511',
  email: '[email protected]',
  first_name: 'wewqef',
  gender: 'M',
  id: 1490609605,
  last_name: 'wefwef',
  password: 'Aa2222222',
  phone: '37477565112',
  subscribe_to_email: true,
  subscribe_to_internal_message: true,
  subscribe_to_phone_call: true,
  subscribe_to_push_notification: true,
  subscribe_to_sms: true,
  swift_code: '',
  username: 'TestUser111',
  zip_code: ''
})

Response examples:

{
  code: 0,
  rid: 1376549941,
  data: {
    result: 0,
    result_text: null,
    details: []
  },
  hasError: false,
  error: {
    message: ''
  }
}