{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/management-surcharge-schema.json",
  "title": "Surcharge",
  "description": "Surcharge schema from Adyen API",
  "type": "object",
  "properties": {
    "askConfirmation": {
      "description": "Show the surcharge details on the terminal, so the shopper can confirm.",
      "type": "boolean"
    },
    "configurations": {
      "description": "Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies.",
      "items": {
        "$ref": "#/components/schemas/Configuration"
      },
      "type": "array"
    }
  }
}