POST api/policy/finalizeBinderProcessing

Request Information

URI Parameters

None.

Body Parameters

PaymentTransactionViewModel
NameDescriptionTypeAdditional information
response

string

None.

policyNumber

string

None.

amount

decimal number

None.

email

string

None.

phone

string

None.

accountType

integer

None.

bankAccountType

integer

None.

transactionType

PaymentTransactionTypeEnum

None.

EnrollInAutoPay

boolean

None.

cardHolderName

string

None.

routingNumber

string

None.

bankAccountNumber

string

None.

CountryID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "response": "sample string 1",
  "policyNumber": "sample string 2",
  "amount": 3.1,
  "email": "sample string 4",
  "phone": "sample string 5",
  "accountType": 6,
  "bankAccountType": 7,
  "transactionType": 0,
  "EnrollInAutoPay": true,
  "cardHolderName": "sample string 9",
  "routingNumber": "sample string 10",
  "bankAccountNumber": "sample string 11",
  "CountryID": 12
}

application/xml, text/xml

Sample:
<PaymentTransactionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoverSmart.Models">
  <CountryID>12</CountryID>
  <EnrollInAutoPay>true</EnrollInAutoPay>
  <accountType>6</accountType>
  <amount>3.1</amount>
  <bankAccountNumber>sample string 11</bankAccountNumber>
  <bankAccountType>7</bankAccountType>
  <cardHolderName>sample string 9</cardHolderName>
  <email>sample string 4</email>
  <phone>sample string 5</phone>
  <policyNumber>sample string 2</policyNumber>
  <response>sample string 1</response>
  <routingNumber>sample string 10</routingNumber>
  <transactionType>None</transactionType>
</PaymentTransactionViewModel>

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 'PaymentTransactionViewModel'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>