Settled

This is an example of the XML code for an order notification when the order status is SETTLED.

 

Copy
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE paymentService PUBLIC "-//WorldPay//DTD WorldPay PaymentService v1//EN" "http://dtd.worldpay.com/paymentService_v1.dtd">
<paymentService version="1.4" merchantCode="MERCHANT_CODE"> <!--Will contain the merchant code used in the request-->
    <notify>
        <orderStatusEvent orderCode="ORDER_CODE"> <!--Will contain the order code used in the request-->
            <payment>
                <paymentMethod>PAYPAL-SSL</paymentMethod>
                    <amount value="5500" currencyCode="GBP" exponent="2" debitCreditIndicator="credit" />
            <lastEvent>SETTLED</lastEvent>
            <riskScore value="0" />
            </payment>
            <journal journalType="SETTLED">
                <bookingDate>
                    <date dayOfMonth="08" month="11" year="2012" />
                </bookingDate>
            <accountTx accountType="SETTLED_BIBIT_COMMISSION">
                <amount value="193" currencyCode="GBP" exponent="2" debitCreditIndicator="credit" />
            </accountTx>
            <accountTx accountType="SETTLED_BIBIT_NET" batchId="1291">
                <amount value="5307" currencyCode="GBP" exponent="2" debitCreditIndicator="credit" />
            </accountTx>
            <accountTx accountType="IN_PROCESS_CAPTURED" batchId="1910">
                <amount value="5500" currencyCode="GBP" exponent="2" debitCreditIndicator="debit" />
            </accountTx>
            </journal>
        </orderStatusEvent>
    </notify>
</paymentService>