Search

Are you looking for test card numbers?

Would you like to contact support?

Digital eWallets

Learn about the available eWallet operations through the Terminal API.

Our terminals support multiple digital wallets application on smartphones, watches and similar. We differentiate wallet applications by their underlying technologies, which use Near-field communication (NFC) or QR codes.

NFC

Apple Pay, Google Pay and Samsung Pay are supported on our terminals without any additional integration efforts.

QR Codes

AliPay and WeChat Pay integrations are supported through the Terminal API. For more information, see Alipay and WeChat Pay.

There are 3 flows for wallet-based payments available in the Terminal API:

Contact the Support Team to configure your terminal Alipay or WeChat Pay payments.

Flow One

In this flow the wallet transaction is initiated by the customer through the flow of a sale transaction.
Configuration: the wallet should be added as payment method to the merchant account and should be set in the terminal configuration.

Contact our POS Support Team to configure your account for wallet payments.

This flow is same as processing any sale transaction:

  1. Initiate a normal card transaction from the POS.
  2. Ask the customer if they want to use Alipay or WeChat Pay.
  3. Tap Wallets.
  4. Tap their preferred wallet.
  5. Hand the terminal to the customer.
  6. The shopper scans the QR code with their mobile device and authorizes the payment.

    The shopper must have an activated Alipay or WeChat Pay wallet app on their mobile device, and an active internet connection.

  7. The terminal displays the final status of the transaction, either Approved, for successful transactions, or Refused.

Flow Two

In this flow the wallet transactions is initiated directly from the Cash register application. The integration requires implementing the CreateSpecialTender method.

To use this flow:

  1. Initiate a transaction on the Cash register.
  2. The QR code is shown on the terminal.
  3. The shopper scans the QR code and initiates the payment from their application.
  4. The terminal shows the result of the payment (APPROVED, DECLINED, CANCELLED).

Request

{
   "SaleToPOIRequest":{
      "MessageHeader":{
         "ProtocolVersion":"3.0",
         "MessageClass":"Service",
         "MessageCategory":"Payment",
         "MessageType":"Request",
         "ServiceID":"0918171608",
         "SaleID":"John",
         "POIID":"M400-401442542"
      },
      "PaymentRequest":{
         "SaleData":{
            "SaleTransactionID":{
               "TransactionID":"8954",
               "TimeStamp":"2018-09-18T15:16:08+00:00"
            },
            "SaleReferenceID":"SalesRefABC"
         },
         "PaymentTransaction":{
            "AmountsReq":{
               "Currency":"EUR",
               "RequestedAmount":100.99
            },
            "TransactionConditions":{
               "AllowedPaymentBrand":[
                  "alipay"
               ]
            }
         }
      }
   }
}

Response

For a list of Payment Response fields, see PaymentResponse fields.

An authorisation is attempted and you receive a response with the following fields:

