---
updatedAt: 2026-11-10T16:26:49.000Z
agentTools:
  projectIndex: https://docs.pagaleve.com.br/llms.txt
---

# Listar Subsidiárias

Este endpoint lista as subsidiárias associadas à holding autenticada.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "IllegalHoldingCompanyStateException": {
        "properties": {
          "exception": {
            "type": "string",
            "example": "IllegalHoldingCompanyStateException"
          },
          "message": {
            "type": "string",
            "example": "A holding company candidate must be enabled as a holding company"
          },
          "metadata": {
            "description": "Objeto com qualquer informação que seja necessária para identificar.",
            "type": "object",
            "example": {
              "holdingCompanyId": "810ff6fc-c48a-4254-9002-cc16f6b9a185"
            }
          },
          "path": {
            "type": "string",
            "example": "/api/v1/merchant-search/list-subsidiaries"
          },
          "statusCode": {
            "type": "number",
            "example": 400
          },
          "status_code": {
            "type": "number",
            "example": 400
          },
          "timestamp": {
            "format": "date-time",
            "type": "string",
            "example": "2022-12-09T13:36:00.489Z"
          }
        },
        "required": [
          "status_code",
          "statusCode"
        ],
        "type": "object"
      },
      "MerchantDto": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/MerchantItem"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "MerchantItem": {
        "properties": {
          "business_name": {
            "description": "Nome do Comerciante",
            "type": "string",
            "example": "Exemplo Store"
          },
          "business_number": {
            "description": "CNPJ do Comerciante",
            "type": "string",
            "example": 12345678000190
          },
          "id": {
            "description": "ID do Comerciante (>= 1 characters)",
            "type": "string",
            "example": "bd0e0361-8df5-4888-bd58-72ef786ed9b4"
          }
        },
        "type": "object"
      },
      "MerchantNotFoundException": {
        "properties": {
          "exception": {
            "type": "string",
            "example": "MerchantNotFoundException"
          },
          "message": {
            "type": "string",
            "example": "Merchant not found"
          },
          "metadata": {
            "description": "Objeto com qualquer informação que seja necessária para identificar.",
            "type": "object",
            "example": {
              "merchantId": "810ff6fc-c48a-4254-9002-cc16f6b9a185"
            }
          },
          "path": {
            "type": "string",
            "example": "/api/v1/merchant-search/list-subsidiaries"
          },
          "statusCode": {
            "type": "number",
            "example": 404
          },
          "status_code": {
            "type": "number",
            "example": 404
          },
          "timestamp": {
            "format": "date-time",
            "type": "string",
            "example": "2022-12-09T13:36:00.489Z"
          }
        },
        "required": [
          "status_code",
          "statusCode"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "contact": {},
    "description": "API pública",
    "title": "API Endpoints",
    "version": "1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/v1/merchant-search/list-subsidiaries": {
      "get": {
        "description": "Este endpoint lista as subsidiárias associadas à holding autenticada.",
        "operationId": "HoldingController_get",
        "parameters": [
          {
            "description": "Token de autorização Bearer",
            "in": "header",
            "name": "Authorization",
            "required": true,
            "schema": {
              "type": "string",
              "example": "Bearer eyJhbGciOiJIUzI1NiJ9..."
            }
          },
          {
            "description": "Número de página para iniciar (>=0)",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Número máximo de itens a serem retornados (limitado em 200)",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Data no formato ISO (UTC-0)",
            "in": "query",
            "name": "start_date",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Data no formato ISO (UTC-0)",
            "in": "query",
            "name": "end_date",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "timezone",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IllegalHoldingCompanyStateException"
                }
              }
            },
            "description": "Este erro aparece quando o merchant não é um holding company."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantNotFoundException"
                }
              }
            },
            "description": "Este erro aparece quando o merchant com o id informado não é encontrado na base de dados."
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Listar Subsidiárias",
        "tags": [
          "Holdings"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Staging server",
      "url": "https://sandbox-api.pagaleve.io"
    },
    {
      "description": "Production server",
      "url": "https://api.pagaleve.com.br"
    },
    {
      "url": "https://pre-analysis.pagaleve.com.br/api/v1",
      "description": "Pre-analysis production server"
    },
    {
      "url": "https://sandbox-pre-analysis.pagaleve.io/api/v1",
      "description": "Pre-analysis staging server"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```