---
title: "QR code wallet payments"
description: "Accept wallet payments with a QR code initiated from the terminal or the POS, or scanned from the shopper's phone."
url: "https://docs.adyen.com/point-of-sale/alternative-payment-methods/qr-code-wallets"
source_url: "https://docs.adyen.com/point-of-sale/alternative-payment-methods/qr-code-wallets.md"
canonical: "https://docs.adyen.com/point-of-sale/alternative-payment-methods/qr-code-wallets"
last_modified: "2021-04-21T13:59:00+02:00"
language: "en"
---

# QR code wallet payments

Accept wallet payments with a QR code initiated from the terminal or the POS, or scanned from the shopper's phone.

[View source](/point-of-sale/alternative-payment-methods/qr-code-wallets.md)

##### Supported wallets

To learn which QR code wallets we support, see the [payment methods overview](/point-of-sale/what-we-support/payment-methods#qr-code-wallets).

Many shoppers have installed a QR code wallet app on their phone. They link the wallet app to their credit or debit card (bank account), and then make in-person payments with the wallet app on their phone. In the payment process, the payment terminal and the wallet app communicate through a QR code.

## Requirements

Before you begin, take into account the following requirements, limitations, and preparations.

| Requirement          | Description                                                                                                                                                                                                                                                                                                                                        |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Integration type** | A [Terminal API](/point-of-sale/basic-tapi-integration/) integration with payment terminals or a [standalone solution](/point-of-sale/standalone).                                                                                                                                                                                                 |
| **Setup steps**      | Before you begin:- [Add the QR code payment method to your Adyen account](/point-of-sale/what-we-support/payment-methods/add-payment-methods). We will contact you if we need additional details.
- To use IRIS, you need to complete the [onboarding process with a Greek bank](/point-of-sale/what-we-support/payment-methods#local-onboarding). |

## QR code payment flows

With a [Terminal API integration](/point-of-sale/design-your-integration/choose-your-architecture), there are several flows you can use for QR code wallet payments. Each flow varies in terms of the shopper experience, and the amount of additional integration work required.

**Merchant-initiated** flows, where you generate a QR code that the shopper can scan.

* [Initiate from terminal](#initiate-from-terminal): you send a payment request. On the terminal display, your staff or the shopper selects the QR code icon.\
  A list of supported wallets appears. From the list, your staff or the shopper selects the wallet app that the shopper wants to use.\
  A QR code for the selected wallet appears. The shopper scans the QR code with their wallet app to complete the payment.\
  This flow requires no additional integration work.

  **Using our Standalone solution?**\
  This flow is also used for making QR code payments on a [standalone terminal](/point-of-sale/standalone/standalone-use#qr-code).

* [Initiate from POS app](#initiate-from-cash-register): you send a payment request which directly launches a QR code on the terminal. The shopper scans the QR code with their wallet app to complete the payment.

  This provides a simpler payment flow for your shoppers, but requires some additional integration work.

**Shopper-initiated** flow, where the shopper generates a QR code that you can scan.

* [Initiate from barcode scanner](#initiate-from-barcode-scanner): the shopper launches a QR code from the wallet app on their phone. You scan this with a barcode scanner, then pass the QR code data in a payment request.

  This flow is not supported for the following QR code wallets: Affirm, Atome, IRIS, PayMe, PayNow, PayPay, PIX, Rakuten Pay, TWINT, and Zip.

  This flow requires the most integration work, but is familiar to many shoppers. It also does not require your shopper to have an active internet connection to complete a payment. If you have poor cellular reception in your store, you may want to use this flow.

With your Adyen integration, you can support one or several of these QR code payment flows.

## Initiate from terminal

If your integration is able to make a card payment, it can also make QR code payments with this flow. After sending a payment request to the terminal, your staff or the shopper uses the terminal to specify the wallet app that the shopper will use for the transaction. This presents a QR code on the terminal, for the shopper to scan and verify the payment. The terminal then sends the payment to Adyen for processing.

[![](/user/pages/docs/03.point-of-sale/10.alternative-payment-methods/03.qr-code-wallets/noText_terminal.png)](/user/pages/docs/03.point-of-sale/10.alternative-payment-methods/03.qr-code-wallets/noText_terminal.png)

To initiate a QR code payment from your terminal:

1. Make a payment request, as you would for a [card payment](/point-of-sale/basic-tapi-integration/make-a-payment#make-a-payment).\
   The payment is routed to the terminal.

2. On the terminal screen, select the QR code icon, and then select the wallet app that the shopper will use for the payment.\
   The terminal shows a QR code on the display.

3. The shopper scans this QR code, and verifies the payment.

   If you are building a test integration, this payment is automatically **Approved** after 15 seconds. For IRIS, the test payment result depends on the test amount, as [described in this Test and go live section](/payment-methods/iris/api-only#test-and-go-live). For information on testing other payment scenarios, such as an abandoned transaction, see [Testing QR code wallets](/point-of-sale/testing-pos-payments#testing-qr-code-wallets).

   The payment is sent to the Adyen payments platform for processing.

4. You receive the result of the payment, as you would [receive the result of a card payment](/point-of-sale/basic-tapi-integration/make-a-payment#payment-response).

You can view the details of a payment in your [Customer Area](https://ca-test.adyen.com/), under **Transactions** > **Payments**.

## Initiate from POS app

Using this flow is similar to making a regular payment request, but you additionally specify the wallet app that the shopper will use for the transaction. When you send the payment request to the terminal, this shows a QR code for the specified wallet app. The shopper scans the QR code and verifies the payment. The terminal then sends the payment to Adyen for processing.

[![](/user/pages/docs/03.point-of-sale/10.alternative-payment-methods/03.qr-code-wallets/noText_cashregister.png)](/user/pages/docs/03.point-of-sale/10.alternative-payment-methods/03.qr-code-wallets/noText_cashregister.png)

To initiate a QR code payment from your POS app:

1. Ask the shopper which wallet app they will use for the payment.

2. [Make a payment request](/point-of-sale/basic-tapi-integration/make-a-payment#make-a-payment) including:

   * The [PaymentRequest.PaymentTransaction.TransactionConditions](https://docs.adyen.com/api-explorer/terminal-api/latest/post/payment#request-PaymentTransaction-TransactionConditions) array with:

     | Parameter             | Required                                                                                    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
     | --------------------- | ------------------------------------------------------------------------------------------- |   |
     | `AllowedPaymentBrand` | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | The wallet app that the shopper will use for the payment. Use one of the values from the following list.- **affirm\_pos**: shows an Affirm QR code.
     - **alipay**: shows an Alipay QR code.
     - **alipay\_hk**: shows an AlipayHK QR code.
     - **alipay\_plus**: shows an Alipay+ QR code.
     - **atome\_pos**: shows an Atome QR code.
     - **duitnow\_pos**: shows a DuitNow QR code.
     - **grabpay\_pos**: shows a GrabPay QR code.
     - **iris\_pos**: iris\_pos: shows an IRIS QR code.
     - **payme\_pos**: shows a PayMe QR code.
     - **paynow\_pos**: shows a PayNow QR code.
     - **paypay\_pos**: shows a PayPay QR code.
     - **pix**: shows a PIX QR code.
     - **rakutenpay\_pos**: shows a Rakuten Pay QR code.
     - **swish**: shows a Swish QR code.
     - **twint\_pos**: shows a TWINT QR code.
     - **wechatpay\_pos**: shows a WeChat Pay QR code.
     - **zip\_pos**: shows a Zip QR code. |

   The example below shows a request for a **EUR 10.99 Alipay** payment from your POS app.

   **Payment request initiated from the POS app**

   ```json
   {
      "SaleToPOIRequest":{
         "MessageHeader":{
            "ProtocolVersion":"3.0",
            "MessageClass":"Service",
            "MessageCategory":"Payment",
            "MessageType":"Request",
            "ServiceID":"0918171608",
            "SaleID":"POSSystemID12345",
            "POIID":"V400m-324688179"
         },
         "PaymentRequest":{
            "SaleData":{
               "SaleTransactionID":{
                  "TransactionID":"8954",
                  "TimeStamp":"2019-09-18T15:16:08+00:00"
               }
            },
            "PaymentTransaction":{
               "AmountsReq":{
                  "Currency":"EUR",
                  "RequestedAmount":10.99
               },
               "TransactionConditions":{
                  "AllowedPaymentBrand":[
                     "alipay"
                  ]
               }
            }
         }
      }
   }
   ```

   This directly shows an Alipay QR code on the terminal display.

3. Hand the terminal to the shopper, so they can scan the QR code and verify the payment.

   If you are building a test integration, this payment is automatically **Approved** after 15 seconds. For information on testing other payment scenarios, such as an abandoned transaction, see [Testing QR code wallets](/point-of-sale/testing-pos-payments#testing-qr-code-wallets).

   The payment is sent to the Adyen payments platform for processing.

4. You receive the result of the payment, as you would [receive the result of a card payment](/point-of-sale/basic-tapi-integration/make-a-payment#payment-response).

You can view the details of a payment in your [Customer Area](https://ca-test.adyen.com/), under **Transactions** > **Payments**.

## Initiate from barcode scanner

To use this flow, your POS system must include a barcode scanner that can read a QR code. This can be an infrared scanner or a camera. Your POS system also needs to translate the QR code into a numerical value.

You scan the QR code presented in the wallet app on the shopper's phone. Your POS app sends this QR code data to Adyen in a payment request, for processing.

[![](/user/pages/docs/03.point-of-sale/10.alternative-payment-methods/03.qr-code-wallets/noText_scanner.png)](/user/pages/docs/03.point-of-sale/10.alternative-payment-methods/03.qr-code-wallets/noText_scanner.png)

To initiate a QR code payment from your barcode scanner:

1. Scan the shopper's QR code with your barcode scanner.

2. Translate the QR code data into a numeric value, to be passed in the payment request.\
   For example, the numeric value contains:

   * 16-24 digits for Alipay.
   * 18 digits for WeChat Pay.

3. [Make a payment request](/point-of-sale/basic-tapi-integration/make-a-payment#make-a-payment) including:

   * The [PaymentRequest.PaymentData.PaymentInstrumentData](https://docs.adyen.com/api-explorer/terminal-api/latest/post/payment#request-PaymentData-PaymentInstrumentData) object with:

     | Parameter               | Required                                                                                    | Description                                                                                                                                                                                                       |
     | ----------------------- | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
     | `PaymentInstrumentType` | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | **StoredValue**                                                                                                                                                                                                   |
     | `StoredValueAccountID`  | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | The details of the barcode or QR code:- `StoredValueAccountType`: **Other**
     - `EntryMode`: **Scanned**
     - `IdentificationType`: **BarCode**
     - `StoredValueID`: A numeric value representing the shopper's QR code. |

   * For **AlipayHK**, add the [PaymentRequest.PaymentTransaction.TransactionConditions](https://docs.adyen.com/api-explorer/terminal-api/latest/post/payment#request-PaymentTransaction-TransactionConditions) object with `AllowedPaymentBrand`: **alipay\_hk**.

   The examples below show a payment request using a QR code with the numeric value **284687593190468703**.

   ### Tab: Payment request

   **With StoredValueID**

   ```json
   {
      "SaleToPOIRequest":{
         "MessageHeader":{
            "ProtocolVersion":"3.0",
            "MessageClass":"Service",
            "MessageCategory":"Payment",
            "MessageType":"Request",
            "ServiceID":"0918171609",
            "SaleID":"POSSystemID12345",
            "POIID":"V400m-324688179"
         },
         "PaymentRequest":{
            "SaleData":{
               "SaleTransactionID":{
                  "TransactionID":"19630",
                  "TimeStamp":"2019-09-18T15:26:39+00:00"
               }
            },
            "PaymentData":{
               "PaymentInstrumentData":{
                  "PaymentInstrumentType":"StoredValue",
                  "StoredValueAccountID":{
                     "StoredValueAccountType":"Other",
                     "EntryMode":[
                        "Scanned"
                     ],
                     "IdentificationType":"BarCode",
                     "StoredValueID":"284687593190468703"
                  }
               }
            },
            "PaymentTransaction":{
               "AmountsReq":{
                  "Currency":"EUR",
                  "RequestedAmount":10.99
               }
            }
         }
      }
   }
   ```

   ### Tab: Payment request - AlipayHK

   **With StoredValueID and AllowedPaymentBrand**

   ```json
   {
      "SaleToPOIRequest":{
         "MessageHeader":{
            "ProtocolVersion":"3.0",
            "MessageClass":"Service",
            "MessageCategory":"Payment",
            "MessageType":"Request",
            "ServiceID":"0918171609",
            "SaleID":"POSSystemID12345",
            "POIID":"V400m-324688179"
         },
         "PaymentRequest":{
            "SaleData":{
               "SaleTransactionID":{
                  "TransactionID":"19630",
                  "TimeStamp":"2019-09-18T15:26:39+00:00"
               }
            },
            "PaymentData":{
               "PaymentInstrumentData":{
                  "PaymentInstrumentType":"StoredValue",
                  "StoredValueAccountID":{
                     "StoredValueAccountType":"Other",
                     "EntryMode":[
                        "Scanned"
                     ],
                     "IdentificationType":"BarCode",
                     "StoredValueID":"284687593190468703"
                  }
               }
            },
            "PaymentTransaction":{
               "AmountsReq":{
                  "Currency":"HKD",
                  "RequestedAmount":10.99
               },
               "TransactionConditions":{
                  "AllowedPaymentBrand":[
                     "alipay_hk"
                  ]
               }
            }
         }
      }
   }
   ```

4. You receive the result of the payment, as you would [receive the result of a card payment](/point-of-sale/basic-tapi-integration/make-a-payment#payment-response).

   If you are building a test integration, this payment is immediately **Approved**. For information on testing other payment scenarios, such as a refused transaction, see [Testing QR code wallets](/point-of-sale/testing-pos-payments#testing-qr-code-wallets).

You can view the details of a payment in your [Customer Area](https://ca-test.adyen.com/), under **Transactions** > **Payments**.

## Refunds

QR code wallets only support [referenced refunds](/point-of-sale/basic-tapi-integration/refund-payment/referenced), so you have to make a `ReversalRequest` to refund a QR code wallet payment.

Both full and partial referenced refunds are allowed.

## Testing

We provide a simulator that you can use to test your integration. Some QR code payment methods also provide their own test environment. For more information, see [Testing QR code payments](/point-of-sale/testing-pos-payments#testing-qr-code-wallets).

## See also

* [Supported QR code wallets](/point-of-sale/what-we-support/payment-methods#qr-code-wallets)
