GET v1/Shops/{shopId}/PaymentTypes
Get a list with all available PaymentTypes for given shop.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopId | integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of Payment types.
Collection of PaymentType
Name | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the Payment Type identifier. |
integer |
Required |
Code |
Gets or sets the code. |
string |
Required Max length: 50 |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Code": "sample string 2" }, { "Id": 1, "Code": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfPaymentType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PaymentType> <Id>1</Id> <Code>sample string 2</Code> </PaymentType> <PaymentType> <Id>1</Id> <Code>sample string 2</Code> </PaymentType> </ArrayOfPaymentType>