Skip to main content
Connect Whop by pasting an API key and your company ID. CrispStats imports your past payments, creates its own webhook when the key allows it, and records one-time payments, new memberships, renewals, refunds and lost chargebacks from then on. Put the visitor id in the checkout’s metadata and each sale is tied to the visit that led to it.

What is recorded

The amount is the payment’s total after discounts, tax included, in the payment’s currency. Every payment is read back from Whop’s API with your key before it counts as verified revenue. Sales from Whop’s own pages are counted without a visit: only checkouts that start on your site can carry the visitor id.

Connect Whop

1

Open the Whop panel

In CrispStats, open the site’s Settings, then Integrations. Select Connect a payment provider and choose Whop.
2

Create the API key

Under Whop API key, select Open the Whop developer dashboard. Then:
  1. Under Account API keys, choose Create.
  2. Name it CrispStats and choose custom permissions.
  3. Tick Read payments, Read disputes and Manage webhooks.
  4. Copy the key and paste it here.
3

Paste the company ID

Under Company ID, paste your company ID. It starts with biz_ and is in the address bar of your Whop dashboard (the Open your Whop dashboard link). You can paste the whole address: CrispStats keeps only the ID.
4

Connect

CrispStats checks the key against the company at once. Select Connect Whop.With Manage webhooks, CrispStats creates one webhook for the company and the row shows Connected. Live. Without it, the row says “Updates every minute. Add Manage webhooks to the key to see sales the moment they happen.”
5

Pass the visitor id at checkout

If the key cannot read the company’s payments, the panel says “This key cannot read payments for” your company ID, “Check the company ID, or add Read payments to the key.” A company ID pasted into the key field, or another provider’s key, is refused with a message saying which field it belongs in.
Whop’s documentation names these permissions payment:basic:read, payment:dispute:read and developer:manage_webhook. The labels in Whop’s permission picker may read slightly differently from the ones above. Whop does not document a prefix for API keys, so the panel checks only that the key is at least 24 characters with no spaces.

What the key can do

Whop advises a custom permission set over an Admin key, and so does CrispStats: an Admin key could move money. CrispStats does not ask to read your company’s name, so the row may show Connected without it. It never moves money.

How fresh the numbers are

With Manage webhooks, Whop sends each payment within seconds, and CrispStats checks every 15 minutes as a safety net. Without it, CrispStats reads new payments and refunds every minute.

Past payments

When you connect, CrispStats imports every paid payment and refund of the company since your first. See revenue history.

Test mode

Whop’s sandbox keys look the same as live keys. CrispStats tries Whop’s live API first and the sandbox second; a key only the sandbox accepts gets “This is a test key. Test payments show with a Test tag and never count as verified revenue.” and the choice of Connect in test mode or Use a live key. Sandbox keys are made at sandbox.whop.com/dashboard/developer.

Pass the visitor id at checkout

Create a checkout configuration on your server with the visitor id in its metadata, then send the visitor to its purchase URL. Whop’s documentation says payments made from a checkout configuration inherit its metadata.
Use your own server key here, with the permission Whop asks for to create checkouts, not the key you gave CrispStats. Whop’s own tracking id (wuid) is never read as a visitor id. A payment without crispstats_visitor_id is still recorded and counted, without a visit.

Disconnect

Select Disconnect on the Whop row. CrispStats deletes its webhook in Whop and destroys the saved key and signing secret. Payments already recorded stay. If Whop does not let CrispStats remove the webhook, delete the one named CrispStats revenue attribution in Whop, under Developer, then Webhooks.

Next steps

Pass the visitor id

When there is no id, and attributing across days.

Refunds and renewals

How payment kinds are recorded across providers.

Revenue history

What the import reads and how it avoids counting twice.
Last modified on November 24, 2026