Sale

Sale

The Sale method charges a credit or debit card.

Arguments

Name Type Description
Credentials MerchantCredentials A MerchantCredentials object used to authenticate against Merchantware.
PaymentData PaymentData A PaymentData object containing the payment 
Request SaleRequest A SaleRequest object containing the transactional data used to perform a sale.

Response

A TransactionResponse45 object is returned.

Allowed Payment Data Sources

Reader, Keyed, Vault, Wallet

Example Keyed SOAP Request

Sample Request Packet (raw)
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Body>
      <Sale xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <Credentials>
            <MerchantName>Zero Inc</MerchantName>
            <MerchantSiteId>00000000</MerchantSiteId>
            <MerchantKey>00000-00000-00000-00000-00000</MerchantKey>
         </Credentials>
         <PaymentData>
            <Source>Keyed</Source>
            
            <!--Keyed Fields-->
            <CardNumber>4012000033330026</CardNumber>
            <ExpirationDate>1218</ExpirationDate>
            <CardHolder>John Doe</CardHolder>
            <AvsStreetAddress>1 Federal Street</AvsStreetAddress>
            <AvsZipCode>02110</AvsZipCode>
            <CardVerificationValue>123</CardVerificationValue>
          </PaymentData>
         <Request>
            <Amount>1.05</Amount>
            <CashbackAmount>0.00</CashbackAmount>
            <SurchargeAmount>0.00</SurchargeAmount>
            <TaxAmount>0.00</TaxAmount>
            <InvoiceNumber>1556</InvoiceNumber>
            <PurchaseOrderNumber>17801</PurchaseOrderNumber>
            <CustomerCode>20</CustomerCode>
            <RegisterNumber>35</RegisterNumber>
            <MerchantTransactionId>166901</MerchantTransactionId>
            <CardAcceptorTerminalId>3</CardAcceptorTerminalId>
            <EnablePartialAuthorization>False</EnablePartialAuthorization>
            <ForceDuplicate>False</ForceDuplicate>
         </Request>
      </Sale>
   </soap:Body>
</soap:Envelope>

Sample Return Packet
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SaleResponse xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <SaleResult>
            <ApprovalStatus>APPROVED</ApprovalStatus>
            <Token>608957</Token>
            <AuthorizationCode>OK775C</AuthorizationCode>
            <TransactionDate>3/14/2016 7:57:22 PM</TransactionDate>
            <Amount>1.05</Amount>
            <RemainingCardBalance/>
            <CardNumber>************0026</CardNumber>
            <Cardholder>John Doe</Cardholder>
            <CardType>4</CardType>
            <FsaCard/>
            <ReaderEntryMode>1</ReaderEntryMode>
            <AvsResponse>Y</AvsResponse>
            <CvResponse/>
            <ErrorMessage/>
            <ExtraData/>
            <Rfmiq>10000ABCDE</Rfmiq>
         </SaleResult>
      </SaleResponse>
   </soap:Body>
</soap:Envelope>

Example Encrypted Keyed SOAP Request

Sample Request Packet (raw)
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Body>
      <Sale xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <Credentials>
            <MerchantName>Zero Inc</MerchantName>
            <MerchantSiteId>00000000</MerchantSiteId>
            <MerchantKey>00000-00000-00000-00000-00000</MerchantKey>
         </Credentials>
         <PaymentData>
            <Source>Keyed</Source>
            
            <!--Keyed Fields-->
            <CardNumber>4012000033330026</CardNumber>
            <ExpirationDate>1218</ExpirationDate>
            <CardHolder>John Doe</CardHolder>
            <AvsStreetAddress>1 Federal Street</AvsStreetAddress>
            <AvsZipCode>02110</AvsZipCode>
            <CardVerificationValue>123</CardVerificationValue>
            <EncryptedKeyedData>02B600C037001C101692;4012********0026=1812:***?*126=09876543210=FDB4CAC2FAF2483D4A68A4195273CFEAB03EDFC6819AD552631AAC0E9A47C4A63B14D241942C38F2A07CAFF696AE6387211133EC62994900580004600216713B03</EncryptedKeyedData>
         </PaymentData>
         <Request>
            <Amount>1.05</Amount>
            <CashbackAmount>0.00</CashbackAmount>
            <SurchargeAmount>0.00</SurchargeAmount>
            <TaxAmount>0.00</TaxAmount>
            <InvoiceNumber>1556</InvoiceNumber>
            <PurchaseOrderNumber>17801</PurchaseOrderNumber>
            <CustomerCode>20</CustomerCode>
            <RegisterNumber>35</RegisterNumber>
            <MerchantTransactionId>166901</MerchantTransactionId>
            <CardAcceptorTerminalId>3</CardAcceptorTerminalId>
            <EnablePartialAuthorization>False</EnablePartialAuthorization>
            <ForceDuplicate>False</ForceDuplicate>
         </Request>
      </Sale>
   </soap:Body>
