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

# Whop으로 빌드할 수 있는 것

> 하나의 API로 결제, 지급, 신원 확인, 커뮤니티, 유통을 처리하세요. 설정을 코딩 에이전트에게 맡기거나, 샌드박스에서 첫 결제를 받아 보세요.

Whop은 결제 받기, 사람들에게 지급하기, 신원 확인, 액세스 부여, 채팅 임베드를 위한 하나의 API입니다. Whop을 자체 제품에 통합하거나, Whop 안에서 실행되는 앱을 출시할 수 있습니다. 아래의 모든 내용은 실제 돈이 이동하지 않는 샌드박스에서 시작합니다.

## 코딩 에이전트로 빌드하기

이 내용을 Claude Code, Cursor, Codex 또는 다른 코딩 에이전트에 붙여 넣으세요. 마지막 줄을 빌드하려는 내용으로 바꾸세요.

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

샌드박스와 프로덕션은 계정, 키, 웹훅이 각각 분리된 별도의 Whop 환경이며, 두 환경의 키는 생김새가 똑같습니다. 프롬프트에 두 환경을 모두 명시하므로 에이전트는 샌드박스를 대상으로 빌드하고 출시 시 정확히 무엇이 바뀌는지 알게 됩니다. 에이전트에 Whop의 규칙을 영구적으로 제공하려면 `npx skills add https://docs.whop.com`으로 스킬을 설치하세요. [AI 도구](https://docs.whop.com/ko/developer/ai/overview.md)에서 MCP 서버, 플러그인, 클라이언트별 설정을 다룹니다.

## 또는 직접 시작하기

> [card] [빠른 시작](https://docs.whop.com/ko/developer/quickstart.md)
>
> 샌드박스 키를 받고, 첫 호출을 하고, 테스트 카드로 체크아웃을 결제한 뒤 웹훅을 받아 보세요. 약 10분 정도 걸립니다.

## 경로 선택하기

> [card] [구독 또는 일회성 상품을 판매합니다](https://docs.whop.com/ko/developer/guides/accept-payments.md)
>
> 체크아웃 링크 또는 Checkout 엘리먼트. 한 시간 안에 첫 결제를 받으세요.

> [card] [다른 사람들에게 돈을 지급해야 합니다](https://docs.whop.com/ko/developer/platforms/manual-payouts.md)
>
> 지급을 보내고, 지급 포털을 임베드하고, 잔액을 충전하세요.

> [card] [다른 사람들의 판매에서 수수료를 받습니다](https://docs.whop.com/ko/developer/platforms/quickstart.md)
>
> 하위 계정을 등록하고, 대신 수금하고, 지급하세요.

> [card] [인프라뿐 아니라 유통도 원합니다](https://docs.whop.com/ko/developer/guides/app-views.md)
>
> 비즈니스가 설치하는 Whop 안에서 실행되는 앱을 출시하세요. API 키가 아니라 CLI로 시작하세요.

> [card] [제품에 사람들 간의 대화가 필요합니다](https://docs.whop.com/ko/developer/guides/chat/quickstart.md)
>
> 제품에 임베드되는 채팅, DM, 포럼.

> [card] [모든 것을 보고 싶습니다](https://docs.whop.com/ko/developer/platform-map.md)
>
> 모든 기능과 각 기능이 API, 엘리먼트, 호스팅 페이지 중 어떤 형태로 제공되는지 확인하세요.


## Related topics

- [Whop 앱 빌드하기](https://docs.whop.com/ko/developer/apps/overview.md)
- [Whop Partners API](https://docs.whop.com/ko/developer/partners/overview.md)
- [Whop API 핵심 개념](https://docs.whop.com/ko/developer/concepts.md)
