> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stash.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Get product catalog

> Retrieves the complete product catalog including all purchasable items, offer chains, and non-purchasable display items organized in rows.



## OpenAPI

````yaml /egress-openapi.json get /api/v1/catalog
openapi: 3.0.0
info:
  title: Stash Web Shop API
  description: >-
    Server-side APIs for Stash web shop integration. This API set includes
    catalog management, purchase processing, and user management endpoints
    designed for server-to-server communication between game backends and Stash
    services.
  version: '1.0'
  contact:
    name: API Support
    url: https://docs.stash.gg/
    email: help@stash.gg
servers: []
security: []
tags:
  - name: Catalog
    description: Product catalog endpoints
  - name: Purchase
    description: Purchase processing endpoints
  - name: Players
    description: Player management endpoints
paths:
  /api/v1/catalog:
    get:
      tags:
        - Catalog
      summary: Get product catalog
      description: >-
        Retrieves the complete product catalog including all purchasable items,
        offer chains, and non-purchasable display items organized in rows.
      operationId: GetCatalog
      parameters:
        - name: platform
          description: |-
            Optional platform filter to get platform-specific catalog items

             - CATALOG_PLATFORM_UNSPECIFIED: Default unknown platform
          in: query
          required: false
          schema:
            type: string
            enum:
              - CATALOG_PLATFORM_UNSPECIFIED
              - CATALOG_PLATFORM_IOS
              - CATALOG_PLATFORM_ANDROID
              - CATALOG_PLATFORM_WEBSTORE
            default: CATALOG_PLATFORM_UNSPECIFIED
        - name: region
          description: >-
            Optional region filter using ISO-3166-1 alpha-2 country code (e.g.,
            'US', 'EU', 'JP')
          in: query
          required: false
          schema:
            type: string
        - name: language
          description: >-
            Optional language code filter using ISO 639-1 code (e.g., 'en',
            'es', 'fr', 'de')
          in: query
          required: false
          schema:
            type: string
        - name: playerId
          description: Optional player ID filter to get player-specific catalog items
          in: query
          required: false
          schema:
            type: string
        - name: shopId
          description: >-
            The originating Stash shop identifier (mirrors the shopId sent in
            webhooks)
          in: query
          required: false
          schema:
            type: string
        - name: environment
          description: Payment environment for the request
          in: query
          required: false
          schema:
            type: string
            enum:
              - PAYMENT_ENVIRONMENT_UNSPECIFIED
              - PAYMENT_ENVIRONMENT_TEST
              - PAYMENT_ENVIRONMENT_PRODUCTION
            default: PAYMENT_ENVIRONMENT_UNSPECIFIED
        - name: currentTierId
          description: >-
            Optional identifier of the player's current loyalty tier, resolved
            by Stash when a loyalty program is enabled. Use it to select the
            reward bundle for the player's current tier.
          in: query
          required: false
          schema:
            type: string
        - name: nextTierId
          description: >-
            Optional identifier of the loyalty tier directly above the player's
            current tier (absent at the top tier), resolved by Stash when a
            loyalty program is enabled. Use it to return a locked preview of the
            next tier's reward.
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/google.rpc.Status'
      security:
        - hmac: []
