{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/pos-terminal-get-terminals-under-account-request-schema.json",
  "title": "GetTerminalsUnderAccountRequest",
  "description": "GetTerminalsUnderAccountRequest schema from Adyen API",
  "type": "object",
  "properties": {
    "companyAccount": {
      "description": "Your company account. If you only specify this parameter, the response includes all terminals at all account levels.",
      "type": "string"
    },
    "merchantAccount": {
      "description": "The merchant account. This is required if you are retrieving the terminals assigned to a store.If you don't specify a `store` the response includes the terminals assigned to the specified merchant account and the terminals assigned to the stores under this merchant account.",
      "type": "string"
    },
    "store": {
      "description": "The store code of the store. With this parameter, the response only includes the terminals assigned to the specified store.",
      "type": "string"
    }
  },
  "required": [
    "companyAccount"
  ]
}