> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List all QR codes

> Returns a paginated list of all QR codes created for your account.



## OpenAPI

````yaml /openapi/products.json get /payments/qr_codes
openapi: 3.1.0
info:
  title: Razorpay Products API
  description: >-
    API specification for Razorpay Payment Links, Subscriptions, and QR Codes
    products.
  version: 1.0.0
  contact:
    name: Razorpay Support
    url: https://razorpay.com/support
servers:
  - url: https://api.razorpay.com/v1
    description: Razorpay Production API
security:
  - basicAuth: []
tags:
  - name: Payment Links
    description: >-
      Create and manage payment links to collect payments from customers without
      building a checkout flow.
  - name: Plans
    description: >-
      Create and manage plans that define the billing period and amount for
      subscriptions.
  - name: Subscriptions
    description: >-
      Create and manage recurring subscriptions for customers based on defined
      plans.
  - name: QR Codes
    description: Create and manage QR codes for accepting UPI payments in-store or online.
  - name: Invoices
    description: Create and manage invoices to bill customers for products and services.
paths:
  /payments/qr_codes:
    get:
      tags:
        - QR Codes
      summary: List all QR codes
      description: Returns a paginated list of all QR codes created for your account.
      operationId: listQrCodes
      parameters:
        - name: count
          in: query
          required: false
          description: Number of QR codes to return. Default is 10, maximum is 100.
          schema:
            type: integer
            default: 10
            maximum: 100
        - name: skip
          in: query
          required: false
          description: >-
            Number of QR codes to skip before returning results. Used for
            pagination.
          schema:
            type: integer
            default: 0
      responses:
        '200':
          description: List of QR codes retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListQrCodesResponse'
        '401':
          description: Unauthorized. Invalid or missing API credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ListQrCodesResponse:
      type: object
      description: Paginated list of QR codes.
      properties:
        entity:
          type: string
          description: Entity type. Always `collection`.
          example: collection
        count:
          type: integer
          description: Number of QR codes returned in this response.
          example: 1
        items:
          type: array
          description: List of QR code objects.
          items:
            $ref: '#/components/schemas/QrCode'
    ErrorResponse:
      type: object
      description: Standard error response from the Razorpay API.
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code.
              example: BAD_REQUEST_ERROR
            description:
              type: string
              description: Human-readable description of the error.
              example: The amount must be greater than 0.
            field:
              type: string
              description: The field that caused the error, if applicable.
              example: amount
              nullable: true
    QrCode:
      type: object
      description: A Razorpay QR Code object for UPI payments.
      properties:
        id:
          type: string
          description: Unique identifier of the QR code.
          example: qr_EtjRHL7viz7RCz
        entity:
          type: string
          description: Entity type. Always `qr_code`.
          example: qr_code
        created_at:
          type: integer
          description: Unix timestamp at which the QR code was created.
          example: 1623914648
        name:
          type: string
          description: Name or label for the QR code.
          example: Store Front Display
        usage:
          type: string
          description: Whether the QR code can be used for single or multiple payments.
          enum:
            - single_use
            - multiple_use
          example: single_use
        type:
          type: string
          description: Type of QR code. `upi_qr` for UPI payments.
          enum:
            - upi_qr
          example: upi_qr
        image_url:
          type: string
          description: URL of the QR code image. Can be embedded or downloaded.
          example: https://rzp.io/i/w2CEwYmkAu
        payment_amount:
          type: integer
          description: >-
            Fixed payment amount in smallest currency unit (paise). Null for
            open amount QR codes.
          example: 100
          nullable: true
        status:
          type: string
          description: Current status of the QR code.
          enum:
            - active
            - closed
          example: active
        description:
          type: string
          description: Description of the QR code.
          example: For Store 1
        fixed_amount:
          type: boolean
          description: Whether the QR code has a fixed payment amount.
          example: true
        payments_amount_received:
          type: integer
          description: >-
            Total amount received through this QR code in smallest currency
            unit.
          example: 0
        payments_count_received:
          type: integer
          description: Total number of payments received through this QR code.
          example: 0
        notes:
          type: object
          description: Key-value pairs for storing additional information.
          additionalProperties:
            type: string
          example: {}
        customer_id:
          type: string
          description: Unique identifier of the customer associated with this QR code.
          example: cust_EtjRHOF6vrzpfy
          nullable: true
        close_by:
          type: integer
          description: Unix timestamp after which the QR code will be automatically closed.
          example: 1681615838
          nullable: true
        closed_at:
          type: integer
          description: Unix timestamp at which the QR code was closed.
          example: null
          nullable: true
        close_reason:
          type: string
          description: Reason for closing the QR code.
          example: null
          nullable: true
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Use your Razorpay Key ID as the username and Key Secret as the password.

````