post https://uat.api.globalpay.convera.com/geo-api/disbursalByTrReport
Provides details of settlement and disbursements from Holding account at the item level
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2014 rel. 2 (x64) (http://www.altova.com) by Meeraj Kunnumpurath (Service Symphony Ltd) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:tns="http://api.globalpay.convera.com" targetNamespace="http://api.globalpay.convera.com" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
<xs:include schemaLocation="common.xsd"/>
<xs:element name="disbursalByTrReportResponse" type="tns:DisbursalByTrReportResponseType"/>
<xs:element name="disbursalByTrReportRequest" type="tns:DisbursalByTrReportRequestType"/>
<xs:complexType name="DisbursalByTrReportRequestType">
<xs:complexContent>
<xs:extension base="tns:AbstractInputType">
<xs:sequence>
<xs:element name="startDate" type="xs:date"/>
<xs:element name="endDate" type="xs:date"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DisbursalByTrReportResponseType">
<xs:complexContent>
<xs:extension base="tns:AbstractOutputType">
<xs:sequence>
<xs:element name="disbursement" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="confirmationNumber" type="xs:string"/>
<xs:element name="disbursedDate" type="xs:date"/>
<xs:element name="item" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="orderId" type="xs:long"/>
<xs:element name="dealReference" type="xs:string"/>
<xs:element name="itemId" type="xs:long"/>
<xs:element name="associatedItemId" type="xs:long" minOccurs="0"/>
<xs:element name="expectedReceiveCurrency" type="tns:CurrencyCodeType"/>
<xs:element name="expectedReceiveAmount" type="xs:decimal"/>
<xs:element name="expectedReceiveAmountPrecision" type="xs:int"/>
<xs:element name="expectedPayoutCurrency" type="tns:CurrencyCodeType"/>
<xs:element name="expectedPayoutAmount" type="xs:decimal"/>
<xs:element name="expectedPayoutAmountPrecision" type="xs:int"/>
<xs:element name="actualReceiveCurrency" type="tns:CurrencyCodeType"/>
<xs:element name="actualReceiveAmount" type="xs:decimal"/>
<xs:element name="actualReceiveAmountPrecision" type="xs:int"/>
<xs:element name="actualPayoutCurrency" type="tns:CurrencyCodeType"/>
<xs:element name="actualPayoutAmount" type="xs:decimal"/>
<xs:element name="actualPayoutAmountPrecision" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
<disbursalByTrReportResponse xmlns="http://api.globalpay.convera.com">
<status success="true"/>
<disbursement>
<confirmationNumber>TR1234</confirmationNumber>
<disbursedDate>2023-01-01</disbursedDate>
<item>
<orderId>1234567</orderId>
<dealReference>REF123456789</dealReference>
<itemId>123456</itemId>
<expectedReceiveCurrency>USD</expectedReceiveCurrency>
<expectedReceiveAmount>157.73</expectedReceiveAmount>
<expectedReceiveAmountPrecision>2</expectedReceiveAmountPrecision>
<expectedPayoutCurrency>GBP</expectedPayoutCurrency>
<expectedPayoutAmount>100.78</expectedPayoutAmount>
<expectedPayoutAmountPrecision>2</expectedPayoutAmountPrecision>
<actualReceiveCurrency>USD</actualReceiveCurrency>
<actualReceiveAmount>99.78</actualReceiveAmount>
<actualReceiveAmountPrecision>2</actualReceiveAmountPrecision>
<actualPayoutCurrency>GBP</actualPayoutCurrency>
<actualPayoutAmount>64.03</actualPayoutAmount>
<actualPayoutAmountPrecision>2</actualPayoutAmountPrecision>
</item>
</disbursement>
</disbursalByTrReportResponse>