--- title: QrCode - Payments Apps API description: The input fields will be used to render a QR code that the buyer will scan. api_version: 2025-10 api_name: payments-apps type: input-object api_type: graphql 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 --- # 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)