Refund Failed
This is an example of the XML code for an order notification when the order status is REFUND_FAILED.
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="YOUR_MERCHANT_CODE">
<notify>
<orderStatusEvent orderCode="YOUR_ORDER_CODE">
<payment>
<paymentMethod>PAYPAL-SSL</paymentMethod>
<amount value="100" currencyCode="GBP" exponent="2" debitCreditIndicator="credit"/>
<lastEvent>REFUND_FAILED</lastEvent>
<balance accountType="IN_PROCESS_CAPTURED">
<amount value="100" currencyCode="GBP" exponent="2" debitCreditIndicator="credit"/>
</balance>
</payment>
<journal journalType="REFUND_FAILED">
<bookingDate>
<date dayOfMonth="13" month="02" year="2020"/>
</bookingDate>
<accountTx accountType="IN_PROCESS_CAPTURED" batchId="779">
<amount value="100" currencyCode="GBP" exponent="2" debitCreditIndicator="credit"/>
</accountTx>
</journal>
</orderStatusEvent>
</notify>
</paymentService>