Environmentsandbox
API
sandbox-api.whop.com/api/v1
Dashboard + checkout
sandbox.whop.com
Company
biz_hMI9nMwxmq3TOE
API key
apik_••••••••••••••••
// every SDK call on this page
new Whop({ apiKey, baseURL:
"https://sandbox-api.whop.com/api/v1" })
No real money moves here. The sandbox is its own separate account at sandbox.whop.com, nothing crosses over from the real Whop.
2

The product under test

Demo product$10 one-timeone_time
plan
plan_Hyey8pNELCyTg
product
prod_VI7DDPID7Qur1
purchase_url
https://sandbox.whop.com/checkout/plan_Hyey8pNELCyTg
Fetched live from Whop just now. One script, npm run setup, created this product for the demo.
3

Pay with a test card

This is a real checkout, just with fake money. Pay with the success card and your receipt appears below.

4

Break it on purpose

Failures deserve practice too. One card always gets declined, the other asks for a bank security check before it goes through.

The fourth card, 4000 0000 0000 0341, is sneakier. It saves fine, but every charge on it fails, which is how you practice a saved card going bad.
5

Refund it

One click gives the money back. It takes a few seconds, because refunds are processed in the background.

6

Watch the webhooks

Whop reports every payment and refund here the moment it happens. The feed is live and shared by all visitors, so your payment from step 3 should be near the top.

Connecting to the feed...

Every charge and refund from this page also shows up on the sandbox dashboard.
Activity loglive

Everything the page does behind the scenes shows up here.