{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/recurring-schedule-account-updater-request-schema.json",
  "title": "ScheduleAccountUpdaterRequest",
  "description": "ScheduleAccountUpdaterRequest schema from Adyen API",
  "type": "object",
  "properties": {
    "additionalData": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "This field contains additional data, which may be required for a particular request.",
      "type": "object"
    },
    "card": {
      "description": "Credit card data.\n\nOptional if `shopperReference` and `selectedRecurringDetailReference` are provided.",
      "$ref": "#/components/schemas/Card"
    },
    "merchantAccount": {
      "description": "Account of the merchant.",
      "type": "string"
    },
    "reference": {
      "description": "A reference that merchants can apply for the call.",
      "type": "string"
    },
    "selectedRecurringDetailReference": {
      "description": "The selected detail recurring reference.\n\nOptional if `card` is provided.",
      "type": "string"
    },
    "shopperReference": {
      "description": "The reference of the shopper that owns the recurring contract.\n\nOptional if `card` is provided.",
      "type": "string"
    }
  },
  "required": [
    "merchantAccount",
    "reference"
  ]
}