CreditandDebitReports
- Method
- Example Request
- Example Response
CreditandDebitReports(CreditandDebitReportsRequest)
This operation will generate a list of all credit and debit batches created for a single location, multiple locations or all locations of a customer within the date range specified. Data will be retrieved as a data set.
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| CreditandDebitReportsRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| CreditandDebitReportsResponse |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pv="https://ssl.selectpayment.com/PV">
<soapenv:Header/>
<soapenv:Body>
<pv:CreditandDebitReports>
<pv:storeId>123456</pv:storeId>
<pv:storeKey>3z9em9oxqwX3acsaqc6H0ck8D3Yj </pv:storeKey>
<pv:entityId>12345</pv:entityId>
<pv:locationIds>
<pv:int>102030</pv:int>
<pv:int>102031</pv:int>
<pv:int>102032</pv:int>
</pv:locationIds>
<pv:beginDate>2011-02-01</pv:beginDate>
<pv:endDate>2011-02-15</pv:endDate>
</pv:CreditandDebitReports>
</soapenv:Body>
</soapenv:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CreditandDebitReportsResponse xmlns="https://ssl.selectpayment.com/PV">
<CreditandDebitReportsResult>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Table">
<xs:complexType>
<xs:sequence>
<xs:element name="BatchStatus" type="xs:string" minOccurs="0"/>
<xs:element name="EffectiveDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="BatchID" type="xs:long" minOccurs="0"/>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="Amount" type="xs:decimal" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemasmicrosoft-com:xml-diffgram-v1">
<NewDataSet xmlns="">
<Table diffgr:id="Table1" msdata:rowOrder="0">
<BatchStatus>Processed</BatchStatus>
<EffectiveDate>2011-02-01T00:00:00.0000000-06:00</EffectiveDate>
<BatchID>10043</BatchID>
<Description>Settlement</Description>
<Amount>1070.6700</Amount>
</Table>
<Table diffgr:id="Table2" msdata:rowOrder="1">
<BatchStatus>Processed</BatchStatus>
<EffectiveDate>2011-02-02T00:00:00.0000000-06:00</EffectiveDate>
<BatchID>10043</BatchID>
<Description>Settlement</Description>
<Amount>296.9700</Amount>
</Table>
<Table diffgr:id="Table3" msdata:rowOrder="2">
<BatchStatus>Processed</BatchStatus>
<EffectiveDate>2011-02-08T00:00:00.0000000-06:00</EffectiveDate>
<BatchID>10506</BatchID>
<Description>Settlement</Description>
<Amount>239.5000</Amount>
</Table>
<Table diffgr:id="Table4" msdata:rowOrder="3">
<BatchStatus>Processed</BatchStatus>
<EffectiveDate>2011-02-08T00:00:00.0000000-06:00</EffectiveDate>
<BatchID>130612</BatchID>
<Description>Remote Deposit</Description>
<Amount>767.4000</Amount>
</Table>
</NewDataSet>
</diffgr:diffgram>
</CreditandDebitReportsResult>
</CreditandDebitReportsResponse>
</soap:Body>
</soap:Envelope>