POST api/Quote/CreateCreditCardPaymentUrl
Request Information
URI Parameters
None.
Body Parameters
CreditCardPaymentRequestName | Description | Type | Additional information |
---|---|---|---|
BasketId | globally unique identifier |
None. |
|
FailureUrl | string |
None. |
|
ContentRedirect | boolean |
None. |
|
PayMonthly | boolean |
None. |
|
PolicyId | globally unique identifier |
None. |
|
PolicyCollectionDays | Collection of PolicyCollectionDay |
None. |
|
SuccessUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BasketId": "8ba9bfba-30df-4881-88f8-b6f94e3e433c", "FailureUrl": "sample string 1", "ContentRedirect": true, "PayMonthly": true, "PolicyId": "8f812cf5-6aee-4208-b962-450e0c092a90", "PolicyCollectionDays": [ { "PolicyId": "6fa87ac5-85a8-40b8-9f4f-00c555abe3ec", "CollectionDay": 2 }, { "PolicyId": "6fa87ac5-85a8-40b8-9f4f-00c555abe3ec", "CollectionDay": 2 } ], "SuccessUrl": "sample string 3" }
application/xml, text/xml
Sample:
<CreditCardPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <BasketId>8ba9bfba-30df-4881-88f8-b6f94e3e433c</BasketId> <ContentRedirect>true</ContentRedirect> <FailureUrl>sample string 1</FailureUrl> <PayMonthly>true</PayMonthly> <PolicyCollectionDays> <PolicyCollectionDay> <CollectionDay>2</CollectionDay> <PolicyId>6fa87ac5-85a8-40b8-9f4f-00c555abe3ec</PolicyId> </PolicyCollectionDay> <PolicyCollectionDay> <CollectionDay>2</CollectionDay> <PolicyId>6fa87ac5-85a8-40b8-9f4f-00c555abe3ec</PolicyId> </PolicyCollectionDay> </PolicyCollectionDays> <PolicyId>8f812cf5-6aee-4208-b962-450e0c092a90</PolicyId> <SuccessUrl>sample string 3</SuccessUrl> </CreditCardPaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>