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

# pay: routes

> Source entry points and route ownership for the pay workspace.

Runtime: **Next.js App Router**. Source: [apps/pay](https://github.com/tutur3u/platform/blob/main/apps/pay). Package: `@tuturuuu/pay`.

This inventory lists concrete Next page and handler files, including generated wrappers. Methods are lexical source evidence; consult the implementation for re-exports, authorization, status codes, payloads, and fallbacks. Filesystem presence does not establish public access, deployment, entitlement, or a supported external API contract. Route groups are omitted from URLs; dynamic parameters are shown in brackets.

| URL pattern | Page or HTTP methods | Source |
| - | - | - |
| `/[locale]/[wsId]/billing` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/%5Blocale%5D/%5BwsId%5D/billing/page.tsx) |
| `/[locale]/[wsId]/billing/success` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/%5Blocale%5D/%5BwsId%5D/billing/success/page.tsx) |
| `/[locale]/dashboard` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/%5Blocale%5D/dashboard/page.tsx) |
| `/[locale]/login` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/%5Blocale%5D/login/page.tsx) |
| `/[locale]` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/%5Blocale%5D/page.tsx) |
| `/[locale]/verify-token` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/%5Blocale%5D/verify-token/page.tsx) |
| `/api/auth/logout` | GET, POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/auth/logout/route.ts) |
| `/api/auth/refresh-app-session` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/auth/refresh-app-session/route.ts) |
| `/api/auth/verify-app-token` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/auth/verify-app-token/route.ts) |
| `/api/billing/[wsId]/invoice` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/billing/%5BwsId%5D/invoice/route.ts) |
| `/api/build-info` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/build-info/route.ts) |
| `/api/cron/payment/orders` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/cron/payment/orders/route.ts) |
| `/api/cron/payment/products` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/cron/payment/products/route.ts) |
| `/api/cron/payment/subscriptions` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/cron/payment/subscriptions/route.ts) |
| `/api/payment/credit-packs/checkouts` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/credit-packs/checkouts/route.ts) |
| `/api/payment/customer-portal/subscriptions/[subscriptionId]` | DELETE, PATCH | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/customer-portal/subscriptions/%5BsubscriptionId%5D/route.ts) |
| `/api/payment/migrations/subscriptions/cross-check/phase-1` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/migrations/subscriptions/cross-check/phase-1/route.ts) |
| `/api/payment/migrations/subscriptions/cross-check/phase-2` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/migrations/subscriptions/cross-check/phase-2/route.ts) |
| `/api/payment/migrations/subscriptions/cross-check/phase-3` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/migrations/subscriptions/cross-check/phase-3/route.ts) |
| `/api/payment/migrations/subscriptions/cross-check` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/migrations/subscriptions/cross-check/route.ts) |
| `/api/payment/migrations/subscriptions/duplicates` | DELETE | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/migrations/subscriptions/duplicates/route.ts) |
| `/api/payment/migrations/subscriptions` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/migrations/subscriptions/route.ts) |
| `/api/payment/migrations/subscriptions/unexisted-workspaces` | DELETE | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/migrations/subscriptions/unexisted-workspaces/route.ts) |
| `/api/payment/orders/[orderId]/invoice` | GET, POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/orders/%5BorderId%5D/invoice/route.ts) |
| `/api/payment/seats` | GET, PATCH, POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/seats/route.ts) |
| `/api/payment/subscriptions/[subscriptionId]/change` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/subscriptions/%5BsubscriptionId%5D/change/route.ts) |
| `/api/payment/subscriptions/[subscriptionId]/checkouts` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/subscriptions/%5BsubscriptionId%5D/checkouts/route.ts) |
| `/api/payment/subscriptions/[subscriptionId]/preview` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/subscriptions/%5BsubscriptionId%5D/preview/route.ts) |
| `/api/payment/webhooks` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/payment/webhooks/route.ts) |
| `/api/v1/workspaces/[wsId]/ai/credits` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/v1/workspaces/%5BwsId%5D/ai/credits/route.ts) |
| `/api/v1/workspaces/[wsId]/billing` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/v1/workspaces/%5BwsId%5D/billing/route.ts) |
| `/api/v1/workspaces/[wsId]/billing/summary` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/pay/src/app/api/v1/workspaces/%5BwsId%5D/billing/summary/route.ts) |

[All apps and services](/reference/repository/catalog). [Versions](/reference/repository/versions).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.