components:
  schemas:
    server.egress.shop.catalog.v1.GetCatalogResponse:
      type: object
      properties:
        catalog:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Catalog
      description: Contains the catalog data
      title: Get Catalog Response
      required:
        - catalog
    google.rpc.Status:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/google.protobuf.Any'
    server.egress.shop.catalog.v1.GetCatalogResponse.Catalog:
      type: object
      properties:
        sections:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Catalog.Section
          description: >-
            List of catalog sections to be displayed in the order they are
            provided
        triggers:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Catalog.CatalogTrigger
          description: >-
            Optional UI triggers (e.g. floating buttons) that open catalog
            sections by guid
        banner:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.ShopBanner
        refreshAt:
          type: string
          format: date-time
          description: >-
            Optional time when this player's catalog next changes in a way that
            no item, section or trigger time in it states, for example a
            scheduled reset or an offer that starts at that time. Stash treats
            its cached copy of the catalog as stale from the earliest future
            time among this one and those, so the first request after it fetches
            a fresh catalog; Stash does not send a request at that time on its
            own. A time that is not in the future is ignored. Refresh only: it
            never changes what can be purchased. Omit it when no such change is
            scheduled
      description: Represents the complete product catalog
      title: Catalog
    google.protobuf.Any:
      type: object
      properties:
        '@type':
          type: string
      additionalProperties: {}
    server.egress.shop.catalog.v1.GetCatalogResponse.Catalog.Section:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional section identifier (UUID); referenced by catalog triggers
            to open this section (e.g. popup)
        header:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem
          description: >-
            Catalog items for this section in display order. Used when groups is
            empty, and may also be populated alongside groups.
        displayType:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.CatalogSectionDisplayType
        groups:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Catalog.Section.Group
          description: >-
            Optional offer groups within this section; array order is display
            order
        background:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        displayExpiration:
          type: string
          format: date-time
          description: >-
            Optional timestamp for display-only section UI such as a countdown
            (e.g., 'Offers expire in 7d 19h'). Does not change purchase rules;
            only each offer's own expiration is enforced at purchase time.
        subtitle:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        iconImageUrl:
          type: string
          description: >-
            Optional absolute http or https URL of an icon shown beside the
            section header, for example https://example.com/icons/gems.png.
            Leave it empty for no icon; any other value is not supported.
        emptyState:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Catalog.Section.EmptyState
      description: >-
        Represents a section of catalog items with a header, display type, and
        optional groups. When groups is non-empty, clients typically render
        group content as the section body; when groups is empty, section-level
        items is used as today. Section-level items and groups may both be
        populated. Optional background and display_expiration may style the
        section and drive a section-level countdown UI (display-only; per-offer
        expiration is what purchase enforcement uses).
      title: Catalog Section
    server.egress.shop.catalog.v1.GetCatalogResponse.Catalog.CatalogTrigger:
      type: object
      properties:
        displayType:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.CatalogTriggerDisplayType
        iconImageUrl:
          type: string
          description: >-
            Optional URL to the icon image for the trigger (e.g. floating gift
            button); clients should use a generic fallback when absent
        nextResetAt:
          type: string
          format: date-time
          description: >-
            Optional timestamp for countdown until next reset or claim
            availability
        linkedSectionGuid:
          type: string
          description: >-
            Optional UUID matching Section.guid of the popup section this
            trigger opens
      description: >-
        UI trigger that opens a catalog section (e.g. floating button over the
        catalog)
      title: Catalog Trigger
    server.egress.shop.catalog.v1.GetCatalogResponse.ShopBanner:
      type: object
      properties:
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        title:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        subtitle:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
      description: >-
        Banner shown once for the whole shop, with an optional title, subtitle
        and description. Each is a LocalizableText resolved to the player's
        language like any other text field, and the shop may display each one
        differently. A field that is absent or resolves to blank is left out,
        and a banner whose fields all resolve to blank is not shown.
      title: Shop Banner
    server.egress.shop.catalog.v1.LocalizableText:
      type: object
      properties:
        defaultText:
          type: string
          description: >-
            Default text content, usually in English (fallback if no localized
            text is provided or if region/language is not supported or cannot be
            determined)
        localizationKey:
          type: string
          description: >-
            The unique key used to identify the localized text content for a
            specific language. When the shop has no translation of the key for
            the request's language, default_text is shown; for a text on the
            shop's web page, a shop with catalog diagnostics enabled also
            receives a CATALOG_TEXT_FALLBACK webhook naming the key
        localizedText:
          type: string
          description: >-
            Localized text content for the language specified by the code sent
            in the request filters
        formatArguments:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional entries substituted into the localized text using
            format_syntax. Each value is inserted as a literal display string,
            so send numbers and dates already formatted for the language.
            ICU-style templates read {name} or {0}; printf-style templates read
            keys "1", "2" in order. At most 32 entries, keys matching
            ^[A-Za-z0-9_]{1,64}$, values up to 512 bytes. If formatting fails,
            default_text is used instead, and if that fails too the text is
            omitted.
        formatSyntax:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.TextFormatSyntax'
        formatArgumentEmphasis:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/server.egress.shop.catalog.v1.TextEmphasis'
          description: >-
            Optional emphasis for the text a format argument inserts, keyed by
            the same name as in format_arguments. For example, the ICU template
            'UP TO {was} {n} INGREDIENTS' with format_arguments {"was": "10",
            "n": "20"} and format_argument_emphasis {"was":
            "TEXT_EMPHASIS_STRIKETHROUGH", "n": "TEXT_EMPHASIS_HIGHLIGHT"} shows
            20 prominently after a struck-through 10. Each language's template
            places its arguments, and the emphasis follows the argument wherever
            it is placed. Read on an info button's tooltip text only and ignored
            on every other text, so sending it elsewhere is harmless. A key that
            names no format argument is ignored, and so is an unrecognized
            value. Inside a [label](url) link, the link's own style wins.
            Display only: it never changes what is granted or charged. Optional,
            so omitting it leaves an existing response valid
      description: >-
        Text content that can be localized for a specific language. With
        format_syntax or format_arguments, the template is whichever text
        resolves for the request (localized_text, the text for localization_key,
        or default_text), so each language can place the entries differently. A
        template may be at most 4096 bytes and a composed text at most 8192
        bytes (UTF-8). If the resolved template cannot be formatted (an
        unsupported construct, a missing entry, an invalid value, or a template
        or composed text over its limit), default_text is formatted with the
        same syntax and entries instead, and if that also fails the text is
        omitted. Entries that break a limit fail with any template, so the text
        is omitted, and entries sent without a format_syntax omit the text with
        no default_text retry. When the template comes from localization_key or
        localized_text, send a default_text with no placeholders, written in the
        same syntax (%% for a percent sign in printf-style, quoted braces in
        ICU-style), so the fallback renders whenever the entries themselves are
        valid. ICU-style templates read an entry by name or by zero-based index
        ({0} reads key "0") and use apostrophe quoting ('' is a literal
        apostrophe, '{' or '}' is a literal brace, and any other apostrophe, as
        in Don't, is literal); an unmatched or unquoted { or } is a formatting
        failure, and plural, select, selectordinal and typed arguments such as
        {n, number} are not supported. printf-style templates read keys "1", "2"
        and so on (one-based) in order for %s and %d, or explicitly for %1$s and
        %1$d, but not both in one template, and %% is a literal percent sign; %d
        requires an integer value, which is inserted unchanged, and flags,
        widths, precisions and other verbs are not supported
      title: Localizable Text
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem:
      type: object
      properties:
        product:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasableItem
        chain:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.OfferChainItem
        info:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.NonPurchasableItem
        free:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.FreeItem
        pack:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack
      description: Represents any type of catalog item using oneof for polymorphism
      title: Catalog Item
    server.egress.shop.catalog.v1.CatalogSectionDisplayType:
      type: string
      enum:
        - CATALOG_SECTION_DISPLAY_TYPE_UNSPECIFIED
        - CATALOG_SECTION_DISPLAY_TYPE_CAROUSEL
        - CATALOG_SECTION_DISPLAY_TYPE_POPUP
      default: CATALOG_SECTION_DISPLAY_TYPE_UNSPECIFIED
      description: Display type of a catalog section
      title: >-
        - CATALOG_SECTION_DISPLAY_TYPE_UNSPECIFIED: Default responsive grid
        layout
         - CATALOG_SECTION_DISPLAY_TYPE_CAROUSEL: Carousel displays items in a horizontal scrollable area
         - CATALOG_SECTION_DISPLAY_TYPE_POPUP: Popup displays section content in an overlay
    server.egress.shop.catalog.v1.GetCatalogResponse.Catalog.Section.Group:
      type: object
      properties:
        header:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem
          description: Offers in this group in display order
        displayType:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.CatalogGroupDisplayType
        displaySize:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.CatalogOfferDisplaySize
      description: >-
        A titled group of catalog offers within a section; optional display size
        controls offer card sizing within the group.
      title: Catalog Section Group
      required:
        - items
    server.egress.shop.catalog.v1.GetCatalogResponse.Background:
      type: object
      properties:
        imageUrl:
          type: string
          description: URL to background image
        backgroundStyle:
          type: string
          description: CSS-style background styling information
      description: >-
        Contains styling information for backgrounds. Note: At least one of
        image_url or background_style must be provided, and both can be provided
        when styles should be combined with the image.
      title: Background
    server.egress.shop.catalog.v1.GetCatalogResponse.Catalog.Section.EmptyState:
      type: object
      properties:
        imageUrl:
          type: string
          description: >-
            Optional https URL of an illustration drawn in the section body,
            between the section header and the message. Stash checks this URL
            itself and treats any other value as absent.
        message:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        callToAction:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
      description: >-
        What a section shows when no offers remain. Each value is optional, and
        a value that is absent or resolves to blank is left out. A section with
        a header and an empty state stays in the shop when it has no offers; a
        section without one is left out, as it is today. Two kinds of section
        are left out when they have no offers, even with an empty state: a popup
        section that a trigger opens through linked_section_guid, and the
        section that holds the shop's Stash-tracked streak.
      title: Catalog Section Empty State
    server.egress.shop.catalog.v1.CatalogTriggerDisplayType:
      type: string
      enum:
        - CATALOG_TRIGGER_DISPLAY_TYPE_UNSPECIFIED
        - CATALOG_TRIGGER_DISPLAY_TYPE_FLOATING
      default: CATALOG_TRIGGER_DISPLAY_TYPE_UNSPECIFIED
      description: Display placement for a catalog UI trigger
    server.egress.shop.catalog.v1.TextFormatSyntax:
      type: string
      enum:
        - TEXT_FORMAT_SYNTAX_UNSPECIFIED
        - TEXT_FORMAT_SYNTAX_ICU_MESSAGE_FORMAT
        - TEXT_FORMAT_SYNTAX_PRINTF
      default: TEXT_FORMAT_SYNTAX_UNSPECIFIED
      description: >-
        Template syntax used to compose a localizable text with its format
        arguments
      title: >-
        - TEXT_FORMAT_SYNTAX_UNSPECIFIED: Plain text, displayed as-is; only
        valid with no format_arguments
         - TEXT_FORMAT_SYNTAX_ICU_MESSAGE_FORMAT: ICU MessageFormat-style simple arguments, {name} or {0}
         - TEXT_FORMAT_SYNTAX_PRINTF: printf-style, %s and %d read keys "1", "2" in order
    server.egress.shop.catalog.v1.TextEmphasis:
      type: string
      enum:
        - TEXT_EMPHASIS_UNSPECIFIED
        - TEXT_EMPHASIS_HIGHLIGHT
        - TEXT_EMPHASIS_STRIKETHROUGH
      default: TEXT_EMPHASIS_UNSPECIFIED
      description: >-
        How the shop emphasizes the text one format argument inserts, so a value
        can stand out from the text around it. The shop's design decides how
        each kind looks
      title: >-
        - TEXT_EMPHASIS_UNSPECIFIED: No emphasis: shown like the text around it.
        A value the shop does not recognize is shown the same way
         - TEXT_EMPHASIS_HIGHLIGHT: The value the text is about, such as the number in 'Up to 5 ingredients', drawn prominently (for example larger or bolder)
         - TEXT_EMPHASIS_STRIKETHROUGH: A value from before a boost, followed later in the same text by the value that replaces it, drawn struck through like an original_amount. Display only: it never changes what is granted or charged
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasableItem:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional unique identifier (UUID v4 if provided, otherwise
            generated)
        productId:
          type: string
          description: Required unique SKU/product identifier
        type:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.PurchasableItemType
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: URL to item image
        maxPurchasable:
          type: integer
          format: int64
          description: >-
            The player's remaining purchases of this item: how many more times
            this player can buy it. Compute it per player and send the current
            count on every response; Stash does not count purchases of this item
            itself. Stash reads it when checkout starts and refuses a purchase
            whose quantity exceeds it, so also enforce the limit when you
            confirm a purchase. When absent the item has no per-player purchase
            limit
        maxPurchasableDescription:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        price:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.PriceAmountOrId
        expiration:
          type: string
          format: date-time
          description: >-
            Optional time after which this item can no longer be bought: Stash
            refuses a web shop cart or Buy Now purchase of the item that
            completes at or after this time. If a checkout grace period is
            agreed for your shop, a purchase that reached checkout before this
            time can still complete within that period, so ConfirmPayment can
            arrive after this time; approve it if you want those purchases to
            complete. Stop returning the item once it expires
        refreshAt:
          type: string
          format: date-time
          description: >-
            Optional timestamp when this item's purchase allowance next resets,
            for display purposes such as a countdown. Purchase enforcement uses
            max_purchasable and expiration, never this field. A standalone item
            declares its own reset time here. An item inside a purchase pack has
            no refresh_at: the pack declares one reset time for all of its
            items, even when an item also carries its own max_purchasable.
        metadata:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional key-value pairs to be included in webhook events related to
            this item. Not to be displayed or used for business logic. Use
            attributes for customizing the display.
        attributes:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasableItem.PurchasableAttributes
        contents:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasableItem.ContentItem
          description: Contents of the item if it's a bundle
        bonusItems:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasableItem.PurchasableBonusItem
          description: >-
            Optional bonuses granted in addition to this item's contents when it
            is purchased, each an explicit type, id and amount. This is the
            typed, first-class representation of an offer's bonus and takes
            precedence over contents[].bonus_quantity, which is an anonymous
            display projection carrying neither an id nor a type: when both are
            present, bonus_items decides what is granted and bonus_quantity is
            display only. On purchase, the amounts sent on the ConfirmPayment
            request's bonus_items are authoritative for the bonus ids they name
            and are the amounts to grant, so do not also grant the offer's own
            bonus for an id already listed there or the player is credited
            twice. A value code adds to them: grant the rewards in the request's
            value_code block on top.
        textSlots:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
          description: >-
            Optional text for the named text slots of this offer, keyed by slot
            name (for example Title or RibbonText). Each key is compared exactly
            and case-sensitively against the text slot names agreed for your
            shop's offer templates, and each value is localizable text that
            Stash resolves to the player's language like any other text field.
            At most 50 entries, each key at most 128 characters. An entry with
            an empty or longer key, or whose text is empty or resolves to empty,
            is ignored; beyond 50 entries with text, Stash keeps the first 50 by
            slot name in byte order. A slot name repeated within the object
            keeps its first value, and the rest of the response still loads.
            Optional, and ignored when absent or when the template names no text
            slots, so omitting it leaves an existing response valid. Keep
            sending name: screens other than the offer card use the fixed text
            fields
        templateKey:
          type: string
          description: >-
            Optional key naming the template this offer is displayed with,
            including its version (for example offer-name-v4), compared exactly
            and case-sensitively against the template keys agreed for your shop.
            At most 128 characters; an empty or longer value is treated as
            absent. Echoed unchanged as templateKey on this item in the
            PURCHASE_SUCCEEDED, PURCHASE_FAILED and PURCHASE_REFUNDED webhooks,
            as it was when the purchase started. Optional, so omitting it leaves
            an existing response valid
        version:
          type: string
          description: >-
            Optional version of this offer, which you change whenever you
            re-publish the offer, for example after fixing and reactivating it
            under the same product_id. Use a whole number (only the ASCII digits
            0 to 9, for example 5) and raise it on each re-publish: an Abort
            Offers call that names a whole-number version also hides every lower
            whole-number version of the offer, compared by value, so 10 is above
            9 and 05 reads as 5. Any other value, for example v5, is compared
            exactly and case-sensitively, so an abort that names it hides only
            that version. It is the offer's own version and is unrelated to the
            template version inside template_key. At most 128 characters; an
            empty or longer value is treated as absent. Echoed unchanged as
            version on this item in the PURCHASE_SUCCEEDED, PURCHASE_FAILED and
            PURCHASE_REFUNDED webhooks, as it was when the purchase started.
            Optional, so omitting it leaves an existing response valid
      description: Represents a purchasable product
      title: Purchasable Item
      required:
        - productId
        - price
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.OfferChainItem:
      type: object
      properties:
        guid:
          type: string
          description: >-
            The chain's unique identifier (UUID v4 if provided, otherwise
            generated). Note that product_id is not used for the chain itself
            (the chain is not purchasable), but rather for the individual links
            in the chain.
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        expiration:
          type: string
          format: date-time
          description: Optional expiration time for the chain
        repeatable:
          type: boolean
          description: Whether this chain can be repeated after completion
        links:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.OfferChainItem.OfferChainLink
          description: Sequential links in the offer chain
        banner:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.OfferChainItem.ChainBanner
      description: >-
        Represents a chain of both purchasable and free-to-claim item links,
        where each link may represent a bundle of in-game items.
      title: Offer Chain Item
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.NonPurchasableItem:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional unique identifier (UUID v4 if provided, otherwise
            generated)
        itemId:
          type: string
          description: Required unique SKU/product identifier for the non-purchasable item
        type:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.NonPurchasableItemType
        title:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        body:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        attributes:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.NonPurchasableItem.NonPurchasableAttributes
        contents:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.NonPurchasableItem.NonPurchasableContentItem
          description: Content items within a non-purchasable item bundle
        textSlots:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
          description: >-
            Optional text for the named text slots of this item, keyed by slot
            name (for example Title or RibbonText). Each key is compared exactly
            and case-sensitively against the text slot names agreed for your
            shop's offer templates, and each value is localizable text that
            Stash resolves to the player's language like any other text field.
            At most 50 entries, each key at most 128 characters. An entry with
            an empty or longer key, or whose text is empty or resolves to empty,
            is ignored; beyond 50 entries with text, Stash keeps the first 50 by
            slot name in byte order. A slot name repeated within the object
            keeps its first value, and the rest of the response still loads.
            Optional, and ignored when absent or when the template names no text
            slots, so omitting it leaves an existing response valid. Keep
            sending title: screens other than the offer card use the fixed text
            fields
        templateKey:
          type: string
          description: >-
            Optional key naming the template this item is displayed with,
            including its version (for example offer-name-v4), compared exactly
            and case-sensitively against the template keys agreed for your shop.
            At most 128 characters; an empty or longer value is treated as
            absent. Optional, so omitting it leaves an existing response valid
        version:
          type: string
          description: >-
            Optional version of this item, which you change whenever you
            re-publish the item, for example after fixing and reactivating it
            under the same item_id. Use a whole number (only the ASCII digits 0
            to 9, for example 5) and raise it on each re-publish: an Abort
            Offers call that names a whole-number version also hides every lower
            whole-number version of the item, compared by value, so 10 is above
            9 and 05 reads as 5. Any other value, for example v5, is compared
            exactly and case-sensitively, so an abort that names it hides only
            that version. It is the item's own version and is unrelated to the
            template version inside template_key. At most 128 characters; an
            empty or longer value is treated as absent. Optional, so omitting it
            leaves an existing response valid
      description: Represents a non-purchasable item (banner, etc.)
      title: Non-Purchasable Item
      required:
        - itemId
        - type
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.FreeItem:
      type: object
      properties:
        guid:
          type: string
          description: Optional unique identifier (UUID v4 if provided)
        itemId:
          type: string
          description: Required unique identifier for the free item
        claimId:
          type: string
          description: >-
            Optional stable claim identity for this free item. Free items
            sharing a claim_id are the same claim for a claim period, so
            claiming any one of them consumes the claim for all of them. When
            absent, the item_id is used. Return at most one item per claim_id
            per response; additional items sharing a claim_id may be discarded.
            A locked preview of a later reward must therefore carry a distinct
            claim_id, or none at all.
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        status:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.FreeItemStatus'
        streakOrder:
          type: integer
          format: int64
          description: >-
            Ignored for shops without a Stash-tracked streak. Optional position
            of this item in a streak whose progress Stash tracks for the shop.
            Numbering starts at 1 and continues across the streak's sequences;
            for example, with 7-step sequences, step 1 of the second sequence is
            8. Set it on every free item in the streak's section or on none. The
            numbers must run from 1 without gaps and cover whole sequences, and
            streak_order may be set in 1 section only. To vary a step's reward
            by loyalty tier, send one item per tier with the same streak_order
            and that tier's target_tier_id, and optionally one item without
            target_tier_id for players with no matching tier; each number may
            have at most one item per tier and one without target_tier_id. A
            player sees and can claim only the item for their current tier, or
            else the item without target_tier_id. When no item sets it, Stash
            numbers the free items that apply to the player, those without
            target_tier_id and those for the player's current tier, in their
            order in the section configured for the shop or, when none is
            configured, in the first section of the catalog that contains only
            free items. Set streak_order whenever any item in the section sets
            target_tier_id. Stash sets the status and max_claimable of these
            items itself; the values you send on them are not used and may be
            omitted. Set refresh_at to the next reset: Stash uses it as the end
            of the current period when it is in the future and at most one
            period ahead, and the reset configured for the shop otherwise. When
            the section is set by streak_order or is the section configured for
            the shop, Stash hides the streak's free items if their layout breaks
            the rules above, and when more than 1 section sets streak_order,
            Stash hides the free items of each of them. When no item sets
            streak_order and no section is configured for the shop, Stash only
            infers the section, so a section whose layout breaks the rules above
            is shown as sent, with the status values you send, and Stash tracks
            no streak in it.
        rewardHiddenWhileLocked:
          type: boolean
          description: >-
            Ignored for free items outside a streak that Stash tracks for the
            shop; see streak_order. Whether Stash keeps this step's reward out
            of the shop page while the step is LOCKED, so a later day's prize
            stays a surprise until that day. When true and the step is LOCKED,
            the shop page receives the step's place in the streak and its
            status, but not its name, its contents, the bonus reward drawn from
            bonus_items, its text_slots, or the background and info_button of
            its attributes; once the step is AVAILABLE or CLAIMED, the shop page
            receives them as for any other step. Send the step's real reward as
            usual: Stash grants and reports it on claim as for any other step.
            The item_id and template_key always reach the shop page, so they
            must not reveal the reward. When Stash cannot determine the player's
            progress, it shows every step of the streak as LOCKED, so a hidden
            step stays hidden. When absent or false, the step is shown as sent.
        featured:
          type: boolean
          description: >-
            A display hint: whether this free item should be displayed
            prominently, with the shop's featured look for free items, whatever
            its status. When absent or false, the item is displayed as usual.
        maxClaimable:
          type: integer
          format: int64
          description: >-
            Claims allowed in the current reset period. 0 = no claims remaining
            (already claimed); 1 = eligible to claim now. Absent when no
            explicit claim limit applies. For an item in a Stash-tracked streak,
            see streak_order.
        refreshAt:
          type: string
          format: date-time
          description: >-
            Optional timestamp when this item becomes claimable again. For an
            item in a Stash-tracked streak, see streak_order.
        contents:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.FreeItem.FreeContentItem
          description: In-game items included in this free item as a bundle
        attributes:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.FreeItem.FreeItemAttributes
        targetTierId:
          type: string
          description: >-
            Optional identifier of the loyalty tier this free item targets. For
            a locked preview of the next tier's reward, return the item with
            status LOCKED and the next tier's identifier.
        bonusItems:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.FreeItem.FreeBonusItem
          description: >-
            Optional bonus rewards granted when this free item is claimed (e.g.
            loyalty points).
        metadata:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional key-value pairs to be included in webhook events related to
            this item. Not to be displayed or used for business logic. Use
            attributes for customizing the display.
        textSlots:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
          description: >-
            Optional text for the named text slots of this free item, keyed by
            slot name (for example Title or RibbonText). Each key is compared
            exactly and case-sensitively against the text slot names agreed for
            your shop's offer templates, and each value is localizable text that
            Stash resolves to the player's language like any other text field.
            At most 50 entries, each key at most 128 characters. An entry with
            an empty or longer key, or whose text is empty or resolves to empty,
            is ignored; beyond 50 entries with text, Stash keeps the first 50 by
            slot name in byte order. A slot name repeated within the object
            keeps its first value, and the rest of the response still loads.
            Optional, and ignored when absent or when the template names no text
            slots, so omitting it leaves an existing response valid. Keep
            sending name: screens other than the offer card use the fixed text
            fields
        templateKey:
          type: string
          description: >-
            Optional key naming the template this free item is displayed with,
            including its version (for example offer-name-v4), compared exactly
            and case-sensitively against the template keys agreed for your shop.
            At most 128 characters; an empty or longer value is treated as
            absent. Echoed unchanged as templateKey on the FREE_ITEM_REDEEMED
            webhook for this item. Optional, so omitting it leaves an existing
            response valid
        version:
          type: string
          description: >-
            Optional version of this free item, which you change whenever you
            re-publish the item, for example after fixing and reactivating it
            under the same item_id. Use a whole number (only the ASCII digits 0
            to 9, for example 5) and raise it on each re-publish: an Abort
            Offers call that names a whole-number version also hides every lower
            whole-number version of the item, compared by value, so 10 is above
            9 and 05 reads as 5. Any other value, for example v5, is compared
            exactly and case-sensitively, so an abort that names it hides only
            that version. It is the item's own version and is unrelated to the
            template version inside template_key. At most 128 characters; an
            empty or longer value is treated as absent. Echoed unchanged as
            version on the FREE_ITEM_REDEEMED webhook for this item. Optional,
            so omitting it leaves an existing response valid
      description: Represents a claimable free catalog item
      title: Free Item
      required:
        - itemId
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack:
      type: object
      properties:
        id:
          type: string
          description: >-
            Your stable identifier for this offer, declared once. It is echoed
            back as purchase_pack_id on the register, confirm and cancel calls,
            and as purchasePackId on each purchased item in the
            PURCHASE_SUCCEEDED, PURCHASE_FAILED and PURCHASE_REFUNDED webhooks,
            so a purchase can be attributed to the offer as it was displayed.
            Keep it unique across the offers in a catalog response
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackItem
          description: >-
            The offer's items, one per price, in display order. At most one of
            them may carry type PURCHASE_PACK_ITEM_TYPE_WHOLE_PURCHASE_PACK to
            mark the item that buys the whole offer in a single transaction
        maxPurchasable:
          type: integer
          format: int64
          description: >-
            The player's remaining purchases of this offer as a whole, shared by
            every item in it. Compute it per player, as you already do per item.
            An item may also carry its own max_purchasable for that price point,
            and the lower of the two applies to it. 0 shows every item in the
            offer sold out, and Stash refuses checkout for them. When absent the
            offer carries no shared limit
        maxPurchasableDescription:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        expiration:
          type: string
          format: date-time
          description: >-
            Optional time after which no item in this offer is available for
            purchase, except a purchase that reached checkout before this time
            and completes within a checkout grace period agreed for your shop
        refreshAt:
          type: string
          format: date-time
          description: >-
            Optional time when this offer's shared purchase allowance next
            resets, for display purposes such as a countdown. Purchase
            enforcement uses max_purchasable and expiration, never this field
        textSlots:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
          description: >-
            Optional text for the named text slots of this offer, keyed by slot
            name (for example Title or RibbonText), declared once here for the
            whole offer; a price point can add its own on its
            PurchasePackItem.text_slots. Each key is compared exactly and
            case-sensitively against the text slot names agreed for your shop's
            offer templates, and each value is localizable text that Stash
            resolves to the player's language like any other text field. At most
            50 entries, each key at most 128 characters. An entry with an empty
            or longer key, or whose text is empty or resolves to empty, is
            ignored; beyond 50 entries with text, Stash keeps the first 50 by
            slot name in byte order. A slot name repeated within the object
            keeps its first value, and the rest of the response still loads.
            Optional, and ignored when absent or when the template names no text
            slots, so omitting it leaves an existing response valid. Keep
            sending each item's name: screens other than the offer card use the
            fixed text fields
        templateKey:
          type: string
          description: >-
            Optional key naming the template this offer is displayed with,
            including its version (for example offer-name-v4), declared once
            here for the whole offer (a purchase pack item has no field for it),
            compared exactly and case-sensitively against the template keys
            agreed for your shop. At most 128 characters; an empty or longer
            value is treated as absent. Echoed unchanged as templateKey on each
            purchased item of this offer in the PURCHASE_SUCCEEDED,
            PURCHASE_FAILED and PURCHASE_REFUNDED webhooks. Optional, so
            omitting it leaves an existing response valid
        version:
          type: string
          description: >-
            Optional version of this offer, declared once here for the whole
            offer and every item in it (a purchase pack item has no field for
            it), which you change whenever you re-publish the offer, for example
            after fixing and reactivating it under the same id. Use a whole
            number (only the ASCII digits 0 to 9, for example 5) and raise it on
            each re-publish: an Abort Offers call that names a whole-number
            version also hides every lower whole-number version of the offer,
            compared by value, so 10 is above 9 and 05 reads as 5. Any other
            value, for example v5, is compared exactly and case-sensitively, so
            an abort that names it hides only that version. It is the offer's
            own version and is unrelated to the template version inside
            template_key. At most 128 characters; an empty or longer value is
            treated as absent. Echoed unchanged as version on each purchased
            item of this offer in the PURCHASE_SUCCEEDED, PURCHASE_FAILED and
            PURCHASE_REFUNDED webhooks. Optional, so omitting it leaves an
            existing response valid
        attributes:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackAttributes
      description: >-
        One offer sold at several prices. Its items are the offer's price
        points, and the values shared by the whole offer, its shared purchase
        limit, expiration, refresh time and display attributes (such as the info
        button), are declared once here. A purchase pack item has no fields for
        the expiration, refresh time or pack attributes, so the offer's values
        govern every item in it by construction; an item may add its own
        purchase limit on top of the shared one.
      title: Purchase Pack
      required:
        - id
        - items
    server.egress.shop.catalog.v1.CatalogGroupDisplayType:
      type: string
      enum:
        - CATALOG_GROUP_DISPLAY_TYPE_UNSPECIFIED
        - CATALOG_GROUP_DISPLAY_TYPE_SLIDING_WINDOW
        - CATALOG_GROUP_DISPLAY_TYPE_CAROUSEL
      default: CATALOG_GROUP_DISPLAY_TYPE_UNSPECIFIED
      description: >-
        Display type of a catalog group within a section (optional per-group
        layout override)
      title: >-
        - CATALOG_GROUP_DISPLAY_TYPE_UNSPECIFIED: Inherit section display
        behavior
         - CATALOG_GROUP_DISPLAY_TYPE_SLIDING_WINDOW: Sliding window displays items in a horizontal scrollable area (e.g. peek of next card)
         - CATALOG_GROUP_DISPLAY_TYPE_CAROUSEL: Full single-item carousel with pagination dots (different from sliding window peek)
    server.egress.shop.catalog.v1.CatalogOfferDisplaySize:
      type: string
      enum:
        - CATALOG_OFFER_DISPLAY_SIZE_UNSPECIFIED
        - CATALOG_OFFER_DISPLAY_SIZE_SMALL
        - CATALOG_OFFER_DISPLAY_SIZE_MEDIUM
        - CATALOG_OFFER_DISPLAY_SIZE_LARGE
      default: CATALOG_OFFER_DISPLAY_SIZE_UNSPECIFIED
      description: Display size for offer cards within a catalog group
      title: >-
        - CATALOG_OFFER_DISPLAY_SIZE_UNSPECIFIED: Default (inherits section or
        theme default)
    server.egress.shop.catalog.v1.PurchasableItemType:
      type: string
      enum:
        - PURCHASABLE_ITEM_TYPE_UNSPECIFIED
        - PURCHASABLE_ITEM_TYPE_STANDARD_OFFER
        - PURCHASABLE_ITEM_TYPE_BUNDLE_OFFER
      default: PURCHASABLE_ITEM_TYPE_UNSPECIFIED
      description: Represents the type of purchasable item
      title: |-
        - PURCHASABLE_ITEM_TYPE_UNSPECIFIED: Default purchasable item type
         - PURCHASABLE_ITEM_TYPE_STANDARD_OFFER: A single purchasable offer, whose contents are one in-game item
         - PURCHASABLE_ITEM_TYPE_BUNDLE_OFFER: A purchasable offer whose contents are several in-game items
    server.egress.shop.catalog.v1.GetCatalogResponse.PriceAmountOrId:
      type: object
      properties:
        amount:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.PriceAmountOrId.PriceAmount
        priceId:
          type: string
          description: Price ID identifier
      description: >-
        The price Stash charges the player for one unit of the item, given as an
        amount or as a price ID that Stash resolves to an amount. It is the
        charged price, not a display value; a coupon discount, and any tax not
        already included in the price, adjust the order total
      title: Price Amount Or ID
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasableItem.PurchasableAttributes:
      type: object
      properties:
        banner:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Banner
        badge:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Badge
        background:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        tooltip:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Tooltip
        buyButton:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Button
        borderType:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.CatalogBorderType'
        infoButton:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Button
      description: Optional attributes for customizing how a product is displayed
      title: Purchasable Attributes
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasableItem.ContentItem:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional unique identifier (UUID v4 if provided, otherwise
            generated). Note that product_id is not used b/c only the bundle is
            purchasable.
        type:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.ContentItemType'
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: >-
            URL to item image (used to display multiple of this item, or always
            used if unit_image is not provided)
        quantity:
          type: string
          description: >-
            In-game item quantity as string for big integer support (no decimals
            allowed)
        bonusQuantity:
          type: integer
          format: int64
          description: >-
            Optional bonus quantity to display alongside this item's quantity.
            Anonymous: it carries no bonus id and no type, so it is a display
            projection only. When the offer also sets bonus_items, that typed
            representation takes precedence for what is actually granted and
            this field remains display only.
        unitImage:
          type: string
          description: Optional URL to unit image (used to display a single item)
        infoButton:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Button
        callout:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Callout
        primaryBackground:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        secondaryBackground:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        specialIndicator:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.SpecialIndicatorTag
        rewardBuff:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.RewardBuff
        featured:
          type: boolean
          description: >-
            Whether this item should be displayed prominently above the other
            items within the offer bundle
        clickAction:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.ContentItemClickAction
        badge:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.SimpleBadge
        layoutKey:
          type: string
          description: >-
            Optional key naming the reward slot of the offer's template that
            this item fills, compared exactly and case-sensitively against the
            slot keys agreed for your shop's offer templates. At most 128
            characters; an empty or longer key is treated as absent. Optional,
            and ignored when absent or when the template names no reward slots,
            so omitting it leaves an existing response valid
        hideQuantity:
          type: boolean
          description: >-
            Optional display hint for this reward. When true, a supporting shop
            shows the reward without its quantity, for example when its picture
            already shows what it is. A shop without support may continue to
            show the quantity. quantity is still required and remains the amount
            granted; this hint never changes what is granted or charged. Absent
            or false shows the quantity as usual, so omitting it leaves an
            existing response valid. Send a JSON boolean; any other value is
            ignored and the quantity is shown.
        rarity:
          type: integer
          format: int64
          description: >-
            Optional rarity of this reward as a level from 1, the lowest, to 10,
            for a shop to show with the reward, for example as that many stars
            or crowns. A shop shows it in the bubble of this reward's own info
            button whose information_type is INFORMATION_TYPE_RARITY, so send it
            together with that info button; without one it is not shown. Send a
            whole number from 1 to 10; any other value is ignored. Display only:
            it never changes what is granted or charged. Optional, so omitting
            it leaves an existing response valid.
      description: Represents an in-game item obtainable as part of this bundle
      title: Content Item
      required:
        - quantity
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasableItem.PurchasableBonusItem:
      type: object
      properties:
        type:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.PurchasableBonusItemType
        id:
          type: string
          description: Identifier of the bonus/currency to grant
        amount:
          type: string
          description: >-
            Amount to grant as string for big integer support (no decimals
            allowed). An amount that exceeds the width of the ConfirmPayment
            request's bonus-item quantity cannot be carried on the grant, so
            keep it within that bound.
        originalAmount:
          type: string
          description: >-
            Optional amount shown struck through next to this bonus's amount, as
            the amount before the offer's bonus, as string for big integer
            support (no decimals allowed). Display only: it is never granted and
            never changes what is granted. Leave it unset for no strikethrough.
        layoutKey:
          type: string
          description: >-
            Optional key naming the reward slot of the offer's template that
            this bonus fills, compared exactly and case-sensitively against the
            slot keys agreed for your shop's offer templates. At most 128
            characters; an empty or longer key is treated as absent. Display
            only: it never changes what is granted or the amount sent on the
            ConfirmPayment request. Optional, and ignored when absent or when
            the template names no reward slots, so omitting it leaves an
            existing response valid
      description: >-
        A bonus granted in addition to a purchasable item's contents when the
        item is bought (e.g. an in-game currency top-up). A type, an id, and an
        amount.
      title: Purchasable Bonus Item
      required:
        - type
        - id
        - amount
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.OfferChainItem.OfferChainLink:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional unique identifier (UUID v4 if provided, otherwise
            generated)
        productId:
          type: string
          description: Required unique SKU/product identifier
        price:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.PriceAmountOrId
        maxPurchasable:
          type: integer
          format: int64
          description: Maximum number of times this link can be purchased
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.OfferChainItem.OfferChainLink.ObtainableItem
          description: In-game items obtained from this chain link as a bundle
        status:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.ChainLinkStatus'
        bundleImage:
          type: string
          description: >-
            Optional image representing the bundle of items obtained from this
            chain link. If not provided, an individual item image will be
            displayed to represent the bundle in the user's cart.
      description: >-
        Represents a single link in an offer chain, which may represent a
        purchasable item (bundle) or a free-to-claim item (bundle).
      title: Offer Chain Link
      required:
        - productId
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.OfferChainItem.ChainBanner:
      type: object
      properties:
        background:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        revealButton:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Button
        leftDecal:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Decal
        rightDecal:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Decal
      description: Contains visual information for the offer chain promotion
      title: Chain Banner
    server.egress.shop.catalog.v1.NonPurchasableItemType:
      type: string
      enum:
        - NON_PURCHASABLE_ITEM_TYPE_UNSPECIFIED
        - NON_PURCHASABLE_ITEM_TYPE_BANNER
      default: NON_PURCHASABLE_ITEM_TYPE_UNSPECIFIED
      description: Represents the type of non-purchasable item
      title: >-
        - NON_PURCHASABLE_ITEM_TYPE_UNSPECIFIED: Default non-purchasable item
        type
         - NON_PURCHASABLE_ITEM_TYPE_BANNER: Banner type non-purchasable item for emphasized full-width display
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.NonPurchasableItem.NonPurchasableAttributes:
      type: object
      properties:
        background:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
      description: Visual attributes for non-purchasable items
      title: Non-Purchasable Attributes
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.NonPurchasableItem.NonPurchasableContentItem:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional unique identifier (UUID v4 if provided, otherwise
            generated). Note that item_id is not used b/c the in-game items are
            only for display purposes.
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: >-
            URL to item image (used to display multiple of this item, or always
            used if unit_image is not provided)
        quantity:
          type: string
          description: >-
            In-game item quantity as string for big integer support (no decimals
            allowed)
        unitImage:
          type: string
          description: Optional URL to unit image (used to display a single item)
        layoutKey:
          type: string
          description: >-
            Optional key naming the reward slot of the offer's template that
            this item fills, compared exactly and case-sensitively against the
            slot keys agreed for your shop's offer templates. At most 128
            characters; an empty or longer key is treated as absent. Optional,
            and ignored when absent or when the template names no reward slots,
            so omitting it leaves an existing response valid
      description: >-
        Represents an in-game item obtainable as part of a non-purchasable item
        bundle
      title: Non-Purchasable Content Item
      required:
        - quantity
    server.egress.shop.catalog.v1.FreeItemStatus:
      type: string
      enum:
        - FREE_ITEM_STATUS_UNSPECIFIED
        - FREE_ITEM_STATUS_AVAILABLE
        - FREE_ITEM_STATUS_CLAIMED
        - FREE_ITEM_STATUS_LOCKED
      default: FREE_ITEM_STATUS_UNSPECIFIED
      description: Claim status of a free catalog item
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.FreeItem.FreeContentItem:
      type: object
      properties:
        guid:
          type: string
          description: Optional unique identifier (UUID v4 if provided)
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: URL to item image
        quantity:
          type: string
          description: >-
            In-game item quantity as string for big integer support (no decimals
            allowed)
        unitImage:
          type: string
          description: Optional URL to unit image (used to display a single item)
        layoutKey:
          type: string
          description: >-
            Optional key naming the reward slot of the offer's template that
            this item fills, compared exactly and case-sensitively against the
            slot keys agreed for your shop's offer templates. At most 128
            characters; an empty or longer key is treated as absent. Optional,
            and ignored when absent or when the template names no reward slots,
            so omitting it leaves an existing response valid
      description: An in-game item included in a free catalog item
      title: Free Content Item
      required:
        - quantity
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.FreeItem.FreeItemAttributes:
      type: object
      properties:
        background:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        infoButton:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Button
      description: Optional display attributes for a free item card
      title: Free Item Attributes
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.FreeItem.FreeBonusItem:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.FreeBonusItemType'
        id:
          type: string
          description: Identifier of the bonus/currency to grant
        amount:
          type: string
          description: >-
            Amount to grant as string for big integer support (no decimals
            allowed)
      description: >-
        A bonus reward granted when a free item is claimed (e.g. loyalty
        points). A type, an id, and an amount.
      title: Free Bonus Item
      required:
        - type
        - id
        - amount
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackItem:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional unique identifier (UUID v4 if provided, otherwise
            generated)
        productId:
          type: string
          description: Required unique SKU/product identifier of this price point
        type:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.PurchasePackItemType
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: URL to item image
        price:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.PriceAmountOrId
        metadata:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional key-value pairs to be included in webhook events related to
            this item. Not to be displayed or used for business logic. Use
            attributes for customizing the display.
        attributes:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackItem.PurchasePackItemAttributes
        contents:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackItem.PurchasePackContentItem
          description: >-
            In-game items this item grants. On the item that buys the whole
            offer, the combined rewards of every price point. Optional on every
            type, as on a standalone item: an item with no contents is described
            by its name and image alone
        bonusItems:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackItem.PurchasePackBonusItem
          description: >-
            Optional bonuses granted in addition to this item's contents when it
            is purchased, each an explicit type, id and amount. This is the
            typed, first-class representation of the item's bonus and takes
            precedence over contents[].bonus_quantity, which is an anonymous
            display projection carrying neither an id nor a type: when both are
            present, bonus_items decides what is granted and bonus_quantity is
            display only. On purchase, the amounts sent on the ConfirmPayment
            request's bonus_items are authoritative for the bonus ids they name
            and are the amounts to grant, so do not also grant the item's own
            bonus for an id already listed there or the player is credited
            twice. A value code adds to them: grant the rewards in the request's
            value_code block on top.
        textSlots:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
          description: >-
            Optional text for the named text slots of this price point, keyed by
            slot name (for example Title or RibbonText), with the same rules and
            limits as the purchase pack's text_slots. For a slot name set both
            here and on the pack, this entry is used for this price point; the
            pack's entries fill every other slot, and of the combined entries
            Stash keeps the first 50 by slot name in byte order. An entry that
            is ignored here (an empty or longer key, or text that is empty or
            resolves to empty) leaves the pack's entry for that slot. A slot
            name repeated within the object keeps its first value, and the rest
            of the response still loads. Optional, and ignored when absent, so
            omitting it leaves an existing response valid
        maxPurchasable:
          type: integer
          format: int64
          description: >-
            The player's remaining purchases of this price point: how many more
            times this player can buy it. Compute it per player and send the
            current count on every response; Stash does not count purchases
            itself. 0 shows the price point sold out, and Stash refuses checkout
            for it. The pack's shared max_purchasable still applies, so the
            lower of the two limits this item. Stash reads it when checkout
            starts and refuses a purchase whose quantity exceeds it, so also
            enforce the limit when you confirm a purchase. When absent the price
            point has no limit of its own. To withdraw a price point entirely,
            leave it out of the response
      description: >-
        One item of a purchase pack: a price point of the offer, or the item
        that buys the whole offer. It carries everything a standalone
        purchasable item does except the purchase limit description, expiration,
        refresh time, template key, version and pack attributes (such as the
        info button), which belong to the pack and have no field here. Its own
        max_purchasable limits that price point on top of the pack's shared
        limit.
      title: Purchase Pack Item
      required:
        - productId
        - price
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackAttributes:
      type: object
      properties:
        infoButton:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Button
      description: Optional attributes for how the whole purchase pack is displayed
      title: Purchase Pack Attributes
    server.egress.shop.catalog.v1.GetCatalogResponse.PriceAmountOrId.PriceAmount:
      type: object
      properties:
        currency:
          type: string
          description: ISO 4217 currency code (e.g., 'USD', 'EUR')
        cents:
          type: integer
          format: int64
          description: >-
            Amount as an integer in minor units of this ISO 4217 currency (e.g.
            199 for 1.99 USD, 300 for 300 JPY). The number of decimal places per
            currency follows the minor-unit standard configured for your shop.
            The default is Unicode CLDR release 32: the `digits` values under
            `fractions` in
            https://github.com/unicode-org/cldr/blob/release-32/common/supplemental/supplementalData.xml
            (2 for a currency not listed there). A shop can instead be
            configured for Unicode CLDR release 47
            (https://github.com/unicode-org/cldr/blob/release-47/common/supplemental/supplementalData.xml)
            or ISO 4217
            (https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml).
            The standards disagree for some currencies: COP, IDR, PKR and TZS
            have 0 decimal places under CLDR release 32 and 2 under CLDR release
            47 and ISO 4217. To use a standard other than the default, contact
            your Stash engineering partner.
      description: Price amount for the offer
      title: Price Amount
      required:
        - currency
        - cents
    server.egress.shop.catalog.v1.GetCatalogResponse.Banner:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
      description: >-
        Generic banner for an emphasized title or heading, e.g. 'New Items',
        'Limited Time', etc.
      title: Banner
    server.egress.shop.catalog.v1.GetCatalogResponse.Badge:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        action:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.BadgeAction'
        strikethroughText:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
      description: Generic badge for a status or label, e.g. 'New', 'Bonus', 'Free', etc.
      title: Badge
    server.egress.shop.catalog.v1.GetCatalogResponse.Tooltip:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        imageUrl:
          type: string
          description: >-
            Info buttons only, ignored on other tooltips: optional URL of a
            picture shown in the bubble beside its text, for example the
            reward's own picture, starting with lowercase https://. A URL that
            is not https is ignored, and a picture that fails to load is left
            out while the text still shows. A picture alone does not make the
            tooltip showable: send text or preview_contents too. Optional, so
            omitting it leaves an existing response valid
        previewContents:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Tooltip.PreviewContent
          description: >-
            Info buttons only, ignored on other tooltips: optional tiles
            previewing what the reward (or, on an offer's info button, the
            offer) contains or can grant, shown in the bubble above the text in
            the order sent and wrapping onto more rows as needed. At most 16:
            Stash shows the first 16 and leaves out the rest. A tile with an
            invalid field is left out on its own. An info button whose tooltip
            has at least one usable tile opens the bubble even when its text
            resolves to nothing. Display only: the tiles are never granted.
            Optional, so omitting it leaves an existing response valid
      description: >-
        Generic tooltip for additional information about any element. On an info
        button it opens as a bubble from the button and can show, besides its
        text, a picture and a row of preview tiles. Display only: nothing in a
        tooltip changes what is granted or charged
      title: Tooltip
    server.egress.shop.catalog.v1.GetCatalogResponse.Button:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        iconImageUrl:
          type: string
          description: Optional URL to button icon image
        backgroundStyle:
          type: string
          description: Optional CSS-style background styling information for button
        tooltip:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Tooltip
        informationType:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.InformationType'
        linkUrl:
          type: string
          description: >-
            Info buttons only, ignored on buy and reveal buttons: optional URL
            of a page with more information, such as the full drop rates,
            starting with lowercase https://, opened when the player taps an
            info button that has no tooltip. With a tooltip, link the page from
            the tooltip text instead. A URL that is not https is ignored
        layoutKey:
          type: string
          description: >-
            Buy buttons only, ignored on info and reveal buttons: optional key
            naming the slot of the offer's template that this buy button sits
            in, compared exactly and case-sensitively against the slot keys
            agreed for your shop's offer templates, like contents[].layout_key
            does for a reward. At most 128 characters; an empty or longer key is
            treated as absent. Display only: it never changes what is bought or
            charged. Send it without text to keep the button's default label,
            the price. Optional, and ignored when absent or when the template
            names no buy button slots, so omitting it leaves an existing
            response valid
      description: Generic button for an action, e.g. 'Buy Now', 'View Details', etc.
      title: Button
    server.egress.shop.catalog.v1.CatalogBorderType:
      type: string
      enum:
        - CATALOG_BORDER_TYPE_UNSPECIFIED
        - CATALOG_BORDER_TYPE_GRADIENT
      default: CATALOG_BORDER_TYPE_UNSPECIFIED
      description: Border decoration type for a catalog offer card
      title: |-
        - CATALOG_BORDER_TYPE_UNSPECIFIED: Default / no border decoration
         - CATALOG_BORDER_TYPE_GRADIENT: Color gradient border matching shop theme
    server.egress.shop.catalog.v1.ContentItemType:
      type: string
      enum:
        - CONTENT_ITEM_TYPE_UNSPECIFIED
        - CONTENT_ITEM_TYPE_WEB_STORE_BONUS
        - CONTENT_ITEM_TYPE_FREE_ITEM
      default: CONTENT_ITEM_TYPE_UNSPECIFIED
      description: Represents the type of content item
      title: >-
        - CONTENT_ITEM_TYPE_UNSPECIFIED: An ordinary content item, shown among
        the offer's items and delivered with them. Stash treats a type it does
        not recognize the same way
         - CONTENT_ITEM_TYPE_WEB_STORE_BONUS: Web store bonus content item type: a bonus the player receives with the offer. A row with a guid is shown in the bonus area at checkout, not among the offer's items, and is sent in the ConfirmPayment request's bonus_items with the guid as the id and the quantity summed across units and cart lines, beside the bonuses the offer declares in its own bonus_items. The ConfirmPayment bonus-item quantity is an unsigned 32-bit integer, so keep a row's quantity, multiplied by the units bought and summed across cart lines, at or below 4,294,967,295: an offer whose row alone exceeds it is left out of the shop, and a cart or purchase whose total would exceed it is refused. Use one fixed guid per bonus currency, the same on every offer, so the same bonus on several offers adds up to one entry, and grant it once, from bonus_items, not also as one of the offer's contents, or the player is credited twice. A row without a guid is shown as an ordinary content item and is never sent in bonus_items
         - CONTENT_ITEM_TYPE_FREE_ITEM: Free content item type: an item included free with the offer, which Stash may label as free where the offer is shown, delivered with the offer's other contents. It does not change the amount charged and is never sent in the ConfirmPayment request's bonus_items, even with a guid
    server.egress.shop.catalog.v1.GetCatalogResponse.Callout:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        iconImageUrl:
          type: string
          description: Optional URL to callout icon image
      description: Callout element for highlighting special features or guarantees
      title: Callout
    server.egress.shop.catalog.v1.GetCatalogResponse.SpecialIndicatorTag:
      type: object
      properties:
        iconImageUrl:
          type: string
          description: URL to special capability tag icon image
        tooltip:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Tooltip
      description: A tag icon for an in-game item, for e.g. a special capability it unlocks
      title: Special Indicator Tag
    server.egress.shop.catalog.v1.GetCatalogResponse.RewardBuff:
      type: object
      properties:
        percentage:
          type: number
          format: float
          description: Buff percentage (e.g. 3.5 for +3.5% additive, 300 for 3X multiplier)
        type:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.RewardBuffType'
        iconImageUrl:
          type: string
          description: URL to buff icon image
        backgroundStyle:
          type: string
          description: Optional CSS-style background styling information for buff
        displayPercentage:
          type: string
          description: >-
            Optional pre-formatted display string for the buff percentage (e.g.
            '+3.5%', '3X'). If set, takes priority over the numeric percentage
            field for display purposes.
      description: Represents a reward buff or bonus applied to an item
      title: Reward Buff
    server.egress.shop.catalog.v1.ContentItemClickAction:
      type: string
      enum:
        - CONTENT_ITEM_CLICK_ACTION_UNSPECIFIED
        - CONTENT_ITEM_CLICK_ACTION_SHOW_DETAILS_BY_ID
      default: CONTENT_ITEM_CLICK_ACTION_UNSPECIFIED
      description: Represents the action associated with clicking a content item
    server.egress.shop.catalog.v1.GetCatalogResponse.SimpleBadge:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
      description: >-
        Simple text badge for a status or label, e.g. 'New', 'Bonus', 'Free',
        etc.
      title: Simple Badge
    server.egress.shop.catalog.v1.PurchasableBonusItemType:
      type: string
      enum:
        - PURCHASABLE_BONUS_ITEM_TYPE_UNSPECIFIED
        - PURCHASABLE_BONUS_ITEM_TYPE_IN_GAME_CURRENCY
        - PURCHASABLE_BONUS_ITEM_TYPE_LOYALTY_CURRENCY
        - PURCHASABLE_BONUS_ITEM_TYPE_LOYALTY_POINTS
      default: PURCHASABLE_BONUS_ITEM_TYPE_UNSPECIFIED
      description: >-
        Identifies bonus content granted as part of the purchase. This is
        separate from FreeBonusItemType, which applies only to rewards claimed
        without a purchase.
      title: >-
        - PURCHASABLE_BONUS_ITEM_TYPE_UNSPECIFIED: Default bonus type when none
        is specified
         - PURCHASABLE_BONUS_ITEM_TYPE_IN_GAME_CURRENCY: Spendable in-game currency, e.g. gems, coins or gold
         - PURCHASABLE_BONUS_ITEM_TYPE_LOYALTY_CURRENCY: Currency of the shop's Stash loyalty program, spendable only in its VIP store on the web
         - PURCHASABLE_BONUS_ITEM_TYPE_LOYALTY_POINTS: Non-spendable loyalty points that contribute to tier progression, e.g. XP
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.OfferChainItem.OfferChainLink.ObtainableItem:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional unique identifier (UUID v4 if provided, otherwise
            generated). Note that product_id is not used b/c the obtainable
            items are only for display purposes, and only the link is
            purchasable.
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: >-
            URL to item image (used to display multiple of this item, or always
            used if unit_image is not provided)
        quantity:
          type: string
          description: >-
            In-game item quantity as string for big integer support (no decimals
            allowed)
        unitImage:
          type: string
          description: Optional URL to unit image (used to display a single item)
        layoutKey:
          type: string
          description: >-
            Optional key naming the reward slot of the offer's template that
            this item fills, compared exactly and case-sensitively against the
            slot keys agreed for your shop's offer templates. At most 128
            characters; an empty or longer key is treated as absent. Optional,
            and ignored when absent or when the template names no reward slots,
            so omitting it leaves an existing response valid
      description: Represents an in-game item that can be obtained from this chain link
      title: Obtainable Item
      required:
        - quantity
    server.egress.shop.catalog.v1.ChainLinkStatus:
      type: string
      enum:
        - CHAIN_LINK_STATUS_UNSPECIFIED
        - CHAIN_LINK_STATUS_CLAIMED
        - CHAIN_LINK_STATUS_UNLOCKED
        - CHAIN_LINK_STATUS_LOCKED
      default: CHAIN_LINK_STATUS_UNSPECIFIED
      description: Represents the status of a chain link
    server.egress.shop.catalog.v1.GetCatalogResponse.Decal:
      type: object
      properties:
        imageUrl:
          type: string
          description: URL to decal image displayed beside the main element
      description: >-
        Contains an image to be displayed beside the main element, e.g. an
        offer.
      title: Decal
    server.egress.shop.catalog.v1.FreeBonusItemType:
      type: string
      enum:
        - FREE_BONUS_ITEM_TYPE_UNSPECIFIED
        - FREE_BONUS_ITEM_TYPE_LOYALTY_POINTS
      default: FREE_BONUS_ITEM_TYPE_UNSPECIFIED
      description: >-
        Kind of bonus reward granted when a free catalog item is claimed. Only
        LOYALTY_POINTS is granted today; consumers ignore other/unspecified
        values.
    server.egress.shop.catalog.v1.PurchasePackItemType:
      type: string
      enum:
        - PURCHASE_PACK_ITEM_TYPE_UNSPECIFIED
        - PURCHASE_PACK_ITEM_TYPE_STANDARD_OFFER
        - PURCHASE_PACK_ITEM_TYPE_BUNDLE_OFFER
        - PURCHASE_PACK_ITEM_TYPE_WHOLE_PURCHASE_PACK
      default: PURCHASE_PACK_ITEM_TYPE_UNSPECIFIED
      description: >-
        Represents the type of an item inside a purchase pack. The standard and
        bundle values mirror PurchasableItemType; the whole-pack value exists
        only here, because only an item inside a pack can buy the pack.
      title: |-
        - PURCHASE_PACK_ITEM_TYPE_UNSPECIFIED: Default purchase pack item type
         - PURCHASE_PACK_ITEM_TYPE_STANDARD_OFFER: One price point of the pack, whose contents are one in-game item
         - PURCHASE_PACK_ITEM_TYPE_BUNDLE_OFFER: One price point of the pack, whose contents are several in-game items
         - PURCHASE_PACK_ITEM_TYPE_WHOLE_PURCHASE_PACK: The item that buys the entire pack in a single transaction, rather than one of its
        price points. At most one item per pack should be this type
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackItem.PurchasePackItemAttributes:
      type: object
      properties:
        banner:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Banner
        badge:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Badge
        background:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        tooltip:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Tooltip
        buyButton:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Button
        borderType:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.CatalogBorderType'
      description: >-
        Optional attributes for customizing how an item of a purchase pack is
        displayed
      title: Purchase Pack Item Attributes
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackItem.PurchasePackContentItem:
      type: object
      properties:
        guid:
          type: string
          description: >-
            Optional unique identifier (UUID v4 if provided, otherwise
            generated). Note that product_id is not used because only the
            purchase pack item is purchasable, not its contents.
        type:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.ContentItemType'
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: >-
            URL to item image (used to display multiple of this item, or always
            used if unit_image is not provided)
        quantity:
          type: string
          description: >-
            In-game item quantity as string for big integer support (no decimals
            allowed)
        bonusQuantity:
          type: integer
          format: int64
          description: >-
            Optional bonus quantity to display alongside this item's quantity.
            Anonymous: it carries no bonus id and no type, so it is a display
            projection only. When the purchase pack item also sets bonus_items,
            that typed representation takes precedence for what is actually
            granted and this field remains display only.
        unitImage:
          type: string
          description: Optional URL to unit image (used to display a single item)
        infoButton:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Button
        callout:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Callout
        primaryBackground:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        secondaryBackground:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.Background
        specialIndicator:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.SpecialIndicatorTag
        rewardBuff:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.RewardBuff
        featured:
          type: boolean
          description: >-
            Whether this item should be displayed prominently above the other
            items within the purchase pack item
        clickAction:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.ContentItemClickAction
        badge:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetCatalogResponse.SimpleBadge
        layoutKey:
          type: string
          description: >-
            Optional key naming the reward slot of the offer's template that
            this item fills, compared exactly and case-sensitively against the
            slot keys agreed for your shop's offer templates. At most 128
            characters; an empty or longer key is treated as absent. Optional,
            and ignored when absent or when the template names no reward slots,
            so omitting it leaves an existing response valid
        hideQuantity:
          type: boolean
          description: >-
            Optional display hint for this reward. When true, a supporting shop
            shows the reward without its quantity, for example when its picture
            already shows what it is. A shop without support may continue to
            show the quantity. quantity is still required and remains the amount
            granted; this hint never changes what is granted or charged. Absent
            or false shows the quantity as usual, so omitting it leaves an
            existing response valid. Send a JSON boolean; any other value is
            ignored and the quantity is shown.
        rarity:
          type: integer
          format: int64
          description: >-
            Optional rarity of this reward as a level from 1, the lowest, to 10,
            for a shop to show with the reward, for example as that many stars
            or crowns. A shop shows it in the bubble of this reward's own info
            button whose information_type is INFORMATION_TYPE_RARITY, so send it
            together with that info button; without one it is not shown. Send a
            whole number from 1 to 10; any other value is ignored. Display only:
            it never changes what is granted or charged. Optional, so omitting
            it leaves an existing response valid.
      description: >-
        Represents an in-game item obtainable by buying this item of a purchase
        pack
      title: Purchase Pack Content Item
      required:
        - quantity
    server.egress.shop.catalog.v1.GetCatalogResponse.CatalogItem.PurchasePack.PurchasePackItem.PurchasePackBonusItem:
      type: object
      properties:
        type:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.PurchasableBonusItemType
        id:
          type: string
          description: Identifier of the bonus/currency to grant
        amount:
          type: string
          description: >-
            Amount to grant as string for big integer support (no decimals
            allowed). An amount that exceeds the width of the ConfirmPayment
            request's bonus-item quantity cannot be carried on the grant, so
            keep it within that bound.
        originalAmount:
          type: string
          description: >-
            Optional amount shown struck through next to this bonus's amount, as
            the amount before the offer's bonus, as string for big integer
            support (no decimals allowed). Display only: it is never granted and
            never changes what is granted. Leave it unset for no strikethrough.
        layoutKey:
          type: string
          description: >-
            Optional key naming the reward slot of the offer's template that
            this bonus fills, compared exactly and case-sensitively against the
            slot keys agreed for your shop's offer templates. At most 128
            characters; an empty or longer key is treated as absent. Display
            only: it never changes what is granted or the amount sent on the
            ConfirmPayment request. Optional, and ignored when absent or when
            the template names no reward slots, so omitting it leaves an
            existing response valid
      description: >-
        A bonus granted in addition to a purchase pack item's contents when the
        item is bought (e.g. an in-game currency top-up). A type, an id, and an
        amount.
      title: Purchase Pack Bonus Item
      required:
        - type
        - id
        - amount
    server.egress.shop.catalog.v1.BadgeAction:
      type: string
      enum:
        - BADGE_ACTION_UNSPECIFIED
        - BADGE_ACTION_SHOW_OFFER_DETAILS
      default: BADGE_ACTION_UNSPECIFIED
      description: Represents the action associated with a badge
      title: |-
        - BADGE_ACTION_UNSPECIFIED: Default badge action (no action)
         - BADGE_ACTION_SHOW_OFFER_DETAILS: Show the details of the offer contents, e.g. loot boxes with drop rates
    server.egress.shop.catalog.v1.GetCatalogResponse.Tooltip.PreviewContent:
      type: object
      properties:
        image:
          type: string
          description: >-
            URL of the tile's picture, starting with lowercase https://. A tile
            with a missing or non-https image is left out of the preview, and so
            is a tile whose picture fails to load; neither ever hides the
            tooltip, the reward or the offer
        quantity:
          type: string
          description: >-
            Optional quantity shown with the picture, as a string of digits for
            big integer support (no decimals or separators), formatted by the
            shop the same way as contents[].quantity (for example x70 or 80K).
            Leave it unset for a picture without a count. A tile whose quantity
            is not all digits is left out of the preview
        name:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
      description: >-
        One tile in a tooltip's preview: a picture of one thing a reward
        contains or can grant, with an optional quantity. Display only: it is
        never granted, never appears in ConfirmPayment and never changes what is
        charged; the reward's own contents say what is granted
      title: Preview Content
      required:
        - image
    server.egress.shop.catalog.v1.InformationType:
      type: string
      enum:
        - INFORMATION_TYPE_UNSPECIFIED
        - INFORMATION_TYPE_RARITY
        - INFORMATION_TYPE_DROP_RATES
      default: INFORMATION_TYPE_UNSPECIFIED
      description: >-
        Kind of information an info button gives, so the shop can style the
        button and its tooltip by kind
      title: >-
        - INFORMATION_TYPE_UNSPECIFIED: General information, styled as a plain
        info button
         - INFORMATION_TYPE_RARITY: The rarity of a reward, such as a star rating or a guaranteed minimum rarity
         - INFORMATION_TYPE_DROP_RATES: The drop rates (the odds disclosure) of what a reward can grant
    server.egress.shop.catalog.v1.RewardBuffType:
      type: string
      enum:
        - REWARD_BUFF_TYPE_UNSPECIFIED
        - REWARD_BUFF_TYPE_ADDITIVE
        - REWARD_BUFF_TYPE_MULTIPLIER
      default: REWARD_BUFF_TYPE_UNSPECIFIED
      description: Represents the type of reward buff applied to an item
      title: >-
        - REWARD_BUFF_TYPE_ADDITIVE: Renders the percentage as an additive
        reward, e.g. +20%
         - REWARD_BUFF_TYPE_MULTIPLIER: Renders the percentage as a multiplier, e.g. 3x
  securitySchemes:
    hmac:
      type: apiKey
      description: >-
        Versioned HMAC-SHA256 signature for server-to-server communication
        between game backends and Stash services. Recommended over the
        deprecated legacyHmac scheme for the best security. Header format:
        v1;{shopId};{unixMillisTimestamp};{base64Signature}
        (semicolon-delimited). {base64Signature} is the base64-encoded
        HMAC-SHA256 of the string {unixMillisTimestamp}.{requestBody} signed
        with your Egress API key, where {requestBody} is the compact request
        JSON. The timestamp must be within 5 minutes of Stash server time. Your
        shopId is your immutable shop identifier; it and your Egress API key are
        available in Stash Studio under Project Settings > API Secrets.
      name: x-stash-hmac-signature
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.