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

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
offsetIntegerfalserequest parameter
Offset of the array of results.
limitIntegerfalserequest parameter
Limit of results.
sortstringfalserequest parameter
Property of the entity to sort by.
sortModestringfalserequest parameter
Mode of sorting.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/payment


Response

PropertyTypeRequiredDescription
PagePagetrueDescription 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:


FieldTypeRequiredDescription
idinttrueUnique identifier for the Payment.
namestringtrueName of the Payment.


Example response

{
  "count": 10,
  "offset": 0,
  "limit": 3,
  "list": [
    {
      "id": 1,
      "name": "Cash"
    },
    {
      "id": 2,
      "name": "MasterCard"
    },
    {
      "id": 3,
      "name": "Transfer"
    }
  ]
}