Whop Cli
Manage Whop digital products store — create products, plans, track payments, manage memberships.
- Rating
- 4.6 (423 reviews)
- Downloads
- 16,332 downloads
- Version
- 1.0.0
Overview
Manage Whop digital products store — create products, plans, track payments, manage memberships.
Complete Documentation
View Source →
Whop Store Management
Manage your Whop digital products store via API.
Setup
- Get API key from Whop dashboard → Settings → Developer
- Set environment variables:
export WHOP_API_KEY="apik_..."
export WHOP_COMPANY_ID="biz_..."
Usage
import { default as Whop } from '@whop/sdk';
const client = new Whop();
const CID = process.env.WHOP_COMPANY_ID;
// List products
const products = await client.products.list({ company_id: CID });
// Create product
const product = await client.products.create({
company_id: CID,
title: 'My Product'
});
// Create pricing plan
const plan = await client.plans.create({
product_id: product.id,
company_id: CID,
plan_type: 'one_time', // or 'renewal'
initial_price: 29,
base_currency: 'usd'
});
// plan.purchase_url = checkout link
// Check payments
const payments = await client.payments.list({ company_id: CID });
// Check memberships
const members = await client.memberships.list({ company_id: CID });
Available Resources
products, plans, payments, memberships, experiences, files, webhooks, promoCodes, courses, forums, chatChannels, checkoutConfigurations, reviews, leads, notifications
Built by Versatly
Store: https://whop.com/versatly-holdings/ Products: https://store.versatlygroup.com
Installation
openclaw install whop-cli
💻Code Examples
import { default as Whop } from '@whop/sdk';
const client = new Whop();
const CID = process.env.WHOP_COMPANY_ID;
// List products
const products = await client.products.list({ company_id: CID });
// Create product
const product = await client.products.create({
company_id: CID,
title: 'My Product'
});
// Create pricing plan
const plan = await client.plans.create({
product_id: product.id,
company_id: CID,
plan_type: 'one_time', // or 'renewal'
initial_price: 29,
base_currency: 'usd'
});
// plan.purchase_url = checkout link
// Check payments
const payments = await client.payments.list({ company_id: CID });
// Check memberships
const members = await client.memberships.list({ company_id: CID });Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
Adversarial Prompting
Adversarial analysis to critique, fix.