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

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Qué puedes crear con Whop

> Pagos, pagos salientes, identidad, comunidad y distribución a través de una sola API. Delega la configuración a tu agente de programación o cobra tu primer pago en el sandbox.

Whop es una sola API para cobrar pagos, pagar a personas, verificar identidades, conceder acceso e integrar chat. Puedes integrar Whop en tu propio producto o lanzar una app que se ejecute dentro de Whop. Todo lo que aparece a continuación empieza en el sandbox, donde no se mueve dinero real.

## Construye con tu agente de programación

Pega esto en Claude Code, Cursor, Codex o cualquier agente de programación. Sustituye la última línea por lo que estás construyendo.

```text Prompt theme={null}
Build my Whop integration. Build and test in the Whop sandbox. Production is for launch only.

Whop has two environments. Never mix their API keys, URLs, or webhook secrets:
- SANDBOX (build and test here, no real money): API https://sandbox-api.whop.com/api/v1, keys and webhooks at https://sandbox.whop.com/dashboard/developer, SDK environment Sandbox.
- PRODUCTION (launch only, real money): API https://api.whop.com/api/v1, keys and webhooks at https://whop.com/dashboard/developer, SDK environment Production, which is the SDK default.

1. Read https://docs.whop.com/skill.md and follow it.
2. Connect the Whop MCP server at https://mcp.whop.com/mcp to search the docs. It acts on PRODUCTION data, so don't use it to create or change anything.
3. Read WHOP_ENVIRONMENT (sandbox or production), WHOP_API_KEY, and WHOP_WEBHOOK_SECRET from the server's environment. Choose the SDK environment from WHOP_ENVIRONMENT, and default to sandbox when it's unset.
4. Follow https://docs.whop.com/developer/quickstart.md to make the first call, create a checkout, and handle the payment.succeeded webhook.
5. Ask me before running anything against production.

What I'm building:
```

El sandbox y la producción son entornos de Whop independientes, con cuentas, claves y webhooks separados, y sus claves tienen el mismo aspecto. El prompt nombra ambos para que tu agente construya contra el sandbox y sepa exactamente qué cambia en el lanzamiento. Para darle a tu agente las convenciones de Whop de forma permanente, instala la skill con `npx skills add https://docs.whop.com`. [Herramientas de IA](https://docs.whop.com/es/developer/ai/overview.md) cubre el servidor MCP, los plugins y la configuración para cada cliente.

## O empieza a mano

> [card] [Inicio rápido](https://docs.whop.com/es/developer/quickstart.md)
>
> Obtén una clave de sandbox, haz tu primera llamada, paga un checkout con una tarjeta de prueba y recibe el webhook. Unos 10 minutos.

## Elige tu camino

> [card] [Vendes una suscripción o un producto de pago único](https://docs.whop.com/es/developer/guides/accept-payments.md)
>
> Enlaces de checkout o el elemento Checkout. Tu primer pago en menos de una hora.

> [card] [Debes dinero a otras personas](https://docs.whop.com/es/developer/platforms/manual-payouts.md)
>
> Envía pagos, integra el portal de pagos y recarga saldos.

> [card] [Te quedas con una parte de lo que venden otros](https://docs.whop.com/es/developer/platforms/quickstart.md)
>
> Inscribe subcuentas, cobra en su nombre y págales.

> [card] [Quieres distribución, no solo infraestructura](https://docs.whop.com/es/developer/guides/app-views.md)
>
> Lanza una app que se ejecute dentro de Whop, donde los negocios la instalan. Empieza con la CLI, no con una clave de API.

> [card] [Tu producto necesita que las personas hablen entre sí](https://docs.whop.com/es/developer/guides/chat/quickstart.md)
>
> Chat, mensajes directos y foros, integrados en tu producto.

> [card] [Quieres verlo todo](https://docs.whop.com/es/developer/platform-map.md)
>
> Cada funcionalidad, y si se ofrece como API, como elemento o como página alojada.
