/
v3.0.11Get access

registerUserBySocialInfo

Registers a new user account from the data collected during a social login and opens a session for it, using the registration token returned by socialNetworkLoginV2.

Request parameters:

Name
DescriptionTypeValuesDefault
socialRegistrationToken
The `registration.token` returned by `socialNetworkLoginV2`. It can be used only once and is rejected 10 minutes after it was issuedstring--
email
Primary contact email address. When the social network supplied a verified email, submitting a different one is rejected; leave the field out to keep the provider valuestring--
firstName
User's legal first name. Leave it out or send it empty to keep the value the social network suppliedstring--
lastName
User's legal last name. Leave it out or send it empty to keep the value the social network suppliedstring--
currency
The currency for the accountstringCurrency-
languageCode
Preferred language code for communicationsstring--
language
Display language selected by the userstring--
city
The user's city of residencestring--
phone
User's phone number for contact or verificationstring--
agree
Confirmation that the user agrees to the general termsbooleantrue / false-
siteId
The ID of the specific site/partner platformnumber--
gender
The user's genderstringGenders-
userName
The unique handle for the user. Must be unique across the system. This is typically used for login and public-facing profile identificationstring--
birthDate
User's date of birthstringYYYY-MM-DD-
docNumber
Identity document number. Note: Uses personalId as fallbackstring--
promoCode
Promotional code for offers or bonuses. It captures the B-Tag (Affiliate Tracking Tag) to link the new player to a specific marketing partner or referral sourcestring--
personalId
Personal identification numberstring--
countryCode
ISO country codestring"US", "GB", etc.-
incomeSource
Source of the user's incomestring--
subscribeToSms
Whether the user agrees to receive SMS messagesbooleantrue / false-
confirmationCode
Confirmation code sent via email or SMSnumber--
subscribeToEmail
Whether the user agrees to receive promotional emailsbooleantrue / false-
maxDailyBetAmount
Daily betting limit set by the usernumber--
maxMonthlyBetAmount
Monthly betting limit set by the usernumber--
subscribeToPhoneCall
Whether the user agrees to marketing callsbooleantrue / false-
maxSessionDurationDaily
Maximum daily session duration in hours. The SDK converts the value to minutes before sending itnumber--
maxSessionDurationWeekly
Maximum weekly session duration in hours, tracked over a rolling 7-day period. The SDK converts the value to minutes before sending itnumber--
maxSessionDurationMonthly
Maximum monthly session duration in hours. The SDK converts the value to minutes before sending itnumber--
subscribeToInternalMessage
Agree to receive internal messages on the platformbooleantrue / false-
subscribeToPushNotification
Agree to receive push notificationsbooleantrue / false-
btag
Affiliate or tracking tag for the usernumber--
iban
User's International Bank Account Numberstring--
title
User's titlestring--
docType
Type of identification document provided by the usernumber--
nickName
Optional nickname or display name for the userstring--
swiftCode
SWIFT/BIC code for international bankingstring--
docIssuedBy
Authority or entity that issued the identification documentstring--
mobilePhone
User's mobile phone numberstring--
docIssueDate
Date the identification document was issuedstring--
docIssueCode
Code of the authority that issued the documentstring--
maxBetAmount
Maximum allowed bet amount for the usernumber--
sessionSource
Source of the sessionstring--
additionalAddress
Suite, Apartment, or secondary address infostring--
subscribeToBonus
Whether the user agrees to receive bonuses and promotional offersbooleantrue / false-
activeTimeInCasino
Active time spent in the casino sectionnumber--
newsletterSubscribe
Whether the user subscribes to the platform newsletterbooleantrue / false-
casinoMaximalDailyBet
Maximum allowed daily betting amount in the casino sectionnumber--
casinoMaximalSingleBet
Maximum allowed single bet amount in the casino sectionnumber--
isAutoWithdrawalEnabled
Whether automatic withdrawals are enabled for the userbooleantrue / false-
autoWithdrawalMinLeftAmount
Minimum remaining amount in the account after auto-withdrawal is triggerednumber--
middleName
User's middle name (if applicable)string--
citizenship
User's citizenship statusstring--
address
Primary street addressstring--
province
The user's province, state, or territorystring--
zipCode
Postal/Zip codestring--
telegramId
Optional Telegram integration IDstring--
bankAccount
It used to link a player's CPF-bound bank account, ensuring full traceability and preventing Money Laundering (AML). When the object is supplied, every field below must be present or the bank account is dropped from the requestobject-
└─ branch
The specific branch code or routing number associated with where the account was openednumber--
└─ bankId
A unique system identifier for the financial institution (often an internal ID or a swift/BIC-like code)string--
└─ bankName
The full legal name of the bankstring--
└─ accountId
The actual bank account number or a unique tokenized identifier for the accountnumber--
└─ accountType
The category of account. A value outside this set is rejected before the request is sentstringAccount Types-
salary
User's income bracketstring--
balanceLimit
Maximum balance allowed on the accountnumber--
maxDayDeposit
Daily deposit ceilingnumber--
hasMentalIllness
Safety flag for responsible gamingbooleantrue / false-
isSubscribeToCasinoSms
Specific opt-in for Casino-related SMSbooleantrue / false-
subscribeToNewsletter
General newsletter subscriptionbooleantrue / false-
locationToken
GeoComply token for location verificationstring--
externalAuthToken
Token used for third-party authenticationstring--
termsAcceptanceVersion
Records which version of T&C the user acceptedstring--
termsAndConditionsVersion
Version of the Terms and Conditions the user accepted. Sent on the same wire field as termsAcceptanceVersion, which takes precedence when both are suppliedstring--
identificationType
This field specifies the type of government-issued document used for mandatory identity verificationstring--
confirmEmail
To re-enter their email address to ensure it matches the primary email fieldstring--
gRecaptchaResponse
This field is a Bot Mitigation token. It contains the encrypted payload generated by Google's reCAPTCHA service on the frontend. The backend uses this token to verify that the registration request was initiated by a real human and not an automated script or botstring--
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 field is checkedstring8-
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--
loyaltyCode
Tracks participation in specialized loyalty or retention programsstring--
accountHolder
This field stores the Full Legal Name of the bank account owner as it appears on official bank recordsstring--
referenceCode
This field is used for Specific Marketing Attribution. It captures a unique code (often provided via a referral link or a physical voucher) to link the player to a particular campaign, influencer, or partnerstring--
occupation
This field captures the player's current profession or source of livelihoodstring--
isSubscribeToCasinoPushNotification
This field captures the player's explicit, opt-in consent to receive marketing communications and promotional alerts specifically via browser or app push notificationsbooleantrue / false-
birthRegion
This field records the specific province, state, or administrative region where the player was bornstring--
maxMonthDeposit
This field defines the Monthly Financial Limit for the playernumber--
isSubscribeToCasinoEmail
This field captures the player's explicit opt-in consent to receive marketing and promotional materials via emailbooleantrue / false-
birthDepartment
This field captures the administrative district or department of the player's birthstring--
categoryId
This field facilitates the dynamic mapping of partner-specific labels to the core system's VIP (High-Value Client) status. Sent to the backend as partner_client_category_idstring--
maxWeeklyBetAmount
Weekly betting limit set by the usernumber--
autoWithdrawalAmount
Automates "Winnings Protection" by moving excess funds out of the gaming environmentnumber--
isSubscribeToCasinoPhoneCall
This field captures the player's explicit opt-in consent to receive direct marketing communications via voice telephone callsbooleantrue / false-
isSubscribeToCasinoInternalMessage
This field captures the player's explicit opt-in consent to receive marketing and promotional notifications through the internal platform inboxbooleantrue / false-
maxYearDeposit
It represents the maximum total amount of money a user is permitted to deposit into their gaming account over a rolling 1 year periodnumber--
maxSingleDeposit
It restricts the amount a player can deposit in one go, regardless of their total daily or monthly limitsnumber--
maxWeekDeposit
This parameter defines the maximum cumulative amount a player can deposit into their account within a rolling 7-day periodnumber--
maxWeeklyDeposit
Weekly deposit ceiling, sent to the backend on the max_weekly_deposit field alongside maxWeekDepositnumber--
rfid
This field serves as the unique identifier for a physical Radio Frequency Identification (RFID) card or fob assigned to a playerstring--
maximalMonthlyBet
This field defines the Monthly Turnover Limit for the player. It represents the maximum cumulative amount a user is permitted within a rolling 30-day periodnumber--
ipAddress
This field captures the Internet Protocol (IP) address of the device used by the player at the moment of registration or loginstring--
betGiftCode
This field represents a unique social betting feature that allows a player to transfer an "unsettled" (active) bet to another individualstring--
fingerPrint
This field carries the Iovation Blackbox Hash, a sophisticated device identifier used to detect and prevent fraud during critical actions like registration and loginstring--
docRegionId
This field is captures the unique identifier of the administrative region where the player's identity document was issuedstring--
docRegionCode
This parameter specifies the Sub-national Region or State where a user's identification document was issuedstring--
salaryMin
This field represents the player's lowest annual incomenumber--
salaryMax
This field represents the player's highest annual incomenumber--
bsn
This field captures the Dutch Citizen Service Number, a unique 9-digit personal identifier mandatory for all residents of the Netherlandsstring--
birthCity
This field captures the official city of birth as stated on the player's government-issued identificationstring--
birthName
This parameter captures the legal name of an individual at birthstring--
securityQuestion
This field is a composite security object containing a Question and its corresponding Answerobject-
└─ question
This is the "Challenge." It is the text the user will be prompted to verify their identity with a support agentstring--
└─ answer
This is the "Secret." It is used to authorize an account recovery actionstring--
docExpirationDate
This parameter specifies the expiry date of the user's identification document.stringYYYY-MM-DD-
utmTag
This is a Marketing Attribution parameter used to track the origin of a player's registrationstring--
cashDeskId
This parameter identifies a specific Physical Betting Shop or Retail Branch associated with a player's accountstring--
bluemServiceIntegrationData
This is a Identity Verification Integration object specifically required for the Netherlands (KSA) market. iDIN allows players to verify their age and address through their own bank's secure environment before completing registrationobject-
└─ entranceCode
This is a security string generated by the iDIN provider. Sent to the backend as entrance_codestring--
└─ transactionId
This is the unique reference number for the specific identity check. Sent to the backend as transaction_idstring--
maxDailyLoss
This parameter allows a player to set a "cap" on the maximum amount to lose activities within a 24-hour windownumber--
maxWeeklyLoss
This parameter allows a player to set a "cap" on the maximum amount to lose activities over a rolling 7-day periodnumber--
maxMouthlyLoss
This parameter allows a player to set a "cap" on the maximum amount to lose activities over a one-month periodnumber--
casinoMaxDailyLoss
The maximum net loss allowed on Casino games within a 24-hour periodnumber--
casinoMaxWeeklyLoss
The maximum net loss allowed on Casino games over a rolling 7-day periodnumber--
casinoMaxMonthlyLoss
The maximum net loss allowed on Casino games over a rolling 30-day periodnumber--
mitIdCode
This parameter is the OIDC Authorization Code generated by the Danish MitID service. In the Danish regulated market, this code is the mandatory link between a player's physical identity and their digital gambling accountstring--
isSubscribeToCasinoNewsletter
This parameter is explicitly records whether a player has opted in to receive promotional content specifically related to Casino productsbooleantrue / false-
isSubscribeToCasinoBonus
This parameter is a Promotional Eligibility flag. It records whether a player specifically opts in to receive Casino-related bonusbooleantrue / false-
keepExternalLimits
This parameter allows a player to "transfer" or "keep" their existing monthly limit already registered in the LUGAS system from a previous operator, rather than forcing them to set a new manual limit during registrationbooleantrue / false-
isNoPredefinedDepositLimit
This parameter is a Regulatory Choice flag that specifically addresses the requirement for players to explicitly choose whether or not they want to set financial boundaries during registrationbooleantrue / false-
legitimuzInfoKey
This parameter is a Third-Party KYC Session Token specifically for the Brazilian (LATAM) marketstring--
note
The note parameter is an optional string used to attach additional context, tracking information, or administrative remarks to a new user profile during the registration processstring--
position
The parameter is intended to capture the client's job title or rankstring--
experienceLevel
This parameter is used to store the player's Professional Industry. It acts as the second tier of the employment verification logicstring--
This method is usually used with these methods:

