Sent for refund

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

 

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="NSPAYPALDISPUTE1">
    <notify>
        <orderStatusEvent orderCode="jsxml3561886451">
            <payment>
                <paymentMethod>PAYPAL-SSL</paymentMethod>
                <amount value="101" currencyCode="EUR" exponent="2" debitCreditIndicator="credit"/>
                <lastEvent>SENT_FOR_REFUND</lastEvent>
                <balance accountType="IN_PROCESS_CAPTURED">
                    <amount value="100" currencyCode="EUR" exponent="2" debitCreditIndicator="credit"/>
                </balance>
            </payment>
            <journal journalType="SENT_FOR_REFUND" description="000.100.110 Request successfully processed in 'Merchant in Integrator Test Mode' ">
                <bookingDate>
                    <date dayOfMonth="10" month="08" year="2022"/>
                </bookingDate>
                <accountTx accountType="IN_PROCESS_CAPTURED" batchId="8">
                    <amount value="100" currencyCode="EUR" exponent="2" debitCreditIndicator="debit"/>
                </accountTx>
            </journal>
        </orderStatusEvent>
    </notify>
</paymentService>