Skip to main content
You can use the display of your payment terminal to show a QR code which the shopper can scan with their mobile device. The QR code can contain anything you like. For example, a URL to join your loyalty program or to download an app, a message with a link to a promotional offer, or an invitation to visit your webshop. You can also add a header and footer to explain what the QR code is for. The terminal shows the QR code during the time you set in the request. If you do not set a time-out, the QR code continues to be shown until you send another request. For example, a payment request, or a request to show the standby screen. The following illustrations show a QR code with header and footer on a portrait, small portrait, and landscape display.

Make a display request for a QR code

  1. If the QR code needs to contain more than just a URL, convert the content to a URL-encoded string. You’ll need to specify the URL-encoded string in the display request, in the OutputContent.OutputBarcode.BarcodeValue. For example, if the QR code should have this content:
    The resulting URL-encoded string will look like this:
    If the QR code needs to contain only a URL, for example https://www.adyen.com/pos-payments, there is no need to URL-encode that. You’ll specify the URL in the display request as a plain text string.
  2. Make a Terminal API display request, specifying:
    • The standard SaleToPOIRequest.MessageHeader object, with MessageClass set to Device and MessageCategory set to Display.

      QR code:

      The header and footer are both text array items with the same structure. If you specify one text array item, that will be interpreted as the header. If you specify a second text array item, that will be interpreted as the footer.
    QR code with header and footer
  3. In the display response, check the OutputResult. This array indicates whether the elements were successfully shown. The first item in the array refers to the first item in the DisplayOutput array , and so on. Display response

See also