Skip to content
Last updated

Get awarded feature configurations available for the games

This endpoint retrieves a list of awarded feature configurations that can be used while creating awarded feature campaigns.

Understanding Bet Values

The bet values returned by this endpoint represent the total cost of the buy feature for the player. This is calculated as:

Feature Cost = Base Bet × Buy Feature Multiplier

For example, if a game has:

  • Base bet: 1 EUR
  • Buy feature multiplier: 50x

The feature cost (and the value returned in the bet field) would be 50 EUR.

These values can be used directly in the bet field when creating an AWARDED_FEATURE campaign.

API Call Sample:

curl -i -X GET \
  -u <username>:<password> \
  'https://asia.stage.rubyplay.io/api/v1/awarded-feature-configurations?gameId=rp_140&bet=50&betGte=42&betLte=100&currencyCode=EUR&sortBy=bet&cursor=MTQwOjUwLjAw'
Response
application/json
{ "next": "MTQwOjUwLjAw", "results": [ { "gameId": "rp_140", "bet": 50, "currencyCode": "EUR" } ] }

Query Parameters:

gameIdArray of strings

When this parameter is used only information for matching game IDs will be returned.

Example: "rp_140"
betnumber

Value of a single feature in major currency units, e.g. 1.00 for 1 EUR. Either “bet” or both “betGte” and “betLte” must be present.

Example: 50
betGtenumber

Minimum value of a single feature in major currency units (inclusive), e.g. 1.00 for 1 EUR. Either “bet” or both “betGte” and “betLte” must be present.

Example: 42
betLtenumber

Maximum value of a single feature in major currency units (inclusive), e.g. 1.00 for 1 EUR. Either “bet” or both “betGte” and “betLte” must be present.

Example: 100
currencyCodestringrequired

ISO 4217 3-letter currency code.

Example: "EUR"
sortBystring

Response parameter name used to order the response. (gameId or bet).

Default "bet"
Example: "bet"
cursorstring

Base64 encoded cursor for pagination

Example: "MTQwOjUwLjAw"

Response Schema:

nextstring

Next page cursor URL (fully qualified URL relative to the base server URL).

Example: "MTQwOjUwLjAw"
resultsArray of objects(AwardedFeatureConfiguration)