Whop

Whop is a marketplace and commerce platform for selling digital products, memberships, and access to online communities, courses, software, and other creator offerings. Sellers ("companies") list products (access passes) with pricing plans, take payments, and manage member access - often gating Discord or Telegram communities, apps, and content. Whop exposes a public developer platform: a current REST API (v1) at api.whop.com/api/v1 and a GraphQL API at api.whop.com/public-graphql, covering memberships, products, plans, payments, users, companies, checkout, transfers/payouts, webhooks, and more, plus an app framework, JavaScript/Python/Ruby SDKs, OAuth, and a realtime WebSocket for apps. Whop is free to start and monetizes through transaction fees rather than a subscription for API access.

12 APIs 0 Features
MembershipsPaymentsCreator EconomyMarketplaceDigital ProductsAccess ControlCommerce

APIs

Whop Memberships API

List, retrieve, and manage the lifecycle of memberships - a user's access to a product - including cancel, uncancel, pause, resume, add free days, and membership webhooks (activ...

Whop Products API

Create, list, retrieve, update, and delete products (access passes) - the sellable offerings a company lists, which contain plans for pricing and carry custom metadata surfaced ...

Whop Plans API

Create, list, retrieve, update, and delete pricing plans attached to products (one-time and recurring), and calculate tax for a plan at a given billing address.

Whop Payments API

List and retrieve payments with rich filtering, create off-session charges against saved payment methods, list fees, and refund, retry, or void a payment, plus payment lifecycle...

Whop Users API

Retrieve and list users, update the current user, and check whether a user has access to a given access pass or experience.

Whop Companies API

Create, list, retrieve, and update companies (whops), onboard sub-merchants under a platform account, and mint child-company API keys.

Whop Checkout Configurations API

Create, list, retrieve, and delete reusable checkout configurations that define custom payment flows, saved payment methods, and off-session charging.

Whop Transfers API

Programmatically pay out users and connected ledger accounts, and list and retrieve transfers.

Whop Webhooks API

Register and manage webhook endpoints that receive platform events for memberships, payments, invoices, disputes, and more.

Whop Promo Codes API

Create, list, retrieve, update, and delete promo / discount codes applied at checkout.

Whop GraphQL API

Whop's GraphQL API at api.whop.com/public-graphql, positioned as the current primary interface for building apps - search/discovery, access passes, plans, memberships, users, an...

Whop Realtime WebSocket API

Bidirectional realtime WebSocket for Whop apps - custom app messages and chat/feed updates - connected and authenticated through the @whop/react and @whop/api SDKs. Whop does no...

Collections

GraphQL

Whop GraphQL API

Whop exposes a public GraphQL API alongside its REST v1 API. GraphQL is

GRAPHQL

Pricing Plans

Whop Plans Pricing

3 plans

PLANS

Rate Limits

Whop Rate Limits

4 limits

RATE LIMITS

FinOps

Whop Finops

FINOPS

Event Specifications

Whop Realtime WebSocket

AsyncAPI 2.6 description of Whop's **realtime WebSocket** surface, used by Whop apps for bidirectional realtime messaging (custom app messages plus chat / feed updates) between ...

ASYNCAPI

Resources

🔗
DomainSecurity
DomainSecurity
🔑
Authentication
Authentication
👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
📰
Blog
Blog

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Whop REST API (v1)
  version: '1.0'
request:
  auth:
    type: bearer
    token: '{{apiKey}}'
items:
- info:
    name: Memberships
    type: folder
  items:
  - info:
      name: List memberships
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/memberships
    docs: Returns a cursor-paginated list of memberships. company_id is required for API keys.
  - info:
      name: Retrieve a membership
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/memberships/:id
      params:
      - name: id
        value: ''
        type: path
        description: The membership ID.
    docs: Retrieves a single membership by ID.
  - info:
      name: Cancel a membership
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/memberships/:id/cancel
      params:
      - name: id
        value: ''
        type: path
    docs: Cancels a membership. Action path modeled from the documented cancel operation.
  - info:
      name: Add free days to a membership
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/memberships/:id/add_free_days
      params:
      - name: id
        value: ''
        type: path
      body:
        type: json
        data: '{"days":7}'
    docs: Extends the renewal period by a number of free days.
- info:
    name: Products
    type: folder
  items:
  - info:
      name: List products
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/products
    docs: Lists products (access passes) for a company.
  - info:
      name: Create a product
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/products
      body:
        type: json
        data: '{"title":""}'
    docs: Creates a new product.
- info:
    name: Plans
    type: folder
  items:
  - info:
      name: List plans
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/plans
    docs: Lists pricing plans.
- info:
    name: Payments
    type: folder
  items:
  - info:
      name: List payments
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/payments
    docs: Returns a cursor-paginated list of payments.
  - info:
      name: Create a payment
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/payments
      body:
        type: json
        data: '{}'
    docs: Charges a saved payment method off-session.
  - info:
      name: Refund a payment
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/payments/:id/refund
      params:
      - name: id
        value: ''
        type: path
    docs: Refunds a payment.
- info:
    name: Users
    type: folder
  items:
  - info:
      name: Retrieve a user
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/users/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Retrieves a user by ID.
  - info:
      name: Check user access
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/users/:id/check_access
      params:
      - name: id
        value: ''
        type: path
    docs: Checks whether a user has access to an access pass / experience.
- info:
    name: Companies
    type: folder
  items:
  - info:
      name: List companies
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/companies
    docs: Lists companies.
  - info:
      name: Create a company
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/companies
      body:
        type: json
        data: '{"title":""}'
    docs: Onboards a sub-merchant company.
- info:
    name: Checkout Configurations
    type: folder
  items:
  - info:
      name: Create a checkout configuration
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/checkout_configurations
      body:
        type: json
        data: '{}'
    docs: Creates a reusable checkout / payment flow configuration.
- info:
    name: Transfers
    type: folder
  items:
  - info:
      name: Create a transfer
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/transfers
      body:
        type: json
        data: '{}'
    docs: Programmatically pays out a user or ledger account.
- info:
    name: Webhooks
    type: folder
  items:
  - info:
      name: Create a webhook
      type: http
    http:
      method: POST
      url: https://api.whop.com/api/v1/webhooks
      body:
        type: json
        data: '{"url":"","events":[]}'
    docs: Registers a webhook endpoint for platform events.
- info:
    name: Promo Codes
    type: folder
  items:
  - info:
      name: List promo codes
      type: http
    http:
      method: GET
      url: https://api.whop.com/api/v1/promo_codes
    docs: Lists promo codes.