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

# Get game price

> The Game's price and the offer players see now.



## OpenAPI

````yaml scripts/reference/sources/openapi/management.json GET /v1/management/games/{gameId}/price
openapi: 3.1.0
info:
  title: Summer Creator Management API
  version: summer.management.creator/v1
  description: >-
    Create and manage your Summer Games store games: store page drafts,
    revisions, preview links, media, builds and releases, and the owner approval
    that publishes them.
servers:
  - url: https://api.summer.games
security:
  - developerBearer: []
tags:
  - name: Games
  - name: Items
  - name: Media
paths:
  /v1/management/games/{gameId}/price:
    parameters:
      - $ref: '#/components/parameters/GameID'
    get:
      tags:
        - Games
      description: >-
        The Game's price and the offer players see now. A Game without a price
        is free (price and offer are null). Requires `billing.read`.
      operationId: getGamePrice
      responses:
        '200':
          description: Pricing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GamePricing'
        '404':
          $ref: '#/components/responses/NotFound'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    GameID:
      name: gameId
      in: path
      required: true
      schema:
        type: string
        pattern: ^game_[A-Za-z0-9_-]{8,123}$
  schemas:
    GamePricing:
      type: object
      additionalProperties: false
      required:
        - price
        - offer
      properties:
        price:
          type:
            - object
            - 'null'
          additionalProperties: false
          required:
            - currency
            - amountMinor
            - updatedAt
          properties:
            currency:
              type: string
              enum:
                - USD
            amountMinor:
              type: integer
              minimum: 50
              maximum: 100000
            discount:
              type: object
              additionalProperties: false
              required:
                - percent
                - startsAt
                - endsAt
              properties:
                percent:
                  type: integer
                  minimum: 1
                  maximum: 90
                startsAt:
                  type: string
                  format: date-time
                endsAt:
                  type: string
                  format: date-time
            updatedAt:
              type: string
              format: date-time
        offer:
          type:
            - object
            - 'null'
          description: >-
            What players see and pay now; purchasable is false only if Stripe
            has since restricted the creator's account.
          additionalProperties: false
          required:
            - currency
            - baseMinor
            - finalMinor
            - discountPercent
            - purchasable
          properties:
            currency:
              type: string
              enum:
                - USD
            baseMinor:
              type: integer
            finalMinor:
              type: integer
            discountPercent:
              type: integer
              minimum: 0
              maximum: 90
            dealEndsAt:
              type: string
              format: date-time
            purchasable:
              type: boolean
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - requestId
            - retryable
          properties:
            code:
              type: string
            message:
              type: string
            requestId:
              type: string
            retryable:
              type: boolean
  responses:
    NotFound:
      description: Missing or inaccessible resource
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: Required dependency unavailable; the error is retryable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    developerBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your Summer account token. An agent gets it by signing in with OAuth:
        `summer login --store` in the Summer CLI, or the Summer connector in an
        AI app. Agent tokens can call only the operations on these pages.
        Publishing needs an approval from the game's owner first.

````

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