Payment methods List [GET]
Operation
Get a list of all the products of type payment in a given property.
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/payment
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | Unique identificator of the chain. | |
propertyId | Integer | true | path parameter | Unique identificator of the property. | |
offset | Integer | false | request parameter | Offset of the array of results. | |
limit | Integer | false | request parameter | Limit of results. | |
sort | string | false | request parameter | Property of the entity to sort by. | |
sortMode | string | false | request parameter | Mode of sorting. |
Example request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/payment
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
The entity returned is a Page with a list of Payment's. Description of the Accommodation entity:Field | Type | Required | Description |
---|---|---|---|
id | int | true | Unique identifier for the Payment. |
name | string | true | Name of the Payment. |
Example response
{ "count": 10, "offset": 0, "limit": 3, "list": [ { "id": 1, "name": "Cash" }, { "id": 2, "name": "MasterCard" }, { "id": 3, "name": "Transfer" } ] }