</soap:Envelope>

Sample Return Packet
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SaleResponse xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <SaleResult>
            <ApprovalStatus>APPROVED</ApprovalStatus>
            <Token>608957</Token>
            <AuthorizationCode>OK775C</AuthorizationCode>
            <TransactionDate>3/14/2016 7:57:22 PM</TransactionDate>
            <Amount>1.05</Amount>
            <RemainingCardBalance/>
            <CardNumber>************0026</CardNumber>
            <Cardholder>John Doe</Cardholder>
            <CardType>4</CardType>
            <FsaCard/>
            <ReaderEntryMode>1</ReaderEntryMode>
            <AvsResponse>Y</AvsResponse>
            <CvResponse/>
            <ErrorMessage/>
            <ExtraData/>
            <Rfmiq>10000ABCDE</Rfmiq>
         </SaleResult>
      </SaleResponse>
   </soap:Body>
</soap:Envelope>

Example Swiped Reader SOAP Request

Sample Request Packet (raw)
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Body>
      <Sale xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <Credentials>
            <MerchantName>Zero Inc</MerchantName>
            <MerchantSiteId>00000000</MerchantSiteId>
            <MerchantKey>00000-00000-00000-00000-00000</MerchantKey>
         </Credentials>
         <PaymentData>
            <Source>READER</Source>
            
            <!--Reader Fields-->
            <TrackData>%B4012000033330026^TEST CARD/GENIUS^181210054321000000000000000 150 A?;4012000033330026=18121011000012345678?</TrackData>
         </PaymentData>
         <Request>
            <Amount>1.29</Amount>
            <CashbackAmount>0.00</CashbackAmount>
            <SurchargeAmount>0.00</SurchargeAmount>
            <TaxAmount>0.00</TaxAmount>
            <InvoiceNumber>1906</InvoiceNumber>
            <PurchaseOrderNumber>12401</PurchaseOrderNumber>
            <CustomerCode>20</CustomerCode>
            <RegisterNumber>35</RegisterNumber>
            <MerchantTransactionId>138401</MerchantTransactionId>
            <CardAcceptorTerminalId>3</CardAcceptorTerminalId>
            <EnablePartialAuthorization>False</EnablePartialAuthorization>
            <ForceDuplicate>False</ForceDuplicate>
         </Request>
      </Sale>
   </soap:Body>
</soap:Envelope>

Sample Return Packet
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SaleResponse xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <SaleResult>
            <ApprovalStatus>APPROVED</ApprovalStatus>
            <Token>608970</Token>
            <AuthorizationCode>OK820C</AuthorizationCode>
            <TransactionDate>3/14/2016 8:22:23 PM</TransactionDate>
            <Amount>1.29</Amount>
            <RemainingCardBalance/>
            <CardNumber>************0026</CardNumber>
            <Cardholder>TEST CARD/GENIUS</Cardholder>
            <CardType>4</CardType>
            <FsaCard/>
            <ReaderEntryMode>2</ReaderEntryMode>
            <AvsResponse/>
            <CvResponse/>
            <ErrorMessage/>
            <ExtraData/>
            <Rfmiq>10000ABCDE</Rfmiq>
         </SaleResult>
      </SaleResponse>
   </soap:Body>
</soap:Envelope>

Example Vault SOAP Request

