Adyen · JSON Structure

Configuration Duration Structure

Duration schema from Adyen API

Type: object Properties: 2
PaymentsFinancial ServicesFintech

Duration is a JSON Structure definition published by Adyen, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

unit value

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/configuration-duration-structure.json",
  "description": "Duration schema from Adyen API",
  "type": "object",
  "properties": {
    "unit": {
      "description": "The unit of time. You can only use **minutes** and **hours** if the `interval.type` is **sliding**.\n\nPossible values: **minutes**, **hours**, **days**, **weeks**, or **months**",
      "enum": [
        "days",
        "hours",
        "minutes",
        "months",
        "weeks"
      ],
      "type": "string"
    },
    "value": {
      "description": "The length of time by the unit. For example, 5 days.\n\nThe maximum duration is 90 days or an equivalent in other units. For example, 3 months.",
      "type": "int32"
    }
  },
  "name": "Duration"
}