> This page is for MVS Pay.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mvscloud.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mvscloud.com/_mcp/server.

# Repository Structure

`mvs-pay` is a single pnpm + Turborepo monorepo for MVS Cloud Holdings' payment
platform. It owns the merchant/operator UI at `pay.mvscloud.com`, the
Hyperswitch-orchestration service `apps/mvs-pay-extensions`, the dedicated
`MVS_PAY_DATABASE_URL` Postgres + Prisma client, the `pay-crons` Temporal
worker, and `@mvs/mvs-pay-sdk` — the partner SDK consumed by every other MVS
app.

This page is the map. It covers the workspace globs, the **2 apps**, the **4
first-party packages**, the **10 transitional vendored `@mvs/*` packages**, the
`tooling/`, `deploy/`, `docs/`, `tests/`, and `scripts/` directories, and how
the pnpm workspace and Turbo task graph tie them together.

> **Note**
>
> The Hyperswitch pivot is complete. The contract is **Hyperswitch +
> `apps/mvs-pay-extensions` + `@mvs/mvs-pay-sdk` + `@mvs/mvs-pay-ui`** as the only
> payment surface. The legacy Finix-direct surface (the deleted
> `apps/payfac-gateway` and its in-repo `@mvs/payments` HTTP client) has been
> removed. See [The Hyperswitch Pivot](/mvs-pay/guides/concepts/hyperswitch-pivot).

## Top-level layout

The repository root holds the workspace config, the two task runners' config,
and the seven content directories.

```text
mvs-pay/
├── apps/                    # 2 deployable surfaces
│   ├── mvs-pay/             #   Next.js merchant + operator UI (pay.mvscloud.com)
│   └── mvs-pay-extensions/  #   Hono Hyperswitch-orchestration service
├── packages/                # 14 workspace packages (4 first-party + 10 vendored)
├── tooling/                 # @mvs/tailwind-config + @mvs/tsconfig (workspace-private)
├── deploy/                  # Kubernetes manifests (Helm + kustomize) + Argo CD apps
├── docs/                    # architecture, ADRs, runbooks, deploy contract, HANDOFF
├── tests/                   # repo-level Playwright E2E suite (tests/e2e/)
├── scripts/                 # CI guards (deleted-package guard, PHI audit)
├── fern/                    # this documentation site (Fern)
├── package.json             # root scripts → turbo; devDeps: turbo, biome, changesets
├── pnpm-workspace.yaml       # workspace globs, catalog, overrides, hoist rules
├── turbo.json               # task graph + global env passthrough
├── biome.json               # lint + format config
├── .changeset/config.json    # linked release group: @mvs/mvs-pay-sdk + @mvs/mvs-pay-ui
└── .nvmrc                    # Node >=24
```

The workspace globs are declared in `pnpm-workspace.yaml`:

```yaml
packages:
  - apps/*
  - packages/*
  - tooling/*
```

Everything under those three globs is a pnpm workspace package. `deploy/`,
`docs/`, `tests/`, `scripts/`, and `fern/` are **not** workspace packages —
they hold no `package.json` and are not part of the install or Turbo graph
(`tests/e2e/` is driven by the root `test:e2e` script and the `mvs-pay` app's
own Playwright config, not by Turbo).

### Toolchain pins

| Tool       | Version                | Where pinned                                    |
| ---------- | ---------------------- | ----------------------------------------------- |
| Node       | `>=24`                 | `engines.node` in root `package.json`; `.nvmrc` |
| pnpm       | `11.4.0` (with sha512) | `packageManager` in root `package.json`         |
| Turborepo  | `^2.9.15`              | root `devDependencies`                          |
| Biome      | `2.4.16`               | root `devDependencies` (lint + format)          |
| Changesets | `^2.31.0`              | root `devDependencies`                          |
| TypeScript | `6.0.3`                | pnpm `catalog:` (in `pnpm-workspace.yaml`)      |

> **Tip**
>
> Bootstrap with Corepack so the exact pinned pnpm is used:
>
> ```bash
> corepack enable
> corepack prepare pnpm@11.4.0 --activate
> pnpm install --frozen-lockfile
> ```
>
> See [Local Development](/mvs-pay/guides/getting-started/local-development) for the full setup.

## Apps

