> ## 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.

# Ce que vous pouvez construire avec Whop

> Paiements, versements, identité, communauté et distribution via une seule API. Confiez la configuration à votre agent de code, ou encaissez votre premier paiement dans le sandbox.

Whop est une API unique pour encaisser des paiements, verser de l'argent, vérifier l'identité, accorder des accès et intégrer un chat. Vous pouvez intégrer Whop à votre propre produit, ou publier une app qui s'exécute dans Whop. Tout ce qui suit commence dans le sandbox, où aucun argent réel ne circule.

## Construire avec votre agent de code

Collez ceci dans Claude Code, Cursor, Codex ou tout autre agent de code. Remplacez la dernière ligne par ce que vous construisez.

```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:
```

Le sandbox et la production sont des environnements Whop distincts, avec des comptes, des clés et des webhooks séparés, et leurs clés se ressemblent en tout point. Le prompt nomme les deux afin que votre agent développe dans le sandbox et sache exactement ce qui change au lancement. Pour transmettre durablement les conventions de Whop à votre agent, installez le skill avec `npx skills add https://docs.whop.com`. [Outils IA](https://docs.whop.com/fr/developer/ai/overview.md) présente le serveur MCP, les plugins et la configuration propre à chaque client.

## Ou commencer manuellement

> [card] [Démarrage rapide](https://docs.whop.com/fr/developer/quickstart.md)
>
> Obtenez une clé sandbox, effectuez votre premier appel, payez un checkout avec une carte de test et recevez le webhook. Environ 10 minutes.

## Choisir votre parcours

> [card] [Vous vendez un abonnement ou un produit à paiement unique](https://docs.whop.com/fr/developer/guides/accept-payments.md)
>
> Liens de checkout ou élément Checkout. Premier paiement en moins d'une heure.

> [card] [Vous devez de l'argent à d'autres personnes](https://docs.whop.com/fr/developer/platforms/manual-payouts.md)
>
> Envoyez des versements, intégrez le portail de versement, rechargez des soldes.

> [card] [Vous prélevez une part de ce que d'autres vendent](https://docs.whop.com/fr/developer/platforms/quickstart.md)
>
> Inscrivez des sous-comptes, encaissez en leur nom, versez-leur les fonds.

> [card] [Vous voulez de la distribution, pas seulement de l'infrastructure](https://docs.whop.com/fr/developer/guides/app-views.md)
>
> Publiez une app qui s'exécute dans Whop, là où les entreprises l'installent. Commencez par la CLI, pas par une clé API.

> [card] [Votre produit a besoin que les gens échangent entre eux](https://docs.whop.com/fr/developer/guides/chat/quickstart.md)
>
> Chat, messages privés et forums, intégrés à votre produit.

> [card] [Vous voulez tout voir](https://docs.whop.com/fr/developer/platform-map.md)
>
> Chaque fonctionnalité, et si elle est disponible sous forme d'API, d'élément ou de page hébergée.


## Related topics

- [API Whop Partners](https://docs.whop.com/fr/developer/partners/overview.md)
- [Faire de la publicité avec Whop Ads](https://docs.whop.com/fr/developer/ads/overview.md)
- [Créer des applications Whop](https://docs.whop.com/fr/developer/apps/overview.md)
