Test Everything. Break Nothing.
Build and test your entire integration without real transactions. No real charges. No real payouts. Just safe experimentation.Safe
No real money moves.
Full Features
Everything works like Live Mode.
Test vs Live
| Test Mode | Live Mode | |
|---|---|---|
| Transactions | Simulated | Real charges |
| Money | Fake | Real funds |
| Data | Isolated | Production |
| Webhooks | Fully functional | Fully functional |
| API Behavior | Identical | Identical |
X-Environment header in API calls.
| Header Value | Mode |
|---|---|
X-Environment: test | Test Mode |
X-Environment: prod | Live Mode |
API Keys by Environment
API Keys are created for a specific environment (test or production). When creating an API key in the Dashboard, you select which environment the key belongs to.| Environment | Purpose |
|---|---|
| Test | Development and testing |
| Production | Real payments |
API Keys use key pair authentication, not prefixed secret keys. See Authentication for details.
Test Cards
Successful Payments
| Card | Brand |
|---|---|
4242 4242 4242 4242 | Visa |
5555 5555 5555 4444 | Mastercard |
3782 822463 10005 | Amex |
Declined Payments
| Card | Error |
|---|---|
4000 0000 0000 0002 | Declined |
4000 0000 0000 9995 | Insufficient funds |
4000 0000 0000 0069 | Expired card |
3D Secure
| Card | Behavior |
|---|---|
4000 0027 6000 3184 | Requires authentication |
4000 0000 0000 3220 | Authentication fails |
Any future expiry date. Any 3-digit CVC.
Test Payment Methods
Digital Wallets
Test Mode shows simulated UI:- Apple Pay — Safari/iOS
- Google Pay — Chrome/Android
Test Webhooks
Webhooks fire normally in Test Mode. To test your webhook endpoints:- Register your webhook endpoint in Dashboard —> Developers
- Switch to Test Mode
- Perform actions that trigger events (create orders, complete payments)
- Your endpoint receives webhook events just like in Live Mode
Test Subscriptions
Test the full lifecycle:- Create — Subscribe via test checkout
- Bill — Billing occurs on schedule (use short intervals for faster testing)
- Update — Change plans via the Customer Portal or API
- Cancel — Test cancellation flow
- Expire — Verify expired subscription behavior
Test Data
Isolation
Test data is completely separate:- Test products don’t appear in Live Mode
- Test customers are separate
- Test transactions don’t affect live reports
Environment Sync
When ready to go live, sync your products from test to production:The publish-product endpoint is a one-way operation from test to production. It does not require an
X-Environment header.Going Live Checklist
Before accepting real payments:- Complete end-to-end testing in test mode
- Test edge cases (declined cards, failures)
- Verify webhook handling
- Test checkout on mobile devices
- Connect bank account (Finance —> Payout Setup)
- Complete business details (Settings —> Business Details)
- Review product pricing
- Sync products from test to production using publish-product
Quickstart
Full going-live checklist.