{
   "SaleToPOIResponse":{
      "PaymentResponse":{
         "POIData":{
            "POITransactionID":{
               "TimeStamp":"2018-09-18T15:16:08.000Z",
               "TransactionID":"63Go001537283768000.9815372837693852"
            },
            "POIReconciliationID":"1000"
         },
         "SaleData":{
            "SaleTransactionID":{
               "TimeStamp":"2018-09-18T15:16:08.000Z",
               "TransactionID":"8954"
            },
            "SaleReferenceID":"SalesRefABC"
         },
         "PaymentReceipt":[
            {
               "RequiredSignatureFlag":false,
               "DocumentQualifier":"CashierReceipt",
               "OutputContent":{
                  "OutputFormat":"Text",
                  "OutputText":[
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=Header%20line%201&key=header1",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=www.adyen.com&key=header2",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=MERCHANT%20COPY&key=merchantTitle",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Date&value=18%2f09%2f18&key=txdate",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Time&value=15%3a16%3a08&key=txtime",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Card&key=pan",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Pref.%20name&key=preferredName",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Card%20type&value=alipay&key=cardType",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Payment%20method&value=alipay&key=paymentMethod",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Payment%20variant&value=alipay&key=paymentMethodVariant",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Entry%20mode&value=Barcode&key=posEntryMode",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=MID&value=208862187720064&key=mid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=TID&value=M400-401442542&key=tid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=PTID&value=01442542&key=ptid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=ATC&key=atc",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Buyer%20ID&value=2088102181794157&key=buyerId",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Operation%20type&value=alipay&key=walletOperationType",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Transaction%20ref.&value=2018091821001004150500413614&key=walletTransactionReference",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=DCC%20amount&value=788.56%20CNY&key=walletDccAmount",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=DCC%20rate&value=7.80830000&key=walletDccRate",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Tender&value=63Go001537283768000&key=txRef",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Reference&value=8954&key=mref",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Type&value=GOODS_SERVICES&key=txtype",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=TOTAL&value=%e2%82%ac%20100.99%20%20&key=totalAmount",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=APPROVED&key=approved",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     }
                  ]
               }
            },
            {
               "RequiredSignatureFlag":false,
               "DocumentQualifier":"CustomerReceipt",
               "OutputContent":{
                  "OutputFormat":"Text",
                  "OutputText":[
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=Header%20line%201&key=header1",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=www.adyen.com&key=header2",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=CARDHOLDER%20COPY&key=cardholderHeader",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Date&value=18%2f09%2f18&key=txdate",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Time&value=15%3a16%3a08&key=txtime",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Card&key=pan",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Pref.%20name&key=preferredName",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Card%20type&value=alipay&key=cardType",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Payment%20method&value=alipay&key=paymentMethod",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Payment%20variant&value=alipay&key=paymentMethodVariant",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Entry%20mode&value=Barcode&key=posEntryMode",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=MID&value=208862187720064&key=mid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=TID&value=M400-401442542&key=tid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=PTID&value=01442542&key=ptid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=ATC&key=atc",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Buyer%20ID&value=2088102181794157&key=buyerId",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Operation%20type&value=alipay&key=walletOperationType",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Transaction%20ref.&value=2018091821001004150500413614&key=walletTransactionReference",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=DCC%20amount&value=788.56%20CNY&key=walletDccAmount",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=DCC%20rate&value=7.80830000&key=walletDccRate",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Tender&value=63Go001537283768000&key=txRef",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Reference&value=8954&key=mref",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Type&value=GOODS_SERVICES&key=txtype",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=TOTAL&value=%e2%82%ac%20100.99%20%20&key=totalAmount",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=APPROVED&key=approved",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Please%20retain%20for%20your%20records&key=retain",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Thank%20you&key=thanks",
                        "EndOfLineFlag":true
                     }
                  ]
               }
            }
         ],
         "PaymentResult":{
            "PaymentAcquirerData":{
               "AcquirerPOIID":"M400-401442542",
               "AcquirerTransactionID":{
                  "TimeStamp":"2018-09-18T15:16:08.000Z",
                  "TransactionID":"9815372837693852"
               },
               "MerchantID":"TestMerchantPOS"
            },
            "PaymentInstrumentData":{
               "CardData":{
                  "EntryMode":[
                     "Scanned"
                  ],
                  "PaymentBrand":"alipay"
               },
               "PaymentInstrumentType":"Card"
            },
            "AmountsResp":{
               "AuthorizedAmount":100.99,
               "Currency":"EUR"
            }
         },
         "Response":{
            "Result":"Success",
            "AdditionalResponse":"tid=01442542&transactionType=GOODS_SERVICES&backendGiftcardIndicator=false&giftcardIndicator=false&pspReference=9815372837693852&paymentMethodVariant=alipay&offline=false&mid=208862187720064&note=Direct%20API%20REQUIRES%20payload%20crypto%20on%20live%2c%20cleartext%20allowed%20for%20testing%20only"
         }
      },
      "MessageHeader":{
         "ProtocolVersion":"3.0",
         "SaleID":"John",
         "MessageClass":"Service",
         "MessageCategory":"Payment",
         "ServiceID":"0918171608",
         "POIID":"M400-401442542",
         "MessageType":"Response"
      }
   }
}

Flow Three

In this flow the wallet transactions is initiated directly from the Cash register application. The integration requires implementing the CreateSpecialTender method.

To use this flow:

  1. Initiate a wallet transaction on the Cash register.
  2. Scan the shopper bar code from the app.
  3. The shopper may need to enter their passcode.
  4. The terminal shows the result of the payment (APPROVED, DECLINED, CANCELLED).

Request

{
   "SaleToPOIRequest":{
      "MessageHeader":{
         "ProtocolVersion":"3.0",
         "MessageClass":"Service",
         "MessageCategory":"Payment",
         "MessageType":"Request",
         "ServiceID":"0918172639",
         "SaleID":"John",
         "POIID":"M400-401442542"
      },
      "PaymentRequest":{
         "SaleData":{
            "SaleTransactionID":{
               "TransactionID":"19629",
               "TimeStamp":"2018-09-18T15:26:39+00:00"
            },
            "SaleReferenceID":"SalesRefABC"
         },
         "PaymentTransaction":{
            "AmountsReq":{
               "Currency":"EUR",
               "RequestedAmount":100.99
            },
            "TransactionConditions":{
               "AllowedPaymentBrand":[
                  "alipay"
               ]
            }
         },
         "PaymentData":{
            "PaymentInstrumentData":{
               "PaymentInstrumentType":"StoredValue",
               "StoredValueAccountID":{
                  "StoredValueAccountType":"Other",
                  "EntryMode":[
                     "Scanned"
                  ],
                  "IdentificationType":"BarCode",
                  "StoredValueID":"284687593190468703"
               }
            }
         }
      }
   }
}

Response

For a list of Payment Response fields, see PaymentResponse fields.

An authorisation is attempted and you receive a response with the following fields:

