Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <SaleToPOIRequest> <MessageHeader MessageClass="Service" MessageCategory="Payment" MessageType="Request" ServiceID="400" SaleID="SaleID20022" POIID="DEMO0001"/> <PaymentRequest> <SaleData SaleReferenceID="ABCD1234"> <SaleTransactionID TransactionID="4" TimeStamp="2020-05-21T14:48:05+05:00" /> </SaleData> <PaymentTransaction> <AmountsReq Currency="USD" RequestedAmount="80.00" /> </PaymentTransaction> <PaymentData PaymentType="OneTimeReservation" /> </PaymentRequest> </SaleToPOIRequest> |
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0"?> <SaleToPOIResponse> <MessageHeader MessageClass="Service" MessageCategory="Payment" MessageType="RequestResponse" ServiceID="400" SaleID="SaleID20022" POIID="DEMO0001"/> <PaymentResponse> <Response Result="Success"/> <SaleData> <SaleTransactionID TransactionID="4" TimeStamp="2020-05-21T14:48:05+05:00" /> </SaleData> <POIData> <POITransactionID TransactionID="123456" TimeStamp="2020-05-21T14:48:06+05:00"/> </POIData> <PaymentResult> <AmountsResp Currency="USD" AuthorizedAmount="80.00"> <PaymentAcquirerData AcquirerID="497867" MerchantID="mer77-130209" AcquirerPOIID="456"> <ApprovalCode>032983</ApprovalCode> </PaymentAcquirerData> </PaymentResult> </PaymentResponse> </SaleToPOIResponse> |
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <SaleToPOIRequest> <MessageHeader MessageClass="Service" MessageCategory="Payment" MessageType="Request" ServiceID="401" SaleID="SaleID20022" POIID="DEMO0001" /> <PaymentRequest> <SaleData SaleReferenceID="ABCD1234"> <SaleTransactionID TransactionID="5" TimeStamp="2020-05-21T14:52:05+05:00" /> </SaleData> <PaymentTransaction> <AmountsReq Currency="USD" RequestedAmount="64.99" /> <OriginalPOITransaction SaleID="SaleID20022" POIID="DEMO0001"> <POITransactionID TransactionID="123456" TimeStamp="2020-05-21T14:48:06+05:00"/> </OriginalPOITransaction> <PaymentTransaction> </OriginalPOITransaction> <AmountsReq Currency="USD" RequestedAmount="64.99" /> <SaleItem ItemID="1" ProductCode="101" ItemAmount="5.00"> <UnitPrice>5.00</UnitPrice> <Quantity>1.0</Quantity> <UnitOfMeasure>USGallon</UnitOfMeasure> <ProductLabel>Diesel</ProductLabel> </SaleItem> </PaymentTransaction> <PaymentData PaymentType="Completion" /> </PaymentRequest> </SaleToPOIRequest> |
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0"?> <SaleToPOIResponse> <MessageHeader MessageClass="Service" MessageCategory="Payment" MessageType="RequestResponse" ServiceID="401" SaleID="SaleID20022" POIID="DEMO0001"/> <PaymentResponse> <Response Result="Success"/> <SaleData> <SaleTransactionID TransactionID="5" TimeStamp="2020-05-21T14:52:05+05:00" /> </SaleData> <POIData> <POITransactionID TransactionID="123457" TimeStamp="2020-05-21T14:48:06+05:00"/> </POIData> <PaymentResult> <AmountsResp Currency="USD" AuthorizedAmount="64.99"> </PaymentResult> </PaymentResponse> </SaleToPOIResponse> |