1
Instalar
- pnpm
- npm
- yarn
- bun
2
Configurar
.env
nuxt.config.ts
server/utils/, por lo que el cliente está disponible en todas las rutas del servidor.server/utils/commet.ts
3
Suscribir
customers.create es idempotente — si ya existe un cliente con el mismo id, retorna el registro existente.server/api/billing/subscribe.post.ts
4
Verificar Acceso
server/api/billing/access/[customerId].get.ts
5
Trackear Uso
server/api/billing/usage.post.ts
6
Portal del Cliente
server/api/billing/portal.get.ts