> ## Documentation Index
> Fetch the complete documentation index at: https://v1-learn.neoartd.my.id/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Voucher List



## OpenAPI

````yaml api/voucher.json get /voucher
openapi: 3.0.1
info:
  title: Voucher API
  description: An API for Voucher documentation management and resource access.
  version: 1.0.0
servers:
  - url: https://blessed-toad-definitely.ngrok-free.app/api
security: []
paths:
  /voucher:
    get:
      summary: Get Voucher List
      operationId: getVoucher
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Voucher'
components:
  schemas:
    Voucher:
      type: object
      properties:
        id:
          type: integer
          description: Unique identifier for the voucher
          readOnly: true
        namaVoucher:
          type: string
          description: Name of the voucher
          example: Voucher 12-12
        diskonRate:
          type: number
          description: Discount rate of the voucher
          example: 10
        tanggalExpired:
          type: string
          format: date
          description: Expired date of the voucher
          example: '2021-12-31'

````