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

# Get Reward Option

> Get reward option detail by id.



## OpenAPI

````yaml GET /bitlogin/api/open/v1/loyalty/reward-options/{id}
openapi: 3.1.0
info:
  title: bitLogin Loyalty API
  description: >-
    Loyalty configuration endpoints for bitLogin (integration toggle, point
    conversion, and reward options).
  version: 1.0.0
servers:
  - url: https://api.bitbybit.studio
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /bitlogin/api/open/v1/loyalty/reward-options/{id}:
    get:
      tags:
        - Loyalty - bitLogin
      summary: Get reward option
      description: Get reward option detail by id.
      operationId: getRewardOption
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RewardOption'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageError'
components:
  schemas:
    RewardOption:
      type: object
      properties:
        id:
          type: string
        companyId:
          type: integer
        rewardName:
          type: string
        costToRedeem:
          type: integer
        discountType:
          type: string
          enum:
            - fixed_amount
            - percentage
            - free_shipping
        discountValue:
          type: number
        voucherPrefix:
          type: string
          nullable: true
        minimumPurchaseAmount:
          type: number
        expirationPreset:
          type: string
          enum:
            - NO_EXPIRATION
            - SEVEN_DAYS
            - THIRTY_DAYS
            - NINETY_DAYS
            - ONE_YEAR
        priceRuleId:
          type: string
        startsAt:
          type: string
          format: date-time
        endsAt:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    MessageError:
      type: object
      properties:
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      description: API key for authentication. Create one in Settings > Developer.
      name: x-api-key
      in: header
      type: apiKey

````