Skip to main content
Whop provides a sandbox environment for testing your integration without affecting production data or making real payments.

Sandbox URLs

Create your sandbox account and API keys at sandbox.whop.com.

Software development kit configuration

To use the sandbox environment with the Whop SDK, configure the baseURL parameter:

Embedded components

The environment option requires @whop/embedded-components-vanilla-js version 0.0.6 or later.
To use embedded components (like payout elements) in sandbox mode, configure the environment option when loading the SDK:
With React:

Application programming interface keys and webhooks

API keys and webhooks work the same in sandbox as they do in production:
  • Create API keys at sandbox.whop.com/dashboard/developer
  • Configure webhooks to receive events from sandbox
  • Use the same authentication headers (Authorization: Bearer YOUR_API_KEY)

Test cards

Use the following test card numbers to simulate payments in sandbox: For all test cards:
  • Use any future expiration date (e.g., 12/34)
  • Use any 3-digit card verification code (e.g., 123)
  • Use any billing address
Use 4000 0000 0000 0341 to test recovery flows where you save a card successfully, but a future charge for that saved card fails.

Known limitations

The sandbox environment has some limitations compared to production:
The following features aren’t available or may not work as expected in sandbox:
  • Payouts - Payout functionality isn’t available yet
  • Apps & Messaging - Don’t use apps or messaging features in sandbox
  • Alternative payment methods - The sandbox supports only card payments (no Apple Pay, Google Pay, etc.)