Documentation Index
Fetch the complete documentation index at: https://docs.waffo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sandbox Overview
Waffo Pancake provides a complete sandbox environment for development and testing. No real money moves. Everything works identically to production.Safe
No real money moves.
Full Features
Everything works like production.
Test vs Production
| Sandbox (Test) | Production (Live) | |
|---|---|---|
| Transactions | Simulated | Real charges |
| Money | Fake | Real funds |
| Data | Isolated | Production |
| Webhooks | Fully functional | Fully functional |
| API Behavior | Identical | Identical |
Switching Environments
In the Dashboard
Toggle Test/Live mode in the Dashboard header.In API Calls
Use theX-Environment header:
| Header Value | Mode |
|---|---|
X-Environment: test | Sandbox |
X-Environment: prod | Production |
API Keys
API Keys are created for a specific environment. When using API Key authentication, the environment is determined by the key — noX-Environment header needed.
Test Cards
Successful Payments
| Card | Type |
|---|---|
4576 7500 0000 0110 | Visa Credit |
2226 9000 0000 0110 | Mastercard Credit |
4001 7000 0000 0110 | Visa Debit |
2226 9300 0000 0110 | Mastercard Debit |
Declined Payments
| Card | Type |
|---|---|
4576 7500 0000 0220 | Visa Credit |
2226 9000 0000 0220 | Mastercard Credit |
4001 7000 0000 0220 | Visa Debit |
2226 9300 0000 0220 | Mastercard Debit |
Any future expiry date and any 3-digit CVC will work with test cards.
Test Webhooks
Webhooks fire normally in the sandbox. To test:- 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 production
Test Subscriptions
Test the full subscription lifecycle:- Create — Subscribe via test checkout
- Bill — Billing occurs on schedule
- Update — Change plans via Customer Portal or API
- Cancel — Test cancellation flow (takes effect at period end)
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
Going Live
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.Go-Live Checklist
- Complete end-to-end testing in sandbox
- Test edge cases (declined cards, failures)
- Verify webhook handling
- Test checkout on mobile devices
- Complete business details
- Review product pricing
- Sync products from test to production