---
title: QrCode - Payments Apps API
description: The input fields will be used to render a QR code that the buyer will scan.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/payments-apps/latest/input-objects/QrCode'
  md: 'https://shopify.dev/docs/api/payments-apps/latest/input-objects/QrCode.md'
api_name: payments-apps
api_type: graphql
type: input-object
---

# Qr​Code

input\_object

The input fields will be used to render a QR code that the buyer will scan.

## Fields

* code

  [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String)

  non-null

  The code which will be used to render the QR Code.

* data

  [JSON](https://shopify.dev/docs/api/payments-apps/latest/scalars/JSON)

  The data to be used within the modal context.

***

## Input objects using this input

* [Modal​Action.qrCode](https://shopify.dev/docs/api/payments-apps/latest/input-objects/ModalAction#fields-qrCode)

  INPUT OBJECT

  The input fields to capture action data from the provider, that will populate the buyer action modal.

***

## Map

### Input objects using this input

* [Modal​Action.qrCode](https://shopify.dev/docs/api/payments-apps/latest/input-objects/ModalAction#fields-qrCode)