Sample Request Packet (raw)
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Body>
      <Sale xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <Credentials>
            <MerchantName>Zero Inc</MerchantName>
            <MerchantSiteId>00000000</MerchantSiteId>
            <MerchantKey>00000-00000-00000-00000-00000</MerchantKey>
         </Credentials>
         <PaymentData>
            <Source>Vault</Source>
            <CardVerificationValue>123</CardVerificationValue>
            <!--Vault Fields-->
            <VaultToken>1000000000002AVGMM7Z</VaultToken>
         </PaymentData>
         <Request>
            <Amount>1.83</Amount>
            <CashbackAmount>0.00</CashbackAmount>
            <SurchargeAmount>0.00</SurchargeAmount>
            <TaxAmount>0.00</TaxAmount>
            <InvoiceNumber>1559</InvoiceNumber>
            <PurchaseOrderNumber>17809</PurchaseOrderNumber>
            <CustomerCode>23</CustomerCode>
            <RegisterNumber>35</RegisterNumber>
            <MerchantTransactionId>166909</MerchantTransactionId>
            <CardAcceptorTerminalId>3</CardAcceptorTerminalId>
            <EnablePartialAuthorization>False</EnablePartialAuthorization>
            <ForceDuplicate>False</ForceDuplicate>
         </Request>
      </Sale>
   </soap:Body>
</soap:Envelope>
Sample Return Packet
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SaleResponse xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <SaleResult>
            <ApprovalStatus>APPROVED</ApprovalStatus>
            <Token>608969</Token>
            <AuthorizationCode>OK818C</AuthorizationCode>
            <TransactionDate>3/14/2016 8:22:13 PM</TransactionDate>
            <Amount>1.83</Amount>
            <CardNumber>************0026</CardNumber>
            <Cardholder>John Doe</Cardholder>
            <CardType>4</CardType>
            <FsaCard/>
            <ReaderEntryMode>1</ReaderEntryMode>
            <AvsResponse>Y</AvsResponse>
            <CvResponse/>
            <ErrorMessage/>
            <ExtraData/>
            <Rfmiq>10000ABCDE</Rfmiq>
         </SaleResult>
      </SaleResponse>
   </soap:Body>
</soap:Envelope>


Example Healthcare SOAP Request

Sample Request Packet (raw)
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Body>
      <Sale xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <Credentials>
            <MerchantName>Zero Inc</MerchantName>
            <MerchantSiteId>00000000</MerchantSiteId>
            <MerchantKey>00000-00000-00000-00000-00000</MerchantKey>
         </Credentials>
         <PaymentData>
            <Source>Keyed</Source>
            
            <!--Keyed Fields-->
            <CardNumber>4012000033330026</CardNumber>
            <ExpirationDate>0416</ExpirationDate>
            <CardHolder>John Doe</CardHolder>
         </PaymentData>
         <Request>
            <Amount>202.00</Amount>
            <HealthCareAmountDetails>
               <CopayAmount>60.00</CopayAmount>
               <ClinicalAmount>0.00</ClinicalAmount>
               <DentalAmount>0.00</DentalAmount>
               <HealthCareTotalAmount>80.00</HealthCareTotalAmount>
               <PrescriptionAmount>0.00</PrescriptionAmount>
               <VisionAmount>0.00</VisionAmount>
            </HealthCareAmountDetails>
            <InvoiceNumber>1556</InvoiceNumber>
            <PurchaseOrderNumber>17801</PurchaseOrderNumber>
            <CustomerCode>20</CustomerCode>
            <RegisterNumber>35</RegisterNumber>
            <MerchantTransactionId>166901</MerchantTransactionId>
            <CardAcceptorTerminalId>3</CardAcceptorTerminalId>
            <EnablePartialAuthorization>True</EnablePartialAuthorization>
            <ForceDuplicate>False</ForceDuplicate>
         </Request>
      </Sale>
   </soap:Body>
</soap:Envelope>
Sample Return Packet
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SaleResponse xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <SaleResult>
            <ApprovalStatus>APPROVED</ApprovalStatus>
            <Token>609015</Token>
            <AuthorizationCode>OK775C</AuthorizationCode>
            <TransactionDate>3/14/2016 7:57:22 PM</TransactionDate>
            <Amount>1.05</Amount>
            <RemainingCardBalance/>
            <CardNumber>************0026</CardNumber>
            <Cardholder>John Doe</Cardholder>
            <CardType>4</CardType>
            <FsaCard/>
            <ReaderEntryMode>1</ReaderEntryMode>
            <AvsResponse>Y</AvsResponse>
            <CvResponse/>
            <ErrorMessage/>
            <ExtraData/>
            <Rfmiq>10000ABCDE</Rfmiq>
         </SaleResult>
      </SaleResponse>
   </soap:Body>
