# Convex Billing > Add Stripe billing/payments to the Convex app via @convex-dev/stripe (checkout + webhook + gating). Source: https://skillsagentes.com/skills/get-convex/agent-skills/convex-billing Repository: https://github.com/get-convex/agent-skills Author: get-convex License: not specified Updated: hace 13 días Context cost: 25 tok installed, 1k tok once triggered, 1k tok with every bundled file Bundle: 1 file, 4 KB Permissions requested: none declared ## Install ```bash npx -y skills add get-convex/agent-skills --skill convex-billing --agent claude-code ``` ## What it does - Instala y configura el componente @convex-dev/stripe en convex.config.ts - Crea una ruta httpAction que registra el webhook de Stripe con verificación de firma automática - Genera una acción createSubscriptionCheckout para iniciar el checkout de Stripe - Genera una query isSubscribed que consulta el estado de suscripción guardado en las tablas del componente ## Use it when - Cuando hay que añadir pagos o suscripciones de Stripe a una app Convex - Cuando se necesita gating server-side de funciones según el estado de suscripción del usuario ## What triggers it - "Añade Stripe billing a mi app Convex" - "Quiero cobrar suscripciones con Stripe en Convex" - "Configura el checkout y el webhook de Stripe con @convex-dev/stripe" ## Before you install - Requiere claves STRIPE_SECRET_KEY y STRIPE_WEBHOOK_SECRET configuradas en las variables de entorno de Convex. - Environment: SITE_URL ## Files - SKILL.md — 4 KB ## SKILL.md Not reproduced here. Read it at https://github.com/get-convex/agent-skills/blob/main/skills/convex-billing/SKILL.md --- Skills Agentes — https://skillsagentes.com/skills/get-convex/agent-skills/convex-billing