GET api/orders/paymentCardTypes
Gets all payment card types
Request Information
URI Parameters
None.
Body Parameters
None.
Remarks
Use api/orders/paymentCardTypes to get all payment card types.
Example
//Gets all payment card types
http://localhost/api/orders/paymentCardTypes
Response Information
Resource Description
Returns all payment card types
Collection of PaymentCardTypeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id to use for api/orders/finalize |
integer |
None. |
| Name |
Name of the card e.g. VISA. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentCardTypeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Order">
<PaymentCardTypeResponse>
<Id>1</Id>
<Name>sample string 2</Name>
</PaymentCardTypeResponse>
<PaymentCardTypeResponse>
<Id>1</Id>
<Name>sample string 2</Name>
</PaymentCardTypeResponse>
</ArrayOfPaymentCardTypeResponse>