Two deployable surfaces live under `apps/*`. Both are `private: true` and
versioned at `0.1.0`; neither is published.

| App                    | `name`               | Path                       | Runtime                        | Purpose                                                                                                                                                                            |
| ---------------------- | -------------------- | -------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Merchant + Operator UI | `mvs-pay`            | `apps/mvs-pay/`            | Next.js (App Router), Vercel   | Merchant + operator payments UI served at `pay.mvscloud.com`. Dev port **:3002**.                                                                                                  |
| Extensions service     | `mvs-pay-extensions` | `apps/mvs-pay-extensions/` | Hono, K8s `payments` namespace | Wraps Hyperswitch's API with MVS orchestration (Plaid instant payouts, POS device management, residuals, custom billing). Reached only via `@mvs/mvs-pay-sdk`. Dev port **:3005**. |

### `apps/mvs-pay` (UI)

The Next.js app. Key entry points:

```text
apps/mvs-pay/
├── src/app/           # App Router routes (merchant + operator surfaces)
├── src/components/    # app-local components (composes @mvs/ui, @mvs/mvs-pay-ui)
├── src/lib/           # app-local helpers
├── instrumentation.ts # OpenTelemetry / Datadog bootstrap
├── proxy.ts           # request proxy layer
├── next.config.ts
├── vercel.json        # Vercel deploy config
├── playwright.config.ts + tests/  # app-scoped E2E (api/, ui/, utils/, fixtures/)
└── vitest.config.ts
```

It is deployed on Vercel, not Kubernetes — it has no manifest under `deploy/`.
See [Merchant & Operator UI](/mvs-pay/guides/surfaces/merchant-operator-ui) and
[Deployment Topology](/mvs-pay/guides/infrastructure/deployment-topology).

### `apps/mvs-pay-extensions` (service)

The Hono service that fronts Hyperswitch. Key entry points:

```text
apps/mvs-pay-extensions/
├── src/app.ts        # Hono app composition (route mounting)
├── src/server.ts     # production server entry
├── src/dev.ts        # dev server entry
├── src/routes/       # HTTP route handlers
├── src/services/     # orchestration logic over Hyperswitch + Plaid + Temporal
├── src/middleware/   # auth (internal secret), CORS, rate limiting
├── src/config/
└── src/types.ts
```

It is the only first-party surface in the K8s `payments` namespace that talks to
Hyperswitch; raw connector credentials never reach it — they live only in
Hyperswitch's `merchant_connector_account` config, so application code stays out
of PCI scope. See [Extensions Service](/mvs-pay/guides/surfaces/extensions-service) and the
[API Reference](/mvs-pay/api) tab for its HTTP surface.

> **Warning**
>
> Some routes in `apps/mvs-pay-extensions` are honest **501 stubs** or are gated
> behind deferred work (e.g. some auth paths follow
> [ADR-010 · Internal secret / deferred auth](/mvs-pay/guides/concepts/adrs/adr-010-internal-secret-deferred-auth)).
> Do not assume every documented endpoint is fully implemented — confirm against
> `src/routes/` and the per-feature pages under [Features](/mvs-pay/guides/features/payments-and-refunds)
> before relying on one.

## Packages

`packages/*` holds **14** workspace packages: **4 first-party** packages that
are the heart of mvs-pay, and **10 transitional vendored** copies of
foundational `@mvs/*` packages.

### First-party packages (4)

These are the packages this repo actually owns and develops.

| `name`                        | Path                           | Published?                     | Purpose                                                                                                                                                                                                                 |
| ----------------------------- | ------------------------------ | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `@mvs/mvs-pay-sdk`            | `packages/mvs-pay-sdk/`        | **Yes** (`access: restricted`) | Typed HTTP client for `mvs-pay-extensions`. Consumed by every external MVS app that needs to charge / refund / invoice. Builds to `dist/` (ESM + CJS + types) with subpath exports `.`, `./legacy`, `./mock`, `./iias`. |
| `@mvs/mvs-pay-ui`             | `packages/mvs-pay-ui/`         | **Yes** (`access: restricted`) | React components wrapping the Hyperswitch Web SDK (checkout, payment-method picker). Per [ADR-009](/mvs-pay/guides/concepts/adrs/adr-009-web-only-sdk), web-only. Builds to `dist/`.                                    |
| `@mvs/mvs-pay`                | `packages/mvs-pay/`            | No (`private`)                 | Dedicated mvs-pay Prisma client wrapper bound to `MVS_PAY_DATABASE_URL`. **Owns the schema** (`prisma/`) and migrations via `prisma migrate deploy`. Source entry `src/index.ts`.                                       |
| `@mvs/pay-temporal-workflows` | `packages/temporal-workflows/` | No (`private`)                 | The `pay-crons` Temporal task-queue workflows, activities, schedules, and worker entry.                                                                                                                                 |

