> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Obtener detalles de la empresa

> Este endpoint obtiene información detallada de una empresa

### Parámetros

<ParamField path="companyId" type="string" required>
  El identificador único de la empresa
</ParamField>

### Respuesta

<ResponseField name="success" type="boolean">
  Indica si la operación fue exitosa
</ResponseField>

<ResponseField name="companyId" type="string">
  El identificador único de la empresa
</ResponseField>

<ResponseField name="name" type="string">
  Nombre legal de la empresa
</ResponseField>

<ResponseField name="status" type="string">
  Estado de la cuenta de la empresa: `pending`, `active`, `suspended` o `closed`
</ResponseField>

<ResponseField name="entity" type="object">
  Datos de la entidad empresarial

  <Expandable title="Objeto entity">
    <ResponseField name="name" type="string">
      Nombre legal de la entidad
    </ResponseField>

    <ResponseField name="type" type="string">
      Tipo de entidad (por ejemplo, "LLC", "Corporation")
    </ResponseField>

    <ResponseField name="industry" type="string">
      Sector / industria
    </ResponseField>

    <ResponseField name="registrationNumber" type="string">
      Número de registro de la empresa
    </ResponseField>

    <ResponseField name="taxId" type="string">
      Número de identificación tributaria
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="address" type="object">
  Datos de la dirección de la empresa
</ResponseField>

<ResponseField name="createdAt" type="string">
  Fecha y hora (ISO 8601) de cuándo se creó la cuenta de la empresa
</ResponseField>

<ResponseField name="updatedAt" type="string">
  Fecha y hora (ISO 8601) de la última actualización de la cuenta
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/companies/8f3e1a2b-4c5d-6e7f-8a9b-0c1d2e3f4a5b' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>'
  ```

  ```js Javascript theme={null}
  const response = await fetch('https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/companies/8f3e1a2b-4c5d-6e7f-8a9b-0c1d2e3f4a5b', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
      'api-key': '<api-key>'
    }
  });

  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "companyId": "8f3e1a2b-4c5d-6e7f-8a9b-0c1d2e3f4a5b",
    "name": "Acme Corporation",
    "status": "active",
    "entity": {
      "name": "Acme Corporation LLC",
      "type": "LLC",
      "industry": "Technology",
      "registrationNumber": "12345678",
      "taxId": "98-7654321"
    },
    "address": {
      "line1": "456 Business Ave",
      "city": "San Francisco",
      "region": "CA",
      "postalCode": "94103",
      "countryCode": "US"
    },
    "createdAt": "2024-01-15T10:00:00Z",
    "updatedAt": "2024-01-16T14:30:00Z"
  }
  ```
</ResponseExample>

### Respuestas de error

<ResponseExample>
  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized. Please check your authentication credentials."
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Company not found."
  }
  ```
</ResponseExample>
