{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/main/json-schema/adyen-get-account-holder-request-schema.json",
  "title": "GetAccountHolderRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adyen-getaccountholder-api-openapi.yml#/components/schemas/GetAccountHolderRequest",
  "properties": {
    "accountCode": {
      "description": "The code of the account of which to retrieve the details.\n> Required if no `accountHolderCode` is provided.",
      "type": "string"
    },
    "accountHolderCode": {
      "description": "The code of the account holder of which to retrieve the details.\n> Required if no `accountCode` is provided.",
      "type": "string"
    },
    "showDetails": {
      "x-addedInVersion": "4",
      "description": "True if the request should return the account holder details",
      "type": "boolean"
    }
  },
  "type": "object"
}