POST api/payment/processPaymentResult
Request Information
URI Parameters
None.
Body Parameters
PaymentTransactionViewModelName | Description | Type | Additional information |
---|---|---|---|
response | string |
None. |
|
policyNumber | string |
None. |
|
amount | decimal number |
None. |
|
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:
Response Information
Resource Description
None.