</soap:Envelope>


Example Wallet SOAP Request

Note: Amount is not included in the SaleRequest object for Apple Pay.  It is part of the EncryptedPaymentData.
Sample Encrypted Request Packet (raw)
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
   <soap:Header/>
   <soap:Body>
      <Sale>
         <Credentials>
            <MerchantName>TEST</MerchantName>
            <MerchantSiteId>111111111</MerchantSiteId>
            <MerchantKey>11111-11111-11111-11111-11111</MerchantKey>
         </Credentials>
         <PaymentData>
            <Source>Wallet</Source>
            <WalletId>ApplePay</WalletId>
            <EncryptedPaymentData>ew0KCSJ2ZXJzaW9uIjogIkVDX3YxIiwNCgkiZ==</EncryptedPaymentData> // BASE-64, UTF-8 encoded value of the ApplePay PaymentToken object
            <AvsStreetAddress>1 Federal Street</AvsStreetAddress>
            <AvsZipCode>02111</AvsZipCode>
        </PaymentData>
        <Request>
            <CashbackAmount>1.00</CashbackAmount>
            <SurchargeAmount>1.25</SurchargeAmount>
            <TaxAmount>1</TaxAmount>
            <HealthCareAmountDetails>
               <CopayAmount>1.00</CopayAmount>
               <ClinicalAmount>1.00</ClinicalAmount>
               <DentalAmount>1.00</DentalAmount>
               <HealthCareTotalAmount>5.00</HealthCareTotalAmount>
               <PrescriptionAmount>1.00</PrescriptionAmount>
               <VisionAmount>1.00</VisionAmount>
            </HealthCareAmountDetails>
            <InvoiceNumber>INV123</InvoiceNumber>
            <PurchaseOrderNumber>PO123</PurchaseOrderNumber>
            <CustomerCode>CUST123</CustomerCode>
            <RegisterNumber>1</RegisterNumber>
            <MerchantTransactionId>TX123</MerchantTransactionId>
            <CardAcceptorTerminalId>42</CardAcceptorTerminalId>
            <EnablePartialAuthorization>true</EnablePartialAuthorization>
            <ForceDuplicate>true</ForceDuplicate>
         </Request>
      </Sale>
   </soap:Body>
</soap:Envelope>
Sample Decrypted Request Packet (raw)
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
   <soap:Header/>
   <soap:Body>
      <Sale >
         <Credentials>
            <MerchantName>TEFTestProcExtRetail</MerchantName>
            <MerchantSiteId>P5HGEXGJ</MerchantSiteId>
            <MerchantKey>V0JVV-AO0LT-U8AIB-14URM-10QE7</MerchantKey>
         </Credentials>
         <PaymentData>
            <Source>Wallet</Source>
            <WalletId>ApplePay</WalletId>
            <CardNumber>4761209400011910</CardNumber>             // THE DEVICE PAN
            <ExpirationDate>1125</ExpirationDate>                              // THE DEVICE PAN EXPIRATION DATE
            <CardHolder>John Doe</CardHolder>
            <PaymentCryptogram>9AwEHBG0wawIBAQQgCPSuFr4iSIaQprj</PaymentCryptogram>
            <PaymentCryptogramType>3DS</PaymentCryptogramType>
            <EciIndicator>07</EciIndicator>                               // PASS ONLY IF AVAILABLE
            <AvsStreetAddress>1 Federal Street</AvsStreetAddress>
            <AvsZipCode>02111</AvsZipCode>
         </PaymentData>
         <Request>
            <Amount>1.00</Amount>
            <CashbackAmount>1.00</CashbackAmount>
            <SurchargeAmount>1.25</SurchargeAmount>
            <TaxAmount>1</TaxAmount>
            <HealthCareAmountDetails>
               <CopayAmount>1.00</CopayAmount>
               <ClinicalAmount>1.00</ClinicalAmount>
               <DentalAmount>1.00</DentalAmount>
               <HealthCareTotalAmount>5.00</HealthCareTotalAmount>
               <PrescriptionAmount>1.00</PrescriptionAmount>
               <VisionAmount>1.00</VisionAmount>
            </HealthCareAmountDetails>
            <InvoiceNumber>INV123</InvoiceNumber>
            <PurchaseOrderNumber>PO123</PurchaseOrderNumber>
            <CustomerCode>CUST123</CustomerCode>
            <RegisterNumber>1</RegisterNumber>
            <MerchantTransactionId>TX123</MerchantTransactionId>
            <CardAcceptorTerminalId>42</CardAcceptorTerminalId>
            <EnablePartialAuthorization>true</EnablePartialAuthorization>
            <ForceDuplicate>true</ForceDuplicate>
         </Request>
      </Sale>
   </soap:Body>
