getParentSession
Retrieves information about the parent session associated with the current user
Documentation
Try it now
Request parameters:
The method works without parameters
Call example:
getParentSession()Response examples:
{
result: 0,
details: {
UserId: 1454983840,
UserName: 'Alikharutyunyan_1454981792',
Balance: 0,
Unplayed: 0,
Bonus: 0,
SportBonus: 0,
CasinoBonus: 0,
CasinoBonusWin: 0,
Frozen: 0,
CasinoFrozen: 0,
BonusWin: 0,
IsUsingLoyaltyProgram: true,
LoyaltyPoint: 143.22,
LoyaltyEarnedPoints: 0,
LoyaltyExchangedPoints: 0,
LoyaltyLastEarnedPoints: 0,
LoyaltyPointUsagePeriod: 0,
LoyaltyMaxExchangePoints: 0,
LoyaltyMinExchangePoints: 0,
BonusMoney: 0,
Token: '641AA3DEA2A54FB05A6CA022ADA6683E',
LastName: 'Harutyunyan ',
FirstName: 'Alik',
Currency: 'FTN',
CurrencyName: 'FTN',
ParentCurrency: 'TUS',
Email: '[email protected]',
Region: 'AM',
IsVerified: true,
IsTaxApplicable: false,
IsSubscribedToNewsletter: false,
HasFreeBets: false,
LoyaltyLevelId: 3270,
LoyaltyLevelOrder: 1,
LoyaltyLevelName: '1',
IsSuperBetAvailable: true,
CounterOfferMinAmount: 18.46,
SportsbookProfileId: 10,
IsGDPRPassed: false,
IsCashOutAvailable: true,
IsResident: false,
IsAgent: false,
LastLoginDate: 1769547537,
LastLoginIP: '78.109.66.135',
RegistrationDate: '2023-06-08',
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-07-31',
IsTwoFactorAuthenticationEnabled: true,
AuthenticationStatus: 0,
Language: 'en',
IsEmailVerified: false,
IsPhoneVerified: false,
IsMobilePhoneVerified: false,
DocRegionId: 0,
LastSportBetTime: 1761813471,
LastDepositTime: 1737379985,
DepositCount: 20,
OwnerId: 1454981792
},
result_text: null
}