Adyen · JSON Structure

Payments Browser Info Structure

BrowserInfo schema from Adyen API

Type: object Properties: 9 Required: 8
PaymentsFinancial ServicesFintech

BrowserInfo is a JSON Structure definition published by Adyen, describing 9 properties, of which 8 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

acceptHeader colorDepth javaEnabled javaScriptEnabled language screenHeight screenWidth timeZoneOffset userAgent

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/payments-browser-info-structure.json",
  "description": "BrowserInfo schema from Adyen API",
  "type": "object",
  "properties": {
    "acceptHeader": {
      "description": "The accept header value of the shopper's browser.",
      "type": "string"
    },
    "colorDepth": {
      "x-addedInVersion": "40",
      "description": "The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth.",
      "type": "int32"
    },
    "javaEnabled": {
      "x-addedInVersion": "40",
      "description": "Boolean value indicating if the shopper's browser is able to execute Java.",
      "type": "boolean"
    },
    "javaScriptEnabled": {
      "x-addedInVersion": "40",
      "default": true,
      "description": "Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present.",
      "type": "boolean"
    },
    "language": {
      "x-addedInVersion": "40",
      "description": "The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47).",
      "type": "string"
    },
    "screenHeight": {
      "x-addedInVersion": "40",
      "description": "The total height of the shopper's device screen in pixels.",
      "type": "int32"
    },
    "screenWidth": {
      "x-addedInVersion": "40",
      "description": "The total width of the shopper's device screen in pixels.",
      "type": "int32"
    },
    "timeZoneOffset": {
      "x-addedInVersion": "40",
      "description": "Time difference between UTC time and the shopper's browser local time, in minutes.",
      "type": "int32"
    },
    "userAgent": {
      "description": "The user agent value of the shopper's browser.",
      "type": "string"
    }
  },
  "required": [
    "userAgent",
    "acceptHeader",
    "javaEnabled",
    "colorDepth",
    "screenHeight",
    "screenWidth",
    "timeZoneOffset",
    "language"
  ],
  "name": "BrowserInfo"
}