> **Warning**
>
> The package directory and the npm name don't always match. `packages/mvs-pay/`
> is the Prisma client `@mvs/mvs-pay` (the database layer) — **not** the
> `apps/mvs-pay` UI and **not** the published SDK. And
> `packages/temporal-workflows/` publishes as `@mvs/pay-temporal-workflows`. Read
> the directory's `package.json` `name` field before assuming.

`@mvs/mvs-pay-sdk` and `@mvs/mvs-pay-ui` are the two **published** packages —
the public surface of mvs-pay for other repos. They are a **linked release
group** in Changesets, so they version together:

```json
// .changeset/config.json
{
  "linked": [["@mvs/mvs-pay-sdk", "@mvs/mvs-pay-ui"]],
  "access": "restricted",
  "baseBranch": "main"
}
```

> **Note**
>
> "Published" here means published to a **restricted** (private) npm scope —
> `publishConfig.access: "restricted"` on both packages. They are not public on
> npmjs.org. When you change the public surface of either, run `pnpm changeset`
> and commit the generated markdown with your PR.

#### `@mvs/pay-temporal-workflows` (the worker package)

```text
packages/temporal-workflows/src/
├── index.ts
├── worker/      # worker entry (pnpm start:worker / start:worker:dev)
├── workflows/   # Temporal workflow definitions
├── activities/  # activity implementations
├── schedules/   # cron schedules (registered via start:schedules)
├── cli/
├── lib/
└── shared/
```

This is the source for the `pay-crons-worker` deployment. See
[Temporal Worker](/mvs-pay/guides/surfaces/temporal-worker).

#### `@mvs/mvs-pay` (the Prisma client)

```text
packages/mvs-pay/
├── prisma/            # the mvs-pay schema (source of truth for the payments DB)
├── prisma.config.ts
├── src/index.ts       # generated client wrapper, bound to MVS_PAY_DATABASE_URL
└── vitest.config.ts
```

Scripts of note: `db:generate`, `db:push`, `db:migrate`, `db:migrate:deploy`,
`db:migrate:status`, `db:studio`. The `db:generate` Turbo task is wired as a
dependency of `build`, `type-check`, and `test` (see the task graph below). The
DB is Neon, per [ADR-004 · Neon, not RDS](/mvs-pay/guides/concepts/adrs/adr-004-neon-not-rds);
see also the [Data Model](/mvs-pay/guides/concepts/data-model) page.

### Transitional vendored packages (10)

