# Get Entity Details (Banking Connectivity)

Retrieve the details of an existing entity. Sensitive fields are masked in the response.

**GET** `/banking/entities/{entity_id}`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Get Entity Details (Banking Connectivity)

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Path parameters

- `entity_id` (string, required)
  The `id` of the entity obtained from [Create Entity](/reference/create-entity)

## Responses

### 200

- `account_id` (string)
- `merchant_entity_id` (string)
- `national_entity` (string)
- `phone` (object)
  - `country_code` (string)
  - `number` (string)
- `address` (object)
  - `address_line_1` (string)
  - `address_line_2` (string)
  - `building_number_1` (string)
  - `building_number_2` (any)
  - `city` (string)
  - `state` (string)
  - `zip_code` (string)
  - `country` (string)
- `entity_detail` (object)
  - `individual` (object)
    - `first_name` (string)
    - `last_name` (string)
    - `email` (string)
    - `date_of_birth` (string)
    - `gender` (string)
    - `country_of_residence` (string)
    - `tax_information` (object[])
      - `country` (string)
      - `tax_id` (string)
      - `tax_id_type` (string)
      - `is_primary` (boolean)
    - `document` (object)
      - `document_type` (string)
      - `document_number` (string)
      - `issuing_country` (string)
      - `issued_at` (string)
      - `expires_at` (string)
  - `entity` (any)

Example:

```json
{
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "merchant_entity_id": "merchant_user_12345",
  "national_entity": "INDIVIDUAL",
  "phone": {
    "country_code": "+1",
    "number": "2025551234"
  },
  "address": {
    "address_line_1": "123 Main St",
    "address_line_2": "Apt 4B",
    "building_number_1": "123",
    "building_number_2": null,
    "city": "San Francisco",
    "state": "CA",
    "zip_code": "94102",
    "country": "US"
  },
  "entity_detail": {
    "individual": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john@example.com",
      "date_of_birth": "1990-01-15",
      "gender": "M",
      "country_of_residence": "US",
      "tax_information": [
        {
          "country": "US",
          "tax_id": "123-45-6789",
          "tax_id_type": "SSN",
          "is_primary": true
        }
      ],
      "document": {
        "document_type": "SSN",
        "document_number": "123-45-6789",
        "issuing_country": "US",
        "issued_at": "2010-01-15",
        "expires_at": "2030-01-15"
      }
    },
    "entity": null
  }
}
```

### 401

Unauthorized

Example:

```json
{}
```

### 404

Not Found

Example:

```json
{}
```