</soap:Envelope> 
Sample Return Packet 
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SaleResponse xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <SaleResult>
            <ApprovalStatus>APPROVED</ApprovalStatus>
            <Token>600003478</Token>
            <AuthorizationCode>OK9999</AuthorizationCode>
            <TransactionDate>10/9/2017 6:34:49 PM</TransactionDate>
            <Amount>1.00</Amount>
            <RemainingCardBalance/>
            <CardNumber>************1910</CardNumber>
            <Cardholder/>
            <CardType>4</CardType>
            <FsaCard>False</FsaCard>
            <ReaderEntryMode>7</ReaderEntryMode>
            <AvsResponse>Y</AvsResponse>
            <CvResponse/>
            <ErrorMessage/>
            <ExtraData/>
            <DebitTraceNumber/>
         </SaleResult>
      </SaleResponse>
   </soap:Body>
</soap:Envelope>

Example Level 3 transaction SOAP Request

Sample Request Packet (raw)
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Body>
      <Sale xmlns="http://schemas.merchantwarehouse.com/merchantware/v45/">
         <Credentials>
            <MerchantName>Zero Inc</MerchantName>
            <MerchantSiteId>00000000</MerchantSiteId>
            <MerchantKey>00000-00000-00000-00000-00000</MerchantKey>
         </Credentials>
         <PaymentData>
            <Source>Keyed</Source>
            <CardNumber>4012000033330026</CardNumber>
            <ExpirationDate>1220</ExpirationDate>
            <CardHolder>John Doe</CardHolder>
            <AvsStreetAddress>1 Federal Street</AvsStreetAddress>
            <AvsZipCode>02110</AvsZipCode>
            <CardVerificationValue>123</CardVerificationValue>
         </PaymentData>
         <Request>
            <Amount>1.05</Amount>
            <TaxAmount>0.00</TaxAmount>
            <InvoiceNumber>1556</InvoiceNumber>
            <PurchaseOrderNumber>17801</PurchaseOrderNumber>
            <CustomerCode>20</CustomerCode>
            <RegisterNumber>35</RegisterNumber>
            <MerchantTransactionId>166901</MerchantTransactionId>
            <CardAcceptorTerminalId>3</CardAcceptorTerminalId>
            <EnablePartialAuthorization>true</EnablePartialAuthorization>
            <ForceDuplicate>true</ForceDuplicate>
            <Invoice>
               <TaxIndicator>Provided</TaxIndicator>
               <ProductDescription>Misc Goods</ProductDescription>
               <DiscountAmount>1.01</DiscountAmount>
               <ShippingAmount>1.02</ShippingAmount>
               <DutyAmount>1.03</DutyAmount>
               <DestinationPostalCode>06033</DestinationPostalCode>
               <DestinationCountryCode>840</DestinationCountryCode>
               <ShipFromPostalCode>01887</ShipFromPostalCode>
               <LineItems>
                  <LineItem>
                     <CommodityCode>030</CommodityCode>
                     <Description>Misc Good</Description>
                     <Upc>012345678901</Upc>
                     <Quantity>5.1</Quantity>
                     <UnitOfMeasure>lbs</UnitOfMeasure>
                     <UnitCost>0.60</UnitCost>
                     <DiscountAmount>0.61</DiscountAmount>
                     <TotalAmount>0.62</TotalAmount>
                     <TaxAmount>0.63</TaxAmount>
                     <ExtendedAmount>0.64</ExtendedAmount>
                     <DebitOrCreditIndicator>Credit</DebitOrCreditIndicator>
                     <NetOrGrossIndicator>Gross</NetOrGrossIndicator>
                  </LineItem>
                  <LineItem>
                     <CommodityCode>031</CommodityCode>
                     <Description>Misc Good 2</Description>
                     <Upc>012345678901</Upc>
                     <Quantity>5.1</Quantity>
                     <UnitOfMeasure>lbs</UnitOfMeasure>
                     <UnitCost>0.60</UnitCost>
                     <DiscountAmount>0.61</DiscountAmount>
                     <TotalAmount>0.62</TotalAmount>
                     <TaxAmount>0.63</TaxAmount>
                     <ExtendedAmount>0.64</ExtendedAmount>
                     <DebitOrCreditIndicator>Credit</DebitOrCreditIndicator>
                     <NetOrGrossIndicator>Gross</NetOrGrossIndicator>
                  </LineItem>
               </LineItems>
            </Invoice>
         </Request>
      </Sale>
   </soap:Body>
