Mews Configuration Get 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
{
"operationId": "configuration_get",
"method": "POST",
"path": "/api/connector/v1/configuration/get",
"summary": "Get configuration",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"EnterpriseId": "851df8c8-90f2-4c4a-8e01-a4fc46b25178"
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"NowUtc": "2018-01-01T14:58:02Z",
"Enterprise": {
"Currencies": [
{
"Currency": "GBP",
"IsDefault": true,
"IsEnabled": true
},
{
"Currency": "USD",
"IsDefault": false,
"IsEnabled": true
}
],
"AccountingConfiguration": {
"AdditionalTaxIdentifier": null,
"CompanyName": "Connector API Hotel",
"BankAccountNumber": "1234",
"BankName": "Random bank",
"Iban": "CZ7250517882393618329719",
"Bic": "GIBACZPY",
"SurchargeConfiguration": {
"SurchargeFees": {
"Amex": 3.0,
"DinersClub": 4.0
},
"SurchargeServiceId": "2b9b0143-3135-485b-8064-76c90d1be69e",
"SurchargeTaxCode": "US-HI-KA"
},
"EnabledExternalPaymentTypes": [
"Invoice",
"Cash",
"GiftCard"
],
"Options": [
"ReceivableTrackingEnabled",
"GroupTaxesOnBill"
]
},
"IsPortfolio": false,
"Id": "851df8c8-90f2-4c4a-8e01-a4fc46b25178",
"ExternalIdentifier": null,
"HoldingKey": "CA123",
"ChainId": "8ddea57b-6a5c-4eec-8c4c-24467dce118e",
"ChainName": "Connector API Chain",
"CreatedUtc": "2015-07-07T13:33:17Z",
"UpdatedUtc": "2015-07-07T13:33:17Z",
"Name": "Connector API Hotel",
"ShortName": null,
"TimeZoneIdentifier": "Europe/Budapest",
"LegalEnvironmentCode": "UK",
"AccommodationEnvironmentCode": null,
"AccountingEnvironmentCode": null,
"TaxEnvironmentCode": null,
"DefaultLanguageCode": "en-US",
"EditableHistoryInterval": "P0M7DT0H0M0S",
"AccountingEditableHistoryInterval": "P0M7DT0H0M0S",
"OperationalEditableHistoryInterval": "P0M5DT0H0M0S",
"BusinessDayClosingOffset": null,
"WebsiteUrl": "https://en.wikipedia.org/wiki/St._Vitus_Cathedral",
"Email": "charging-api@mews.li",
"Phone": "00000 123 456 789",
"LogoImageId": null,
"CoverImageId": null,
"Pricing": "Gross",
"TaxPrecision": null,
"AddressId": "c556f56e-713e-4102-9de5-0e853b5a8586",
"Address": {
"Id": "8c2c4371-5d42-40a9-b551-ab0b00d75076",
"Line1": "I.P. Pavlova 5",
"Line2": null,
"City": "Prague",
"PostalCode": "1200",
"CountryCode": "CZ",
"CountrySubdivisionCode": null,
"Latitude": 14.429645,
"Longitude": 50.075181
},
"GroupNames": [
"Connector API Group"
],
"Subscription": {
"TaxIdentifier": "123456789 RC 0001"
}
},
"Service": {
"Id": "bd26d8db-86da-4f96-9efc-e5a4654a4a94",
"EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"IsActive": true,
"Name": "Accommodation",
"Names": {
"en-GB": "Accommodation"
},
"StartTime": "PT14H",
"EndTime": "PT12H",
"Options": {
"BillAsPackage": false
},
"Promotions": {
"BeforeCheckIn": false,
"AfterCheckIn": false,
"DuringStay": false,
"BeforeCheckOut": false,
"AfterCheckOut": false,
"DuringCheckOut": false
},
"Type": "Reservable",
"Ordering": 0,
"Data": null,
"ExternalIdentifier": null,
"CreatedUtc": "2023-10-01T11:48:57Z",
"UpdatedUtc": "2023-10-28T11:48:57Z"
},
"PaymentCardStorage": null,
"IsIdentityDocumentNumberRequired": true
}
}
]
}