getChildSession
This method creates or retrieves a child session for the current user in the specified currency and returns full session, balance, loyalty, and profile information. Additionally, this method automatically inherits and activates all data subscriptions from the parent session, ensuring real-time updates continue without requiring manual re-subscription in the child context.
Documentation
Try it now
Request parameters:
Call example:
getChildSession({
currencyId: 'FTN'
})Response examples:
{
code: 0,
rid: 387386940,
data: {
result: 0,
result_text: null,
details: {
UserId: 1529861752,
UserName: 'test434_1529861660',
Balance: 0,
Unplayed: 0,
Bonus: 0,
SportBonus: 0,
CasinoBonus: 0,
CasinoBonusWin: 0,
Frozen: 0,
CasinoFrozen: 0,
BonusWin: 0,
IsUsingLoyaltyProgram: true,
LoyaltyPoint: 26.7,
LoyaltyEarnedPoints: 0,
LoyaltyExchangedPoints: 0,
LoyaltyLastEarnedPoints: 0,
LoyaltyPointUsagePeriod: 0,
LoyaltyMaxExchangePoints: 0,
LoyaltyMinExchangePoints: 0,
BonusMoney: 0,
Token: 'D351892007AFB4375F5E9670AE480432',
FirstName: 'Lilit Mkhitaryan',
Currency: 'FTN',
CurrencyName: 'FTN',
ParentCurrency: 'TUS',
Email: '[email protected]',
IsVerified: true,
IsTaxApplicable: false,
IsSubscribedToNewsletter: false,
HasFreeBets: false,
LoyaltyLevelId: 3270,
LoyaltyLevelOrder: 1,
LoyaltyLevelName: '1',
IsSuperBetAvailable: true,
CounterOfferMinAmount: 18.36,
SportsbookProfileId: 10,
IsGDPRPassed: false,
IsCashOutAvailable: true,
IsResident: false,
IsAgent: false,
LastLoginDate: 1771850340,
LastLoginIP: '91.103.58.246',
RegistrationDate: '2023-07-07',
IsSubscribeToEmail: true,
IsSubscribeToSMS: true,
IsSubscribeToBonus: true,
IsSubscribeToInternalMessage: true,
IsSubscribeToPushNotification: true,
IsSubscribeToPhoneCall: true,
IsSubscribeToDirectMail: true,
IsSubscribeToCasinoEmail: true,
IsSubscribeToCasinoNewsletter: true,
IsSubscribeToCasinoSMS: true,
IsSubscribeToCasinoBonus: true,
IsSubscribeToCasinoInternalMessage: true,
IsSubscribeToCasinoPushNotification: true,
IsSubscribeToCasinoPhoneCall: true,
IsBonusAllowed: true,
UnreadCount: 0,
PartnerId: 18749451,
Status: 2,
TermsAndConditionsVersion: '1',
TermsAndConditionsAcceptanceDate: '2024-08-19',
IsTwoFactorAuthenticationEnabled: false,
AuthenticationStatus: 0,
Language: 'en',
ExternalId: '0xe56e7AcA0441480326400C35c95926033c71472a',
IsEmailVerified: false,
IsPhoneVerified: false,
IsMobilePhoneVerified: false,
DocRegionId: 0,
LastSportBetTime: 1761641906,
DepositCount: 0,
OwnerId: 1529861660,
NeedsSubscribtionsUpdate: false
}
}
}