{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/accounts-get-account-holder-request-structure.json",
  "description": "GetAccountHolderRequest schema from Adyen API",
  "type": "object",
  "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"
    }
  },
  "name": "GetAccountHolderRequest"
}