POST api/Quote/CreateCreditCardPaymentUrl
Request Information
URI Parameters
None.
Body Parameters
CreditCardPaymentRequest| Name | 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": "c5e6bd74-a166-4e7f-8799-a2e95c3e1027",
"FailureUrl": "sample string 1",
"ContentRedirect": true,
"PayMonthly": true,
"PolicyId": "594931fa-26d8-4160-b3b8-a640340b8e83",
"PolicyCollectionDays": [
{
"PolicyId": "7ffccd3f-1c45-4834-9e0b-f72c81bb93e5",
"CollectionDay": 2
},
{
"PolicyId": "7ffccd3f-1c45-4834-9e0b-f72c81bb93e5",
"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>c5e6bd74-a166-4e7f-8799-a2e95c3e1027</BasketId>
<ContentRedirect>true</ContentRedirect>
<FailureUrl>sample string 1</FailureUrl>
<PayMonthly>true</PayMonthly>
<PolicyCollectionDays>
<PolicyCollectionDay>
<CollectionDay>2</CollectionDay>
<PolicyId>7ffccd3f-1c45-4834-9e0b-f72c81bb93e5</PolicyId>
</PolicyCollectionDay>
<PolicyCollectionDay>
<CollectionDay>2</CollectionDay>
<PolicyId>7ffccd3f-1c45-4834-9e0b-f72c81bb93e5</PolicyId>
</PolicyCollectionDay>
</PolicyCollectionDays>
<PolicyId>594931fa-26d8-4160-b3b8-a640340b8e83</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>