Skip to main content

STXProfileService

public class STXProfileService
{
    Task<STXUserProfile> GetProfileAsync();
}

STXUserProfile

Key fields:
UserId, UserUid, SessionIdIdentifiers
Email, FirstName, LastNameBasic profile
Is2FAEnabledWhether the account has 2FA on
Is2FAPerDeviceEnabledPer-device 2FA flag
JurisdictionCodeRegulatory jurisdiction
LoyaltyTierFee schedule tier
CurrentLoginAt, LastLoginAtSession timestamps

STXSettlementService

public class STXSettlementService
{
    Task<STXMySettlementHistory> GetMySettlementsAsync(
        int? limit = null,
        int? offset = null,
        STXSortOrder? sortBy = null,
        STXSettlementType? settlementType = null,
        STXTradeSettlementType? tradeSettlementType = null,
        IEnumerable<string> marketIds = null,
        DateTime? from = null,
        DateTime? to = null);
}

Enums

EnumValues
STXSettlementTypewin, loss, push, refund, …
STXTradeSettlementTypewon, lost, pushed, …

STXSettlement

SettlementId, TradeId, OrderId, MarketIdIdentifiers
Typewin / loss / push
AmountSettlement amount in cents
SettledAtTimestamp

STXTermsAndConditionsService

public class STXTermsAndConditionsService
{
    // Check whether user still needs to accept (returns true when nothing pending)
    Task<bool> CheckTermsAndConditionsAsync();

    // Accept the given version
    Task<bool> AcceptTermsAndConditionsAsync(string version);

    // Get the current active T&C
    Task<STXTermsAndConditions> GetTermsAndConditionsAsync();
}
Use LoginAsync(checkTermsAndConditions: true) to trigger an automatic check as part of login — surfacing PromptTncAcceptance: true in the response. Task-oriented examples: Authentication.