POST api/payment/EnableAutoPay

Request Information

URI Parameters

None.

Body Parameters

RecurringPaymentModel
NameDescriptionTypeAdditional information
PolicyAccountID

string

None.

WalletIDEnc

string

None.

ContactIDEnc

string

None.

CountryID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyAccountID": "sample string 1",
  "WalletIDEnc": "sample string 2",
  "ContactIDEnc": "sample string 3",
  "CountryID": 4
}

application/xml, text/xml

Sample:
<RecurringPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoverSmart.Models">
  <ContactIDEnc>sample string 3</ContactIDEnc>
  <CountryID>4</CountryID>
  <PolicyAccountID>sample string 1</PolicyAccountID>
  <WalletIDEnc>sample string 2</WalletIDEnc>
</RecurringPaymentModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RecurringPaymentModel'.

Response Information

Resource Description

None.