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

# Apply a reward to a wallet pass

> Applies a configured reward to an existing wallet pass. Requires a valid `reward_id` and pass identifiers in the request body.



## OpenAPI

````yaml /openapi/brand-api.json post /{brand_id}/programs/{program_id}/rewards/{reward_id}/wallet-pass
openapi: 3.0.0
info:
  title: Bambu Brand API
  description: >-
    Partner APIs for issuing and managing wallet cards, activations,
    transactions, SMS, and program configuration. Start with the Guides tab for
    authentication and your first issue-wallet call.
  version: 1.0.0
servers:
  - url: https://api.bambumeta.software/brands
    description: Production
  - url: https://api-sandbox.bambumeta.software/brands
    description: Sandbox
security: []
tags:
  - name: brand
    description: Brand setup and configuration
  - name: brand-activation
    description: Onboarding activations and issue-wallet for an activation
  - name: brands
    description: Custom brand attribute fields
  - name: link-activation
    description: Distribution link activation CRUD
  - name: onboarding
    description: >-
      Program onboarding metrics (internal tag, grouped under reporting in the
      portal)
  - name: program
    description: Program setup and transactions
  - name: reporting
    description: Pass and stage breakdown reports
  - name: sms
    description: Send outbound SMS messages
  - name: subscription
    description: SMS subscription enrollment and stage updates
  - name: template
    description: Wallet template management
  - name: transactions
    description: Transaction types, records, and program transactions
  - name: wallet
    description: Issue, retrieve, update, and delete wallet cards
  - name: wallet-bulk
    description: Bulk pass updates and scheduled changes
  - name: workflow
    description: Trigger workflows that issue or update passes
paths:
  /{brand_id}/programs/{program_id}/rewards/{reward_id}/wallet-pass:
    post:
      tags:
        - wallet
      summary: Apply a reward to a wallet pass
      description: >-
        Applies a configured reward to an existing wallet pass. Requires a valid
        `reward_id` and pass identifiers in the request body.
      parameters:
        - name: brand_id
          in: path
          description: Brand Identifier
          required: true
          style: simple
          explode: false
          schema:
            type: number
          example: '353'
        - name: program_id
          in: path
          description: Program Identifier
          required: true
          style: simple
          explode: false
          schema:
            type: number
          example: '1396'
        - name: reward_id
          in: path
          description: Reward Identifier
          required: true
          style: simple
          explode: false
          schema:
            type: number
          example: '2'
        - name: pass_id
          in: query
          description: Pass Identifier
          required: true
          schema:
            type: number
        - name: serial_number
          in: query
          description: Pass Serial Number
          required: false
          schema:
            type: string
        - name: unique_id
          in: query
          description: >-
            External unique identifier for the wallet card (recommended). Must
            match the value stored in passdata.metaData at issue time, such as
            memberId.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletPass'
              example:
                passId: 12345
                serialNumber: 88faf0d9-196c-11f1-99ef-0e0d839580d9
                templateId: 100
                personId: 550e8400-e29b-41d4-a716-446655440000
                passdata:
                  points: 0
                  metaData:
                    memberId: '1001'
                downloadUrl: >-
                  https://wallet-pass.bambumeta.software/brand/353/88faf0d9-196c-11f1-99ef-0e0d839580d9
                downloadUrlApple: >-
                  https://wallet-pass.bambumeta.software/brand/353/88faf0d9-196c-11f1-99ef-0e0d839580d9
                downloadUrlGoogle: https://pay.google.com/gp/v/save/eyJhbGciOiJFUzI1NiJ9...
                statusCode: ACTIVE
                status: 200
      security:
        - cognito-authorizer:
            - https://admin.bambumeta.software/ui
components:
  schemas:
    WalletPass:
      type: object
      required:
        - serialNumber
        - templateId
      properties:
        passId:
          type: number
        serialNumber:
          type: string
        templateId:
          type: number
        groupId:
          type: string
          description: >-
            If provided, this group identifier will be used to group the wallet
            passes together.
        personId:
          type: string
        templateTierId:
          type: number
          description: >-
            The optional wallet pass tier identifier for updating the tier on
            the wallet card.
        currentMessage:
          type: string
          description: The current message for the wallet pass
        passdata:
          $ref: '#/components/schemas/PassData'
        downloadUrl:
          type: string
          description: The download url for the pass
        downloadUrlApple:
          type: string
          description: The download url for the pass for Apple Wallet
        downloadUrlGoogle:
          type: string
          description: The download url for the pass for Google Wallet
        statusCode:
          type: string
          description: The status for the pass
        status:
          type: number
          description: The numeric representation of the status
    PassData:
      type: object
      properties:
        optOut:
          type: boolean
        points:
          type: number
        seat:
          type: string
        row:
          type: string
        section:
          type: string
        gate:
          type: string
        expiryDate:
          type: string
        status:
          type: string
        profileImage:
          type: string
        metaData:
          type: object
          additionalProperties: true
  securitySchemes:
    cognito-authorizer:
      type: apiKey
      name: Authorization
      in: header

````