whop-platforms
Installation
SKILL.md
Whop Platforms
A platform is a Whop account with subaccounts under it: one per seller, creator or merchant. You create each subaccount, send its owner through identity verification, then take payments for it (keeping an application fee) and pay it out.
Whop called subaccounts connected accounts until API version 2026-11-03-1, so older docs, code and dashboards use that name. Nothing about creating or paying them changed, but on that version and later include_connected_accounts on payment and dispute lists is include_subaccounts; @whop/sdk 2.7.0 (which sends 2026-10-28) still takes include_connected_accounts.
Before you start
- Inspect the project first. Note the installed
@whop/sdkversion (node_modules/@whop/sdk/package.json;whop-sdkin Python,whop_sdkin Ruby), the framework, and whether the client targets sandbox or production. On@whop/apior@whop/sdkbelow 2.0, upgrade first (whop-migrate). If a name here doesn't compile, search the installednode_modules/@whop/sdk/reference.mdfor it and trust that over this skill. - Fetch
https://docs.whop.com/developer/platforms/enroll-subaccounts.md,https://docs.whop.com/developer/platforms/collect-payments-for-subaccounts.mdandhttps://docs.whop.com/developer/verification/overview.md. If they disagree with this skill, follow the docs and tell the user (see references/skill-feedback.md). Read the changelog (https://docs.whop.com/developer/api/versioning.md) only when you pin or upgrade a version, or a response doesn't match this skill or the docs. - Set up the client with
whop-api, using the platform's Account API key. That key decides which platform owns every subaccount you create. It is a secret: keep it on your server. Without that skill: install@whop/sdkand createnew WhopClient({ token: process.env.WHOP_API_KEY, environment: WhopEnvironment.Sandbox })in server-only code, droppingenvironmentfor production (https://docs.whop.com/developer/quickstart.md). - Build against sandbox first (
https://sandbox-api.whop.com/api/v1). - Decide where onboarding happens: a Whop-hosted page (account link), your own page (Verifications element), or fully through the API.
- Other
whop-*skills named here are optional. When one isn't installed, use the matching guide linked fromhttps://docs.whop.com/developer/start.mdinstead.