wallet

Playtech.API. wallet

Methods

# (static) convertLoyaltyPoints() → {Promise.<{Object}>}

See ims docs
Returns:
Type
Promise.<{Object}>
Example
Playtech.API.wallet.convertLoyaltyPoints().then((data) => { ... });

# (static) getCompPointsConversionDetails() → {Promise.<{Object}>}

See ims docs
Returns:
Type
Promise.<{Object}>
Example
Playtech.API.wallet.getCompPointsConversionDetails().then((data) => { ... });

# (static) getDynamicBalances(options) → {Promise.<{Object}>}

See ims docs
Parameters:
Name Type Description
options Object
Properties
Name Type Attributes Description
balanceTypes Array.<string>
clientType string <optional>
clientPlatform string <optional>
languageCode string <optional>
Returns:
{balances: {balanceType: string, balance: {amount: string, currencyCode: string}}[]}
Type
Promise.<{Object}>
Example
Playtech.API.wallet.getDynamicBalances({ balanceTypes: ['real_gaming_balance'] }).then((data) => { ... });