Skip to main content
Skip table of contents

Get Server Config

CODE
Endpoint:
GET /v2/server/config

Headers:
Content-Type: application/json
Authentication: Bearer %access_token%

Authentication:
Grant_type: client_credentials
Scopes: []

Response body:
{
  "appName": string,
  "type": "central",
  "version": string,
  "locale": {
    "lang": string,
    "currency": string,
    "currencyPrecision": 0
  },
  "network": {
    "hostname": string
  },
  "accounting": {
    "mode": 0
  },
  "credit": {
    "enabled": true
  },
  "cards": {
    "validity": 0
  },
  "pins": {
    "changeEnabled": true,
    "minLenght": 0
  },
  "security": {
    "password": {
      "minLength": 0,
      "complexity": 0
    },
    "lockout": {
      "attempts": 0,
      "time": 0
    }
  }
}

Note that the %access_token% needs to be replaced by the token you received as a response from auth endpoint.

JSON of basic configuration and enabled features of server are returned in the response.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.