GET v1/Payment/Autopay?PolicyNumber={PolicyNumber}

Retrieve Autopay Info

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PolicyNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

AutoPayOutboundDTO
NameDescriptionTypeAdditional information
DayOfTheMonth

Day of month on which deductions should be taken

integer

None.

Type

Autopay account type

AutopayTypeEnum

None.

Last4Digits

Last 4 digits of the payment method.

string

None.

WarningMessages

List of warning messages encountered while servicing request

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "DayOfTheMonth": 1,
  "Type": "Unknown",
  "Last4Digits": "sample string 1"
}

application/xml, text/xml

Sample:
<AutoPayOutboundDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models.Outbound">
  <Id>2</Id>
  <DayOfTheMonth>1</DayOfTheMonth>
  <Last4Digits>sample string 1</Last4Digits>
  <Type>Unknown</Type>
</AutoPayOutboundDTO>