Skip to main content

Try it

1

Grab an API key

Create an API key

Opens your dashboard. Under Account API Keys, click Create and copy the key.
The Admin role is fine for poking around. Narrow it down before production.
2

Call the API

That’s your account. The key works.
Not a terminal person? Every endpoint page has a playground: open Retrieve Requesting Account, paste your key, hit Send.

Build it

Install the SDK, check your key, then create a checkout link.
1

Install the SDK

Store your key as WHOP_API_KEY on your server. Don’t put it in browser code, mobile apps, or public repos.
2

Verify your key

If this prints an ID starting with biz_, you’re set.
3

Create a checkout link

One call creates a plan and returns a purchase_url, a live checkout page anyone can pay you at. Open it in your browser.
The link is real: if someone checks out, they get charged and your balance goes up. Already have a plan? Pass plan_id instead of the inline plan (you can’t send both). Create Checkout Configuration has every option, including recurring pricing, trials, and redirect URLs.

Pin your API version

The API is versioned by date. SDKs handle this for you. If you’re calling the API directly, send the header so future changes don’t break you:
See Versioning for how dated versions work.

Next steps

Explore every resource

The full map: commerce, money movement, accounts, and ads.

Send a payout

Pay out your balance to a bank or wallet.

Watch money move

The ledger activity feed behind every balance change.

Handle webhooks

React to payments and memberships as they happen.