Mews · Example Payload

Mews Preauthorizations Getallbycustomers Example

HospitalityHotelsPMSProperty Management

Mews Preauthorizations Getallbycustomers Example is an example object payload from Mews, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "preauthorizations_getAllByCustomers",
  "method": "POST",
  "path": "/api/connector/v1/preauthorizations/getAllByCustomers",
  "summary": "Get all preauthorizations by customers",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "CustomerIds": [
          "fadd5bb6-b428-45d5-94f8-fd0d89fece6d",
          "bccdafd1-3e44-439d-861f-341526b597a9"
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Preauthorizations": [
          {
            "Id": "2d93962f-067f-45a6-b7c4-bc4b9d899456",
            "CreditCardId": "e417dfe8-c813-4938-837b-36081199ce88",
            "Amount": {
              "Currency": "EUR",
              "NetValue": 8.4,
              "GrossValue": 10.0,
              "TaxValues": [
                {
                  "Code": "VAT",
                  "Value": 1.6
                }
              ],
              "Breakdown": {
                "Items": [
                  {
                    "TaxRateCode": "VAT",
                    "NetValue": 8.4,
                    "TaxValue": 1.6
                  }
                ]
              }
            },
            "State": "Cancelled",
            "ReservationId": null,
            "Code": null,
            "CustomerId": "fadd5bb6-b428-45d5-94f8-fd0d89fece6d",
            "IsActive": false
          },
          {
            "Id": "ad44411a-1efc-46b6-b903-ec5fa7842000",
            "CreditCardId": "41fa39ab-4b12-4816-95a3-d06cdbbdcb69",
            "Amount": {
              "Currency": "EUR",
              "NetValue": 18.49,
              "GrossValue": 22.0,
              "TaxValues": [
                {
                  "Code": "VAT",
                  "Value": 3.51
                }
              ],
              "Breakdown": {
                "Items": [
                  {
                    "TaxRateCode": "VAT",
                    "NetValue": 18.49,
                    "TaxValue": 3.51
                  }
                ]
              }
            },
            "State": "Charged",
            "ReservationId": "0f515589-99b4-423d-b83a-b237009f0509",
            "Code": "PAY-2024-001",
            "CustomerId": "bccdafd1-3e44-439d-861f-341526b597a9",
            "IsActive": true
          }
        ]
      }
    }
  ]
}