Captured

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

 

Copy
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE paymentService PUBLIC "-//WorldPay//DTD WorldPay PaymentService v1//EN""http://dtd.wp.fte92.test.worldpay.com/dtd/paymentService_v1.dtd">
<paymentService version="1.4" merchantCode="MERCHANT_CODE">
    <notify>
        <orderStatusEvent orderCode="jsxml3561886451">
            <payment>
                <paymentMethod>PAYPAL-SSL</paymentMethod>
                    <amount value="101" currencyCode="EUR" exponent="2" debitCreditIndicator="credit"/>
                <lastEvent>CAPTURED</lastEvent>
                <balance accountType="IN_PROCESS_CAPTURED">
                    <amount value="100" currencyCode="EUR" exponent="2" debitCreditIndicator="credit"/>
                </balance>
            </payment>
            <journal journalType="CAPTURED">
                <bookingDate>
                    <date dayOfMonth="10" month="08" year="2022"/>
                </bookingDate>
            <accountTx accountType="IN_PROCESS_CAPTURED" batchId="119">
                <amount value="101" currencyCode="EUR" exponent="2" debitCreditIndicator="credit"/>
            </accountTx>
            <accountTx accountType="IN_PROCESS_CAPTURED" batchId="134">
                <amount value="100" currencyCode="EUR" exponent="2" debitCreditIndicator="debit"/>
            </accountTx>
            </journal>
        </orderStatusEvent>
    </notify>
</paymentService>