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": "ce7cf5bf-9a7c-4101-9956-c8154195c425",
"FailureUrl": "sample string 1",
"ContentRedirect": true,
"PayMonthly": true,
"PolicyId": "90cbbf81-688c-4af7-800a-06814017e283",
"PolicyCollectionDays": [
{
"PolicyId": "07e57d30-a27d-480b-84eb-919127e5e141",
"CollectionDay": 2
},
{
"PolicyId": "07e57d30-a27d-480b-84eb-919127e5e141",
"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>ce7cf5bf-9a7c-4101-9956-c8154195c425</BasketId>
<ContentRedirect>true</ContentRedirect>
<FailureUrl>sample string 1</FailureUrl>
<PayMonthly>true</PayMonthly>
<PolicyCollectionDays>
<PolicyCollectionDay>
<CollectionDay>2</CollectionDay>
<PolicyId>07e57d30-a27d-480b-84eb-919127e5e141</PolicyId>
</PolicyCollectionDay>
<PolicyCollectionDay>
<CollectionDay>2</CollectionDay>
<PolicyId>07e57d30-a27d-480b-84eb-919127e5e141</PolicyId>
</PolicyCollectionDay>
</PolicyCollectionDays>
<PolicyId>90cbbf81-688c-4af7-800a-06814017e283</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>