GET api/Payments/PartyPaymentOption/CreditCards?partyId={partyId}&orderId={orderId}
Retrieves credits card available.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| partyId |
The party identifier (optional). |
integer |
None. |
| orderId |
The order identifier (optional). |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Credits card available.
Collection of PaymentOptionViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentTypeID | integer |
None. |
|
| CCAccountID | integer |
None. |
|
| Description | string |
None. |
|
| ImagePath | string |
None. |
|
| IsAgnosticRedirect | boolean |
None. |
|
| ProcessorID | boolean |
None. |
Response Formats
application/xml, text/xml
Sample:
<ListOfPaymentOptionViewModel>
<PaymentOptionViewModel>
<PaymentTypeID>1</PaymentTypeID>
<CCAccountID>1</CCAccountID>
<Description>sample string 2</Description>
<ImagePath>sample string 3</ImagePath>
<IsAgnosticRedirect>True</IsAgnosticRedirect>
<ProcessorID>True</ProcessorID>
</PaymentOptionViewModel>
<PaymentOptionViewModel>
<PaymentTypeID>1</PaymentTypeID>
<CCAccountID>1</CCAccountID>
<Description>sample string 2</Description>
<ImagePath>sample string 3</ImagePath>
<IsAgnosticRedirect>True</IsAgnosticRedirect>
<ProcessorID>True</ProcessorID>
</PaymentOptionViewModel>
</ListOfPaymentOptionViewModel>
application/json, text/json
Sample:
[
{
"PaymentTypeID": 1,
"CCAccountID": 1,
"Description": "sample string 2",
"ImagePath": "sample string 3",
"IsAgnosticRedirect": true,
"ProcessorID": true
},
{
"PaymentTypeID": 1,
"CCAccountID": 1,
"Description": "sample string 2",
"ImagePath": "sample string 3",
"IsAgnosticRedirect": true,
"ProcessorID": true
}
]