GET api/Payhistory?CustomerID={CustomerID}&APIToken={APIToken}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | string |
Required |
|
| APIToken | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PaymentHistoryJson| Name | Description | Type | Additional information |
|---|---|---|---|
| error | boolean |
None. |
|
| errorMessage | string |
None. |
|
| Transactions | Collection of PaymentHistory |
None. |
Response Formats
application/json, text/json
Sample:
{
"error": true,
"errorMessage": "sample string 2",
"Transactions": [
{
"Date": "2026-08-28T14:36:17.9007884+00:00",
"Description": "sample string 2",
"Invoices": "sample string 3",
"Amount": 4.0,
"Tax": 5.0,
"TotalPay": 6.0
},
{
"Date": "2026-08-28T14:36:17.9007884+00:00",
"Description": "sample string 2",
"Invoices": "sample string 3",
"Amount": 4.0,
"Tax": 5.0,
"TotalPay": 6.0
}
]
}
application/xml, text/xml
Sample:
<PaymentHistoryJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DrinkMoreWaterService.Models">
<Transactions>
<PaymentHistory>
<Amount>4</Amount>
<Date>2026-08-28T14:36:17.9007884+00:00</Date>
<Description>sample string 2</Description>
<Invoices>sample string 3</Invoices>
<Tax>5</Tax>
<TotalPay>6</TotalPay>
</PaymentHistory>
<PaymentHistory>
<Amount>4</Amount>
<Date>2026-08-28T14:36:17.9007884+00:00</Date>
<Description>sample string 2</Description>
<Invoices>sample string 3</Invoices>
<Tax>5</Tax>
<TotalPay>6</TotalPay>
</PaymentHistory>
</Transactions>
<error>true</error>
<errorMessage>sample string 2</errorMessage>
</PaymentHistoryJson>