# API Contracts — Phase 1

## Headers

- `Authorization: Bearer <token>`
- `X-Tenant-ID: <tenant_id>`
- `Accept: application/json`

## Endpoints

### `GET /api/v1/plans`
Returns active plans with their limits.

### `GET /api/v1/company`
Returns the active tenant and current plan.

### `PATCH /api/v1/company`
Accepted fields: `name`, `email`, `phone`, `country_code`, `currency`, `timezone`, `locale`.

### `GET /api/v1/company/usage`
Returns current usage against plan limits.

## Standard error

```json
{"message":"Validation failed","errors":{"field":["Reason"]}}
```
