Backoffice

List Active Jackpots

Get active jackpots with tenant-specific caching.

This endpoint caches responses for 15 seconds per tenant to improve performance
while ensuring data isolation between different tenants.

GET /api/v1/jackpots/active

List Active Jackpots

curl --request GET \
  --url 'https://api.example.com/api/v1/jackpots/active' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "jackpots": [
    {
      "id": 1,
      "campaign_id": 1,
      "title": "<string>",
      "boosted_chance": "<string>",
      "display_order": 1,
      "jackpot_type": {},
      "amount": "<string>",
      "max_payout_amount": "<string>",
      "timespan": {},
      "recent_wins": [
        {}
      ],
      "payout_before": "<date-time>",
      "next_event_start": "<date-time>"
    }
  ]
}

Successful Response

Authorizations

  • Authorization string required header

Query Parameters

  • currency string

    Currency code

  • jackpot_title string

    Jackpot title to filter the request with

  • language string

    Two letters code of language according to ISO 639-1 standard

  • player_id string

    Player external ID to filter jackpots by eligibility

  • tenant_name string required

Response

application/json
  • jackpots[] object array
    + Show Child Attributes
    • id integer
    • campaign_id integer
    • title string
    • boosted_chance string
    • display_order integer
    • jackpot_type allOf
      + Show Child Attributes
      • allOf 1 string enum allOfenum

        An enumeration. Allowed values: PB, PR, TD.

    • amount string

      Current jackpot amount responds to the currency passed in query string.

    • max_payout_amount string

      Amount responds to the currency passed in query string.

    • timespan allOf
      + Show Child Attributes
      • id integer allOf

        Schema traversal was truncated at maximum depth.

      • day_of_month integer allOf

        Schema traversal was truncated at maximum depth.

      • day_of_week integer allOf

        Schema traversal was truncated at maximum depth.

      • interval string enum allOfenum

        An enumeration. Allowed values: EH, ED, EW. Schema traversal was truncated at maximum depth.

      • timespan_end string (date-time) allOf

        Schema traversal was truncated at maximum depth.

      • timespan_start string (date-time) allOf

        Schema traversal was truncated at maximum depth.

    • recent_wins[] object array

      Wins are ordered by recency

      + Show Child Attributes
      • id integer

        Schema traversal was truncated at maximum depth.

      • payout string

        The field responds to the currency passed in query string. Schema traversal was truncated at maximum depth.

      • payout_date string (date-time)

        Schema traversal was truncated at maximum depth.

      • winner object

        Schema traversal was truncated at maximum depth.

    • payout_before string (date-time)

      When the current active jackpot must drop by

    • next_event_start string (date-time)

      When the next event will start if there's no active event