{
   "SaleToPOIResponse":{
      "PaymentResponse":{
         "POIData":{
            "POITransactionID":{
               "TimeStamp":"2018-09-18T15:26:39.000Z",
               "TransactionID":"63Go001537284399003.9815372844003921"
            },
            "POIReconciliationID":"1000"
         },
         "SaleData":{
            "SaleTransactionID":{
               "TimeStamp":"2018-09-18T15:26:39.000Z",
               "TransactionID":"19629"
            },
            "SaleReferenceID":"SalesRefABC"
         },
         "PaymentReceipt":[
            {
               "RequiredSignatureFlag":false,
               "DocumentQualifier":"CashierReceipt",
               "OutputContent":{
                  "OutputFormat":"Text",
                  "OutputText":[
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=Header%20line%201&key=header1",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=www.adyen.com&key=header2",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=MERCHANT%20COPY&key=merchantTitle",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Date&value=18%2f09%2f18&key=txdate",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Time&value=15%3a26%3a39&key=txtime",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Card&key=pan",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Pref.%20name&key=preferredName",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Card%20type&value=alipay&key=cardType",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Payment%20method&value=alipay&key=paymentMethod",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Payment%20variant&value=alipay&key=paymentMethodVariant",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Entry%20mode&value=Barcode&key=posEntryMode",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=MID&value=208862187720064&key=mid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=TID&value=M400-401442542&key=tid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=PTID&value=01442542&key=ptid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=ATC&key=atc",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Buyer%20ID&value=2088102181794157&key=buyerId",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Operation%20type&value=alipay&key=walletOperationType",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Transaction%20ref.&value=2018091821001004150500413216&key=walletTransactionReference",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=DCC%20amount&value=788.56%20CNY&key=walletDccAmount",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=DCC%20rate&value=7.80830000&key=walletDccRate",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Tender&value=63Go001537284399003&key=txRef",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Reference&value=19629&key=mref",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Type&value=GOODS_SERVICES&key=txtype",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=TOTAL&value=%e2%82%ac%20100.99%20%20&key=totalAmount",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=APPROVED&key=approved",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     }
                  ]
               }
            },
            {
               "RequiredSignatureFlag":false,
               "DocumentQualifier":"CustomerReceipt",
               "OutputContent":{
                  "OutputFormat":"Text",
                  "OutputText":[
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=Header%20line%201&key=header1",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=www.adyen.com&key=header2",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=CARDHOLDER%20COPY&key=cardholderHeader",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Date&value=18%2f09%2f18&key=txdate",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Time&value=15%3a26%3a39&key=txtime",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Card&key=pan",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Pref.%20name&key=preferredName",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Card%20type&value=alipay&key=cardType",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Payment%20method&value=alipay&key=paymentMethod",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Payment%20variant&value=alipay&key=paymentMethodVariant",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Entry%20mode&value=Barcode&key=posEntryMode",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=MID&value=208862187720064&key=mid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=TID&value=M400-401442542&key=tid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=PTID&value=01442542&key=ptid",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=ATC&key=atc",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Buyer%20ID&value=2088102181794157&key=buyerId",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Operation%20type&value=alipay&key=walletOperationType",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Transaction%20ref.&value=2018091821001004150500413216&key=walletTransactionReference",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=DCC%20amount&value=788.56%20CNY&key=walletDccAmount",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=DCC%20rate&value=7.80830000&key=walletDccRate",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Tender&value=63Go001537284399003&key=txRef",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Reference&value=19629&key=mref",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Type&value=GOODS_SERVICES&key=txtype",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=TOTAL&value=%e2%82%ac%20100.99%20%20&key=totalAmount",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "CharacterStyle":"Bold",
                        "Text":"name=APPROVED&key=approved",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Please%20retain%20for%20your%20records&key=retain",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"key=filler",
                        "EndOfLineFlag":true
                     },
                     {
                        "Text":"name=Thank%20you&key=thanks",
                        "EndOfLineFlag":true
                     }
                  ]
               }
            }
         ],
         "PaymentResult":{
            "PaymentAcquirerData":{
               "AcquirerPOIID":"M400-401442542",
               "AcquirerTransactionID":{
                  "TimeStamp":"2018-09-18T15:26:39.000Z",
                  "TransactionID":"9815372844003921"
               },
               "MerchantID":"TestMerchantPOS"
            },
            "PaymentInstrumentData":{
               "StoredValueAccountID":{
                  "IdentificationType":"BarCode",
                  "EntryMode":[
                     "Scanned"
                  ],
                  "StoredValueID":"284687593190468703",
                  "StoredValueAccountType":"Other"
               },
               "PaymentInstrumentType":"StoredValue"
            },
            "AmountsResp":{
               "AuthorizedAmount":100.99,
               "Currency":"EUR"
            },
            "PaymentType":"Normal"
         },
         "Response":{
            "Result":"Success",
            "AdditionalResponse":"tid=01442542&transactionType=GOODS_SERVICES&backendGiftcardIndicator=false&giftcardIndicator=false&pspReference=9815372844003921&paymentMethodVariant=alipay&offline=false&mid=208862187720064&note=Direct%20API%20REQUIRES%20payload%20crypto%20on%20live%2c%20cleartext%20allowed%20for%20testing%20only"
         }
      },
      "MessageHeader":{
         "ProtocolVersion":"3.0",
         "SaleID":"John",
         "MessageClass":"Service",
         "MessageCategory":"Payment",
         "ServiceID":"0918172639",
         "POIID":"M400-401442542",
         "MessageType":"Response"
      }
   }
}