> ## 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.

# Get Company Details

> This endpoint retrieves detailed information about a company

### Params

<ParamField path="companyId" type="string" required>
  The unique company identifier
</ParamField>

### Response

<ResponseField name="success" type="boolean">
  Indicates whether the call was successful
</ResponseField>

<ResponseField name="companyId" type="string">
  The unique company identifier
</ResponseField>

<ResponseField name="name" type="string">
  Legal business name
</ResponseField>

<ResponseField name="status" type="string">
  Company account status: `pending`, `active`, `suspended`, or `closed`
</ResponseField>

<ResponseField name="entity" type="object">
  Business entity details

  <Expandable title="Entity object">
    <ResponseField name="name" type="string">
      Entity legal name
    </ResponseField>

    <ResponseField name="type" type="string">
      Entity type (e.g., "LLC", "Corporation")
    </ResponseField>

    <ResponseField name="industry" type="string">
      Industry sector
    </ResponseField>

    <ResponseField name="registrationNumber" type="string">
      Business registration number
    </ResponseField>

    <ResponseField name="taxId" type="string">
      Tax identification number
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="address" type="object">
  Business address details
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO 8601 timestamp when the company account was created
</ResponseField>

<ResponseField name="updatedAt" type="string">
  ISO 8601 timestamp when the company account was last updated
</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>

### Error Responses

<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>