</soap:Envelope>

Sample Return Packet
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
   <SaleResponse>
      <SaleResult>
         <ApprovalStatus>APPROVED</ApprovalStatus>
         <Token>123456789</Token>
         <AuthorizationCode>OK9999</AuthorizationCode>
         <TransactionDate>3/14/2018 7:57:22 PM</TransactionDate>
         <Amount>1.05</Amount>
         <RemainingCardBalance/>
         <CardNumber>************0026</CardNumber>
         <Cardholder>John Doe</Cardholder>
         <CardType>4</CardType>
         <FsaCard>False</FsaCard>
         <ReaderEntryMode>1</ReaderEntryMode>
         <AvsResponse>Y</AvsResponse>
         <CvResponse>Y</CvResponse>
         <ErrorMessage/>
         <ExtraData/>
         <Rfmiq>10000ABCDE</Rfmiq>
         <DebitTraceNumber/>
         <Invoice>
            <TaxIndicator>Provided</TaxIndicator>
            <ProductDescription>Misc Goods</ProductDescription>
            <DiscountAmount>1.01</DiscountAmount>
            <ShippingAmount>1.02</ShippingAmount>
            <DutyAmount>1.03</DutyAmount>
            <DestinationPostalCode>06033</DestinationPostalCode>
            <DestinationCountryCode>840</DestinationCountryCode>
            <ShipFromPostalCode>01887</ShipFromPostalCode>
            <LineItems>
               <LineItem>
                  <CommodityCode>030</CommodityCode>
                  <Description>Misc Good</Description>
                  <Upc>012345678901</Upc>
                  <Quantity>5.1</Quantity>
                  <UnitOfMeasure>lbs</UnitOfMeasure>
                  <UnitCost>0.60</UnitCost>
                  <DiscountAmount>0.61</DiscountAmount>
                  <TotalAmount>0.62</TotalAmount>
                  <TaxAmount>0.63</TaxAmount>
                  <ExtendedAmount>0.64</ExtendedAmount>
                  <DebitOrCreditIndicator>Credit</DebitOrCreditIndicator>
                  <NetOrGrossIndicator>Gross</NetOrGrossIndicator>
               </LineItem>
               <LineItem>
                  <CommodityCode>031</CommodityCode>
                  <Description>Misc Good 2</Description>
                  <Upc>012345678901</Upc>
                  <Quantity>5.1</Quantity>
                  <UnitOfMeasure>lbs</UnitOfMeasure>
                  <UnitCost>0.60</UnitCost>
                  <DiscountAmount>0.61</DiscountAmount>
                  <TotalAmount>0.62</TotalAmount>
                  <TaxAmount>0.63</TaxAmount>
                  <ExtendedAmount>0.64</ExtendedAmount>
                  <DebitOrCreditIndicator>Credit</DebitOrCreditIndicator>
                  <NetOrGrossIndicator>Gross</NetOrGrossIndicator>
               </LineItem>
            </LineItems>
         </Invoice>
      </SaleResult>
    </SaleResponse>
  </soap:Body>
</soap:Envelope>