> ## 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.

# Issue a wallet card via workflow

> Triggers a configured workflow that issues or updates wallet passes. Use when your program routes enrollment through a Bambu workflow instead of direct issue-wallet.



## OpenAPI

````yaml /openapi/brand-api.json post /{brand_id}/programs/{program_id}/workflows/{workflow_id}/wallet-passes
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}/workflows/{workflow_id}/wallet-passes:
    post:
      tags:
        - wallet
        - workflow
      summary: Issue a wallet card via workflow
      description: >-
        Triggers a configured workflow that issues or updates wallet passes. Use
        when your program routes enrollment through a Bambu workflow instead of
        direct issue-wallet.
      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: workflow_id
          in: path
          description: Workflow Identifier
          required: true
          style: simple
          explode: false
          schema:
            type: string
          example: '15'
      requestBody:
        description: The person info
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowPassInput'
            example:
              person:
                firstName: Alex
                lastName: Member
                email: member@example.com
                phone: '+15551234567'
              passdata:
                points: 0
                metaData:
                  memberId: '1001'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Applicable Message
              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
        '400':
          description: Error Occurred
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Applicable Error Message
      security:
        - cognito-authorizer:
            - https://admin.bambumeta.software/ui
components:
  schemas:
    WorkflowPassInput:
      type: object
      properties:
        geolocation:
          $ref: '#/components/schemas/GeoLocation'
        ipAddress:
          type: string
          description: IP Address
        passSerialNumber:
          type: string
          description: Pass Serial Number
        passId:
          type: number
          description: Pass Identifier
        key:
          type: string
          description: Unique Key column of your pass
    GeoLocation:
      type: object
      properties:
        latitude:
          type: number
          description: Latitude
        longitude:
          type: number
          description: Longitude
  securitySchemes:
    cognito-authorizer:
      type: apiKey
      name: Authorization
      in: header

````