Skip to main content

CCC Configurations

Checkout App incorporates configuration capabilities facilitated by the CCC service.

The app currently utilizes the cha.settings.v1 schema. Remote settings and configurations are retrieved during login action.

How to configure

Link to schema cha.settings.v1 Link to CCC Api Documentation

The schema outlines properties and types, with validations to be implemented subsequently.

Currently, only the "host" property is mandatory and will default to "https://testrunner-eu.checkout-api.retailsvc.com".

The ccc-api OpenAPI JSON collection facilitates the adding of configurations via tools such as Postman or Swagger, offering interim functionality until the development of a dedicated configuration portal.

⚠️ Important: Configuration settings can be defined at the workstation, business unit, business unit group, or tenant level. In the absence of specific configurations at lower levels, they will be inherited from higher levels, if available.

Here is example of curl request for updating the configuration on workstation level.

curl --location --request PUT 'https://ccc-api.retailsvc.com/api/v1/config/cha.settings.v1/values/business-units/{businessUnitId}/workstations/{workstationId}' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer **INSERT_YOUR_TOKEN_HERE**' \
--data '{
"value": {
"pos": {
"server": {
"host": "https://testrunner-eu.checkout-api.retailsvc.com",
"networkCallTimeout": 30000
},
},
"mpos": {
"server": {
"host": "https://testrunner-eu.checkout-api.retailsvc.com",
"networkCallTimeout": 20000
}
}
}
}'