Get Started

Canonical XML Message Schema

The response is transformed to an XML canonical message, which can be converted to a Java object for further logging and auditing.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
           xmlns:tns="http://bp.globalpay.wu.com/realtime"
           targetNamespace="http://bp.globalpay.wu.com/realtime"
           elementFormDefault="qualified"
           attributeFormDefault="unqualified"
           vc:minVersion="1.1">
		   
     <xs:element name="realTimeCallbackResponse" type="tns:RealTimeCallbackResponse"/>
	 
     <xs:complexType name="RealTimeCallbackResponse">
         <xs:sequence>
             <xs:element name="success" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
             <xs:element name="errorCode" type="xs:string" minOccurs="0" maxOccurs="1"/>
             <xs:element name="retry" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
             <xs:element name="narrative" type="xs:string" minOccurs="0" maxOccurs="1"/>
         </xs:sequence>
    </xs:complexType>
 </xs:schema>