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

# Get Gift Card Balance

> Check the balance of a gift card by its secure code.

Uses POST so the bearer code lives in the request body rather than the
query string — keeps it out of access logs, proxies, and browser history.



## OpenAPI

````yaml post /billing/gift-cards/balance
openapi: 3.1.0
info:
  title: Decoda API
  description: External API documentation for the Decoda Health platform.
  version: '1.0'
servers: []
security: []
paths:
  /billing/gift-cards/balance:
    post:
      tags:
        - Gift Cards
      summary: Get Gift Card Balance
      description: >-
        Check the balance of a gift card by its secure code.


        Uses POST so the bearer code lives in the request body rather than the

        query string — keeps it out of access logs, proxies, and browser
        history.
      operationId: get_gift_card_balance_billing_gift_cards_balance_post
      parameters:
        - name: TENANT
          in: header
          required: true
          schema:
            type: string
            title: Tenant
          description: The tenant you are making this request on behalf of
        - name: API-KEY
          in: header
          required: true
          schema:
            type: string
            title: Api-Key
          description: Your api key
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GiftCardBalanceRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GiftCardBalanceResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GiftCardBalanceRequest:
      properties:
        giftCardCode:
          type: string
          title: Giftcardcode
      type: object
      required:
        - giftCardCode
      title: GiftCardBalanceRequest
    GiftCardBalanceResponse:
      properties:
        code:
          type: string
          title: Code
        currentBalance:
          type: integer
          title: Currentbalance
        initialValue:
          type: integer
          title: Initialvalue
        isActive:
          type: boolean
          title: Isactive
      type: object
      required:
        - code
        - currentBalance
        - initialValue
        - isActive
      title: GiftCardBalanceResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````