Configuration
Get configuration
Returns the enterprise configuration. For single-enterprise Access Tokens, this is the enterprise associated with the token. For Portfolio Access Tokens, use the EnterpriseId
parameter to specify which enterprise you want the configuration for. In the case of service scoped integrations, the operation returns the configuration associated with both the enterprise and the bookable service linked to the token.
Request
[PlatformAddress]/api/connector/v1/configuration/get
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseId
string
optional
Response
NowUtc
string
required
Current server date and time in UTC timezone in ISO 8601 format.
Enterprise
required
The enterprise (e.g. hotel, hostel) associated with the access token.
Service
optional
The reservable service (e.g. accommodation, parking) associated with the access token of the service scoped integration.
PaymentCardStorage
optional
Contains information about payment card storage.
Enterprise
Id
string
required
Unique identifier of the enterprise.
ExternalIdentifier
string
optional, max length 255 characters
Identifier of the enterprise from external system.
ChainId
string
required
Unique identifier of the chain to which the enterprise belongs.
CreatedUtc
string
required
Creation date and time of the enterprise in UTC timezone in ISO 8601 format.
UpdatedUtc
string
required
Creation date and time of the enterprise in UTC timezone in ISO 8601 format.
Name
string
required
Name of the enterprise.
TimeZoneIdentifier
string
required
IANA timezone identifier of the enterprise.
LegalEnvironmentCode
string
required
Unique identifier of the legal environment where the enterprise resides.
AccommodationEnvironmentCode
string
required
Unique code of the accommodation environment where the enterprise resides.
AccountingEnvironmentCode
string
required
Unique code of the accounting environment where the enterprise resides.
TaxEnvironmentCode
string
required
Unique code of the tax environment where the enterprise resides.
DefaultLanguageCode
string
required
Language-culture codes of the enterprise default Language
.
AccountingEditableHistoryInterval
string
required
Editable history interval for accounting data in ISO 8601 duration format.
OperationalEditableHistoryInterval
string
required
Editable history interval for operational data in ISO 8601 duration format.
WebsiteUrl
string
optional
URL of the enterprise website.
Email
string
optional
Email address of the enterprise.
Phone
string
optional
Phone number of the enterprise.
LogoImageId
string
optional
Unique identifier of the Image
of the enterprise logo.
CoverImageId
string
optional
Unique identifier of the Image
of the enterprise cover.
Pricing
required
Pricing of the enterprise.
TaxPrecision
integer
optional
Tax precision used for financial calculations in the enterprise. If null
, Currency
precision is used.
AddressId
string
required
Unique identifier of the Address
of the enterprise.
GroupNames
array of string
required
A list of the group names of the enterprise.
Subscription
required
Subscription information of the enterprise.
Currencies
required
Currencies accepted by the enterprise.
AccountingConfiguration
optional
Configuration information containing financial information about the property.
IsPortfolio
boolean
required
EditableHistoryInterval
string
required
Deprecated! Use AccountingEditableHistoryInterval
and OperationalEditableHistoryInterval
instead.
Address
required
Deprecated! Use AddressId
instead.
Pricing
Gross
- The enterprise shows amount with gross prices.Net
- The enterprise shows amount with net prices.
Address
Id
string
required
Unique identifier of the address.
Line1
string
optional
First line of the address.
Line2
string
optional
Second line of the address.
City
string
optional
The city.
PostalCode
string
optional
Postal code.
CountryCode
string
optional
ISO 3166-1 code of the Country
.
CountrySubdivisionCode
string
optional
ISO 3166-2 code of the administrative division, e.g. DE-BW
.
Latitude
number
optional
The latitude.
Longitude
number
optional
The longitude.
Accepted currency
Currency
string
required
ISO-4217 code of the Currency
.
IsDefault
boolean
required
Whether the currency is a default accounting currency.
IsEnabled
boolean
required
Whether the currency is enabled for usage.
Accounting configuration
AdditionalTaxIdentifier
string
optional, max length 50 characters
Organization number.
CompanyName
string
optional, max length 100 characters
Legal name of the company.
BankAccountNumber
string
optional, max length 50 characters
Bank account number.
BankName
string
optional, max length 100 characters
Name of the bank.
Iban
string
optional, max length 40 characters
International Bank Account Number.
Bic
string
optional, max length 11 characters
Business Identification Code.
SurchargeConfiguration
required
Configuration for surcharging fees.
EnabledExternalPaymentTypes
required
External payment types that are enabled for the enterprise and can be used in payments/addExternal
.
Surcharging fees configuration
SurchargeFees
required
Dictionary keys are CreditCardType
and values are surcharging fees as a percentage.
SurchargeServiceId
string
optional
Unique identifier of the surcharging Service
.
SurchargeTaxCode
string
optional
Surcharging fee TaxCode
.
Payment card storage
PublicKey
string
required
Key for accessing PCI proxy storage.
Last updated