Call example:

registerUserBySocialInfo({
  socialRegistrationToken: '3b7d0f4a9c2e4f8b8a6d1c5e7f9a2b4c',
  email: '[email protected]',
  firstName: 'John',
  lastName: 'Doe',
  currency: 'USD',
  phone: '+37411223344',
  countryCode: 'AM',
  birthDate: '1990-04-17',
  language: 'eng',
  languageCode: 'en'
})

Response examples:

{
  code: 0,
  hasError: false,
  errorDetails: {
    key: '',
    message: ''
  },
  data: {
    user_id: 132425153,
    username: 'john.doe',
    auth_token: 'a1d4f7c0e3b64f9a8c2d5e7f1b3a9c60',
    can_login: true,
    currency_name: 'USD',
    is_new_client: true,
    authentication_status: 1,
    active_verification_step: 0
  }
}

Response parameters:

NameDescriptionTypeValues
user_id
The unique User IDnumber-
auth_token
Session token for the new player. Always returned on success — the account is registered and logged in by the same callstring-
username
The display name or login identifier generated for the accountstring-
jwe_token
The JSON Web Encryption tokenstring-
can_login
A safety flag indicating if the account is currently permitted to access the platformbooleantrue / false
currency_name
The currency associated with the user's walletstring-
is_new_client
Whether the client was just created by this callbooleantrue / false
status
Backend status code of the registrationnumber-
authentication_status
Verification status of the clientnumber-
active_verification_step
Indicates if there is a pending Know Your Customer (KYC) or security action requirednumber-
deposit_count
Number of deposits made. Always 0 for a freshly created accountnumber-
deposit_amount
Total deposited amount on the account. Always 0 for a freshly created accountnumber-
withdrawal_amount
Total withdrawn amount on the account. Always 0 for a freshly created accountnumber-
qr_code_origin
QR origin used to set up two-factor authenticationstring-
needs_subscriptions_update
The client still has to confirm the subscription settingsbooleantrue / false