The following 10 packages are **transitional vendored copies** of foundational
healthos packages that, in the target architecture, will live in the separate
[`mvs-packages`](https://github.com/MVS-CLOUD/mvs-packages) repo. They are all
`private: true`, pinned to `0.1.0`, and **ignored by Changesets**.

| `name`            | Path                   | Role                                                                                                    |
| ----------------- | ---------------------- | ------------------------------------------------------------------------------------------------------- |
| `@mvs/cache`      | `packages/cache/`      | Redis-backed cache helpers.                                                                             |
| `@mvs/config`     | `packages/config/`     | Shared runtime config.                                                                                  |
| `@mvs/env-config` | `packages/env-config/` | Typed env-var parsing/validation.                                                                       |
| `@mvs/i18n`       | `packages/i18n/`       | Internationalization helpers.                                                                           |
| `@mvs/logs`       | `packages/logs/`       | Structured logging.                                                                                     |
| `@mvs/mail`       | `packages/mail/`       | Transactional email (Resend) + templates (`export`/`preview` scripts).                                  |
| `@mvs/secrets`    | `packages/secrets/`    | Secret access (Infisical). See [Secrets Management](/mvs-pay/guides/infrastructure/secrets-management). |
| `@mvs/shared`     | `packages/shared/`     | Shared components, hooks, lib, schemas, shells, api-client.                                             |
| `@mvs/ui`         | `packages/ui/`         | The shared design-system component library (shadcn-based primitives + blocks).                          |
| `@mvs/utils`      | `packages/utils/`      | General utilities.                                                                                      |

#### The publish-then-flip cutover

These packages are vendored **temporarily**. The cutover plan is mechanical and
per-package:

#### Today — vendored copy

The package exists in this repo under `packages/<name>/`, pinned to `0.1.0`, and
consumers depend on it via `workspace:*`. It is in the Changesets `ignore` list,
so it never appears in the release group and its version is not bumped by the
SDK/UI release.

#### mvs-packages publishes

When [`mvs-packages`](https://github.com/MVS-CLOUD/mvs-packages) publishes the
real `@mvs/<name>` at some `x.y.z`, the canonical source moves out of this repo.

#### Flip the dependency

This repo **deletes** the local `packages/<name>/` copy and changes every
consuming `package.json` dependency from `workspace:*` to `^x.y.z` (the published
range). The package leaves the workspace globs entirely.

#### Guard against stragglers

`scripts/check-deleted-package-references.sh` (run in CI) fails the build if any
code or user-facing doc still references a deleted package. This is the same
guard that enforces the removal of the legacy `@mvs/payments` / `payfac-gateway`
surface.

The authoritative cutover policy is in
[`docs/deploy-contract.md` §"Boundaries with other repos"](https://github.com/MVS-CLOUD/mvs-pay/blob/main/docs/deploy-contract.md).

> **Warning**
>
> Treat the 10 vendored packages as **read-mostly mirrors**, not first-party code.
> Bug-fixing them here is acceptable as a stopgap, but the durable fix belongs in
> `mvs-packages` — otherwise the flip will silently drop your local change. The
> two genuinely owned UI/runtime libraries to evolve here are the **first-party**
> `@mvs/mvs-pay-sdk` and `@mvs/mvs-pay-ui`.

## Tooling

`tooling/*` holds two workspace-private packages that exist only to configure
the others. Neither is published; both are `private: true` at `0.1.0`.

| `name`                 | Path                  | Purpose                                                                                                                     |
| ---------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `@mvs/tailwind-config` | `tooling/tailwind/`   | Shared Tailwind v4 theme (`theme.css`) + `tailwind-animate`.                                                                |
| `@mvs/tsconfig`        | `tooling/typescript/` | Workspace-private tsconfig presets (`base.json`, `nextjs.json`, `react-library.json`, `node`) + Prisma peer-dep type stubs. |

`tooling/typescript/` also ships the ambient declaration files that paper over
cross-repo Prisma generation until it lands natively:

```text
tooling/typescript/
├── base.json
├── nextjs.json
├── react-library.json
├── prisma-stubs.d.ts            # generic Prisma client stub types
├── mvs-pay-prisma-stubs.d.ts    # @mvs/mvs-pay client stubs
└── cross-repo-stubs.d.ts        # peer Prisma clients from healthos
```

> **Note**
>
> The cross-repo Prisma stubs are a documented stopgap: this repo consumes runtime
> peer Prisma clients (`@prisma/control-plane-client`, `@prisma/tenant-client`)
> from healthos **until cross-repo Prisma generation lands**. See the
> [Cross-repo Prisma Build](/mvs-pay/guides/operations/runbooks/cross-repo-prisma-build) runbook.

## Other directories (not workspace packages)

These directories are part of the repo but outside the pnpm workspace globs.

### `deploy/` — Kubernetes manifests

GitOps-driven Kubernetes manifests for the payments stack, all reconciled by
Argo CD ([ADR-005 · Argo CD, not Flux](/mvs-pay/guides/concepts/adrs/adr-005-argo-not-flux)).
Two delivery styles are used by workload.

| Path                                | Workload                                                                                 | Delivery                                                                                                                                  |
| ----------------------------------- | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| `deploy/hyperswitch/`               | Hyperswitch core (router, producer, consumer, drainer, control-center, card-vault, OLAP) | **Upstream Helm chart** (`hyperswitch-app`) with `values-{prod,staging}.yaml` overrides + an ExternalSecret. The chart is **not** forked. |
| `deploy/decision-engine/`           | juspay/decision-engine                                                                   | Small **in-repo Helm chart** (`Chart.yaml`, `values.yaml`, `templates/`).                                                                 |
| `deploy/mvs-pay-extensions/`        | `apps/mvs-pay-extensions` image                                                          | **kustomize** `base/` + `overlays/{prod,staging}/`.                                                                                       |
| `deploy/pay-crons-worker/`          | `packages/temporal-workflows` worker image                                               | **kustomize** `base/` (Deployment + register-schedules Job; no Service) + overlays.                                                       |
| `deploy/payments-namespace/`        | Namespace policy                                                                         | Istio `PeerAuthentication` + `DestinationRule`.                                                                                           |
| `deploy/argo/`                      | All of the above                                                                         | Argo CD `Application` CRs (one per workload).                                                                                             |
| `deploy/aws-waf/`                   | Edge                                                                                     | WAF rule definitions.                                                                                                                     |
| `deploy/datadog-monitors.yaml`      | Observability                                                                            | `DatadogSLO` + `DatadogMonitor` CRs.                                                                                                      |
| `deploy/secretstore-infisical.yaml` | Secrets                                                                                  | `ClusterSecretStore` (prod + staging).                                                                                                    |

`apps/mvs-pay` (the UI) is deployed on **Vercel** and has no manifest here. See
[GitOps & Kubernetes](/mvs-pay/guides/infrastructure/gitops-and-kubernetes) and
[Deployment Topology](/mvs-pay/guides/infrastructure/deployment-topology).

### `docs/` — engineering docs (source)

| Path                                     | Contents                                                                                                                       |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `docs/HANDOFF.md`                        | The engineering handoff for the new owner.                                                                                     |
| `docs/architecture/hyperswitch-pivot.md` | The pivot plan (milestones M0–M28).                                                                                            |
| `docs/architecture/adrs/`                | Architecture Decision Records (mirrored into this Fern site under [Core Concepts](/mvs-pay/guides/concepts/decision-records)). |
| `docs/runbooks/`                         | Operational runbooks (mirrored under [Operations](/mvs-pay/guides/operations/runbooks-index)).                                 |
| `docs/deploy-contract.md`                | The inter-repo contract: owners, consumers, PCI boundary, vendored-package cutover.                                            |
| `docs/cd-ownership.md`                   | Per-surface CD ownership.                                                                                                      |
| `docs/_archive/`                         | Historical material; excluded from the deleted-package CI guard.                                                               |

### `tests/` — repo-level E2E

`tests/e2e/` holds the Playwright end-to-end suite that exercises real payment
flows. Run via the root `test:e2e` script:

```bash
pnpm test:e2e   # playwright test --config tests/e2e/playwright.config.ts
```

Specs cover the payment surface end-to-end — for example
`payment-success.spec.ts`, `payment-decline.spec.ts`, `smart-retries.spec.ts`,
`dynamic-routing.spec.ts`, `routing-priority.spec.ts`,
`routing-volume-split.spec.ts`, `plaid-link.spec.ts`,
`click-to-pay.spec.ts`, `mandate-amend.spec.ts`, `surcharge.spec.ts`,
`taxjar.spec.ts`, `webhook-idempotency.spec.ts`,
`connector-onboarding.spec.ts`, `connector-disable-enable.spec.ts`, and
`cost-observability.spec.ts`. `tests/e2e/docker-compose.hyperswitch.yml` brings
up a local Hyperswitch for the suite; `tests/E2E_TESTING_PLAN.md` documents the
plan.

> **Note**
>
> This repo-level suite is **separate** from the per-package Vitest unit tests
> (the `test` Turbo task) and from the `apps/mvs-pay` app-scoped Playwright suite
> (under `apps/mvs-pay/tests/`). The README cites a green suite of 677 tests —
> that figure spans all of these; this page does not re-derive the count.

### `scripts/` — CI guards

| Path                                          | Purpose                                                                                                                                                                                                                                |
| --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `scripts/check-deleted-package-references.sh` | Fails CI if any reference to a deleted package (e.g. legacy `@mvs/payments`, or a flipped vendored package) survives in code or user-facing docs. Excludes lockfiles, `CHANGELOG.md`, `_archive/`, `.changeset/`, and build artifacts. |
| `scripts/lint/phi-audit.ts`                   | PHI / sensitive-data lint audit.                                                                                                                                                                                                       |

## Workspace + Turbo task graph

### How packages resolve each other

pnpm links workspace packages by their `workspace:*` dependency ranges. A few
install-time settings in `pnpm-workspace.yaml` are load-bearing:

* **`catalog:`** — single source of truth for `dotenv`, `typescript` (`6.0.3`),
  and `zod` versions; packages reference `catalog:` instead of pinning.
* **`publicHoistPattern` + `shamefullyHoist: true`** — Prisma, `@prisma/*`, and
  Better Auth are hoisted so Vercel/Next serverless bundlers can resolve them
  from any package.
* **`overrides`** — pins to keep the dependency tree coherent, notably the
  `@aws-sdk/*` credential surface aligned with Infisical's bundled version, and
  `hono` / `next` / `esbuild` floors.
* **`peerDependencyRules.allowedVersions`** — allows React 19, Zod 4, and the
  Better Auth peer set.

### The Turbo task graph

`turbo.json` defines the task pipeline. The root `package.json` scripts are thin
wrappers over `turbo run <task>`. The key dependency edges:

```mermaid
graph TD
  subgraph "per-package tasks"
    G["db:generate<br />(cache: false)"]
    B["build<br />outputs: dist/, .next/"]
    T["type-check"]
    TE["test<br />outputs: coverage/, junit.xml"]
    L["lint"]
    D["dev<br />(persistent, no cache)"]
    S["start<br />(persistent, no cache)"]
  end

  G --> B
  UB["^build<br />(upstream deps)"] --> B
  UG["^db:generate"] --> B

  UB --> T
  T -.->|"^type-check"| T
  G --> T
  UG --> T

  UB --> TE
  G --> TE
  UG --> TE

  UB --> S
```

Reading the edges:

* **`build`** depends on upstream packages' `build` (`^build`), upstream
  `db:generate` (`^db:generate`), and its **own** `db:generate`. So the Prisma
  client (`@mvs/mvs-pay`) is generated before anything that imports it builds.
* **`type-check`** depends on `^build`, `^type-check`, `^db:generate`, and its
  own `db:generate`.
* **`test`** depends on `^build` and `db:generate` (own + upstream); it emits
  `coverage/**` and `junit.xml` outputs.
* **`db:generate`** is `cache: false` and keyed on `prisma/schema.prisma` +
  `prisma.config.ts` inputs.
* **`dev`** and **`start`** are `persistent` and uncached; `start` waits on
  `^build`.

Concurrency is capped at `20`. `globalDependencies` invalidate the whole cache
when `**/.env.*local`, `tsconfig.json`, or `.nvmrc` change. `turbo.json` also
declares a large `globalPassThroughEnv` allow-list (Infisical creds, the
`MVS_PAY_*` / `HYPERSWITCH_*` / `PLAID_*` / `TEMPORAL_*` / `RESEND_*` / Datadog
vars, etc.) so secrets reach tasks without busting the cache — the full set is
catalogued on the [Environment Variables](/mvs-pay/guides/reference/environment-variables)
page.

### Common commands

```bash
pnpm install --frozen-lockfile
pnpm turbo run type-check        # type-check the whole graph
pnpm turbo run test              # unit tests (Vitest), respects the graph
pnpm turbo run build             # build everything (generates Prisma first)
pnpm build:packages              # turbo run build --filter=./packages/*

pnpm --filter mvs-pay dev               # UI on :3002
pnpm --filter mvs-pay-extensions dev    # extensions service on :3005

pnpm changeset                   # required when changing @mvs/mvs-pay-sdk or -ui
```

#### [Local Development](/mvs-pay/guides/getting-started/local-development)

Prerequisites, env vars, Infisical paths, and the changeset workflow.

#### [Architecture](/mvs-pay/guides/getting-started/architecture)

How the surfaces fit together end to end.

#### [The SDK](/mvs-pay/guides/surfaces/sdk)

The published `@mvs/mvs-pay-sdk` partner client.

#### [The Hyperswitch Pivot](/mvs-pay/guides/concepts/hyperswitch-pivot)

Why the only payment surface is Hyperswitch + extensions.