/
v3.0.11Get access

getParentSession

Retrieves information about the parent session associated with the current user

Request parameters:

The method works without parameters
This method is usually used with these methods:

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
}

Response parameters:

NameDescriptionTypeValues
FirstName
The user's legal first name.string-
Currency
The ISO code for the user's active currency (e.g., FTN).string-
CurrencyName
The full display name of the active currency.string-
ParentCurrency
The base currency of the platform or parent entity.string-
Email
The registered email address of the user.string-
Region
User's registered ISO country code (e.g., AM)string-
IsVerified
Indicates if the user has passed primary KYC checks.booleantrue / false
IsTaxApplicable
Indicates if winnings are subject to tax withholding.booleantrue / false
IsSubscribedToNewsletter
General marketing opt-in.booleantrue / false
HasFreeBets
Indicates if the user has available free bet tokens.booleantrue / false
LoyaltyLevelId
The internal identifier for the user's current loyalty tier.number-
LoyaltyLevelOrder
The numerical rank of the loyalty level in the hierarchy.number-
LoyaltyLevelName
The display name of the user's loyalty tier (e.g., "1").string-
IsGDPRPassed
Indicates if the user has accepted data protection terms.booleantrue / false
IsCashOutAvailable
Indicates if the user can settle bets before event completion.booleantrue / false
IsResident
Indicates if the user is a local resident for legal purposes.booleantrue / false
IsAgent
Indicates if the account holds agent/admin privileges.booleantrue / false
LastLoginDate
Timestamp of the most recent successful login (Unix).number-
LastLoginIP
The IP address used during the last login session.string-
UserId
The unique internal identifier for the user account.number-
UserName
The unique handle used by the player to log in.string-
Token
The active session authorization token.string-
LastName
The user's legal last name.string-
Balance
The primary withdrawable cash balance.number-
Unplayed
Funds deposited but not yet wagered (often subject to rollover).number-
Bonus
Total active bonus funds available across the account.number-
BonusMoney
Specific non-withdrawable funds reserved for wagering.number-
BonusWin
Total winnings accumulated from active bonuses.number-
SportBonus
Bonus balance specifically allocated for Sportsbook wagering.number-
CasinoBonus
Bonus balance specifically allocated for Casino wagering.number-
CasinoBonusWin
Winnings derived specifically from Casino bonuses.number-
Frozen
Funds currently locked (e.g., pending withdrawals or active bets).number-
CasinoFrozen
Funds specifically locked within the Casino product.number-
IsEmailVerified
Indicates if the user's email address has been confirmed.booleantrue / false
IsPhoneVerified
Indicates if the user's primary phone has been confirmed.booleantrue / false
IsMobilePhoneVerified
Specifically tracks verification of the mobile device.booleantrue / false
IsTwoFactorAuthenticationEnabled
Indicates if 2FA security is active on the account.booleantrue / false
AuthenticationStatus
The current stage of the user's login session.number-
IsUsingLoyaltyProgram
Indicates if the user is enrolled in the rewards system.booleantrue / false
LoyaltyPoint
Current balance of spendable loyalty points.number-
LoyaltyEarnedPoints
Total lifetime points accrued by the user.number-
LoyaltyExchangedPoints
Total points already converted into currency or prizes.number-
DocRegionId
Region ID associated with the user's KYC documents.number-
LoyaltyLastEarnedPoints
Points granted during the most recent user activity.number-
LoyaltyPointUsagePeriod
The timeframe in which current points must be used.number-
LoyaltyMaxExchangePoints
The maximum point limit for a single conversion.number-
LoyaltyMinExchangePoints
The minimum point threshold required to exchange.number-
IsSuperBetAvailable
Indicates if the user can place bets exceeding standard limits.booleantrue / false
CounterOfferMinAmount
Minimum amount required for a custom bookmaker offer.number-
IsBonusAllowed
Master switch for eligibility for any promotional offers.booleantrue / false
RegistrationDate
The date the account was created.string-
LastDepositTime
Timestamp of the last successful account funding (Unix).number-
LastSportBetTime
Timestamp of the last sports wager placed (Unix).number-
DepositCount
Lifetime total number of successful deposits.number-
Language
User's preferred interface language code (e.g., en).string-
PartnerId
Identifier for the business partner or brandnumber-
OwnerId
ID of the parent account associated with this user.number-
Status
The current account state (e.g., 2 for Active).number-
UnreadCount
Number of pending internal messages or notifications.number-
TermsAndConditionsVersion
The version of the T&C the user has accepted.string-
TermsAndConditionsAcceptanceDate
The date the user last agreed to the legal terms.string-
SportsbookProfileId
The ID of the specific configuration profile applied to the user's sportsbook view.number-