whop-billing

Installation
SKILL.md

Whop Billing

Checkout creates a membership linking a user to a product. Your server asks Whop whether a user has access, changes memberships when customers cancel or pause, and handles invoices, refunds, disputes and fraud rules on the payments behind them.

Before you start

  1. Inspect the project first. Note the installed @whop/sdk version (node_modules/@whop/sdk/package.json; whop-sdk in Python, whop_sdk in Ruby), the framework, and whether the client targets sandbox or production. On @whop/api or @whop/sdk below 2.0, upgrade first (whop-migrate). If a name here doesn't compile, search the installed node_modules/@whop/sdk/reference.md for it and trust that over this skill.
  2. Fetch https://docs.whop.com/developer/guides/memberships.md (plus invoices.md, refunds-and-disputes.md or manage-fraud.md under https://docs.whop.com/developer/guides/ for those tasks). 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.
  3. Know how you identify the customer: a Whop user ID (user_...) stored on your user record, a membership ID (mem_...) or license key, or a member ID (mber_...).
  4. Get the account ID (biz_...) and the product ID (prod_...) you gate on.
  5. Every call here runs on your server with an API key. Set that up with whop-api. Without that skill: install @whop/sdk and create new WhopClient({ token: process.env.WHOP_API_KEY, environment: WhopEnvironment.Sandbox }) in server-only code, dropping environment for production (https://docs.whop.com/developer/quickstart.md).
  6. Other whop-* skills named here are optional. When one isn't installed, use the matching guide linked from https://docs.whop.com/developer/start.md instead.

Rules

Installs
2
Repository
whopio/skills
GitHub Stars
1
First Seen
Nov 3, 2026