QbXML for Updating a Received Payment

From ConsoliBYTE Wiki
Jump to: navigation, search

Example qbXML Request

 
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="8.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <ReceivePaymentModRq requestID="1234">
      <ReceivePaymentMod>
        <TxnID>ABCDE-1234</TxnID>
        <EditSequence>1234123412</EditSequence>
 
        <CustomerRef>                      
          <FullName>Keith Palmer</FullName>     
        </CustomerRef>
 
        <TxnDate>2013-01-23</TxnDate>        
        <RefNumber>1234</RefNumber>     
        <TotalAmount>55.95</TotalAmount> 
        <PaymentMethodRef>                 
          <FullName>Visa</FullName>       
        </PaymentMethodRef>
 
        <AppliedToTxnMod>
          <TxnID>DEFG-1234</TxnID>
          <PaymentAmount>10.95</PaymentAmount>
        </AppliedToTxnMod>
 
        <AppliedToTxnMod>
          <TxnID>FEFF-1234</TxnID>
          <PaymentAmount>25.95</PaymentAmount>
        </AppliedToTxnMod>
 
      </ReceivePaymentMod>
    </ReceivePaymentModRq>
  </QBXMLMsgsRq>
</QBXML>