GET v1/Payment/History?PolicyNumber={PolicyNumber}&ItemNumber={ItemNumber}&AccountingDate={AccountingDate}&Description={Description}&PaymentType={PaymentType}&PaymentSource={PaymentSource}&EffectiveDate={EffectiveDate}&Amount={Amount}&ItemBalance={ItemBalance}&TransactionDetailId={TransactionDetailId}&StartDate={StartDate}&EndDate={EndDate}&Limit={Limit}&Offset={Offset}&Total={Total}&SortDirection={SortDirection}&Sort={Sort}&Expand={Expand}

Payment History

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PolicyNumber

Policy number to retrieve associated payment history for

string

String length: inclusive between 0 and 30

ItemNumber

Item Number

string

None.

AccountingDate

Accounting Date

string

None.

Description

Description

string

None.

PaymentType

Payment Type

string

None.

PaymentSource

Payment Source

string

None.

EffectiveDate

EffectiveDate

string

None.

Amount

Amount

string

None.

ItemBalance

Item Balance

string

None.

TransactionDetailId

Transaction Detail Id

string

None.

StartDate

Starting accounting date. Accounting Date must be on or after this date.

date

None.

EndDate

Ending accounting date. Accounting Date must be on or prior to this date.

date

None.

Limit

Maximum number of records to return

integer

Range: inclusive between 1 and 2147483647

Offset

Number of records to skip during search, useful for pagination

integer

Range: inclusive between 0 and 2147483647

Total

Flag to indicate if the total number of records matching the search should be computed. Default: False. WARNING: Setting to True will considerably slow down search performance when searching large datasets.

boolean

None.

SortDirection

Direction of sort: Ascending or Descending

SortDirection

None.

Sort

Comma separated list of field names to sort by

string

None.

Expand

Comma separated list of expansions to include in results

string

None.

Body Parameters

None.

Response Information

Resource Description

PaymentHistoryListResponse
NameDescriptionTypeAdditional information
Limit

Echoed limit of request

integer

None.

Offset

Echoed offset of request

integer

None.

Total

Total records matching search, if requested

integer

None.

Data

List of records matching the search

Collection of PaymentHistoryDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Limit": 1,
  "Offset": 1,
  "Total": 1,
  "Data": [
    {
      "ItemNumber": 1,
      "AccountingDate": "2024-03-28T00:27:33.9141578-10:00",
      "Description": "sample string 3",
      "Method": "sample string 4",
      "PaymentSource": "sample string 5",
      "EffectiveDate": "2024-03-28T00:27:33.9151797-10:00",
      "Amount": 7.0,
      "Balance": 8.0,
      "TransactionDetailId": 9,
      "PolicyId": 1,
      "PayeeId": 1
    },
    {
      "ItemNumber": 1,
      "AccountingDate": "2024-03-28T00:27:33.9141578-10:00",
      "Description": "sample string 3",
      "Method": "sample string 4",
      "PaymentSource": "sample string 5",
      "EffectiveDate": "2024-03-28T00:27:33.9151797-10:00",
      "Amount": 7.0,
      "Balance": 8.0,
      "TransactionDetailId": 9,
      "PolicyId": 1,
      "PayeeId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<PaymentHistoryListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models.Outbound">
  <Data>
    <PaymentHistoryDTO>
      <Id>10</Id>
      <AccountingDate>2024-03-28T00:27:33.9141578-10:00</AccountingDate>
      <Amount>7</Amount>
      <Balance>8</Balance>
      <Description>sample string 3</Description>
      <EffectiveDate>2024-03-28T00:27:33.9151797-10:00</EffectiveDate>
      <ItemNumber>1</ItemNumber>
      <Method>sample string 4</Method>
      <PayeeId>1</PayeeId>
      <PaymentSource>sample string 5</PaymentSource>
      <PolicyId>1</PolicyId>
      <TransactionDetailId>9</TransactionDetailId>
    </PaymentHistoryDTO>
    <PaymentHistoryDTO>
      <Id>10</Id>
      <AccountingDate>2024-03-28T00:27:33.9141578-10:00</AccountingDate>
      <Amount>7</Amount>
      <Balance>8</Balance>
      <Description>sample string 3</Description>
      <EffectiveDate>2024-03-28T00:27:33.9151797-10:00</EffectiveDate>
      <ItemNumber>1</ItemNumber>
      <Method>sample string 4</Method>
      <PayeeId>1</PayeeId>
      <PaymentSource>sample string 5</PaymentSource>
      <PolicyId>1</PolicyId>
      <TransactionDetailId>9</TransactionDetailId>
    </PaymentHistoryDTO>
  </Data>
  <Limit>1</Limit>
  <Offset>1</Offset>
  <Total>1</Total>
</PaymentHistoryListResponse>