There is a possibility to forward information to the host by using the SaleToAquirerData
of PaymentRequest
- SaleData
. The data must be a JSON object that is Base64 encoded.
Eg. PurchaseRequest with purchase order in SaleToAquirerData
1
2
3
4
5
6
7
8
9
10
11
12
<SaleToPOIRequest>
<MessageHeader ProtocolVersion="3.1" MessageClass="Service" MessageCategory="Payment" MessageType="Request" ServiceID="5" SaleID="1" POIID="A-POIID"/>
<PaymentRequest>
<SaleData TokenRequestedType="Customer">
<SaleTransactionID TransactionID="202402060950219170" TimeStamp="2024-02-06T09:50:21+01:00"/>
<SaleToAcquirerData>ewogICAgInB1cmNoYXNlT3JkZXJOdW1iZXIiOiAiMTIzNDU2Nzg5Igp9</SaleToAcquirerData>
</SaleData>
<PaymentTransaction>
<AmountsReq RequestedAmount="60" CashBackAmount="0" Currency="SEK"/>
</PaymentTransaction>
</PaymentRequest>
</SaleToPOIRequest>
Eg. SaleToAquirerData Base64 decoded JSON
1
2
3
<SaleToAcquirerData>{
"purchaseOrderNumber": "123456789"
}</SaleToAcquirerData>