The Spaire sandbox is a completely separate server from production. It has its own database, its own API, and its own accounts. Nothing you do in the sandbox touches your live data, customers, or balance. Use it to build and test your integration before going live, simulate payment scenarios including failures and 3D Secure, and run automated tests against a real API without side effects.Documentation Index
Fetch the complete documentation index at: https://docs.spairehq.com/llms.txt
Use this file to discover all available pages before exploring further.
The sandbox is a separate environment, not a test mode toggle. As a Merchant of Record handling real financial transactions, Spaire runs test data on entirely separate infrastructure — this ensures test records can never contaminate production accounting.
Access the sandbox
Go to sandbox.spairehq.com or click Go to sandbox from the organization switcher in your dashboard at app.spairehq.com. Create a separate account and organization for the sandbox — your production credentials don’t carry over. You can create as many sandbox accounts and organizations as you need, with no limits.Test cards
Use these card numbers to simulate different payment outcomes. Any future expiration date and any 3-digit CVC will work.| Scenario | Card number |
|---|---|
| Successful payment | 4242 4242 4242 4242 |
| Card declined | 4000 0000 0000 0002 |
| Insufficient funds | 4000 0000 0000 9995 |
| 3D Secure — passes automatically | 4000 0025 0000 3155 |
| 3D Secure — requires interaction | 4000 0027 6000 3184 |
| Card disputed after payment | 4000 0000 0000 0259 |
94103 works for US addresses.
API and SDK
The sandbox API base URL ishttps://sandbox-api.spairehq.com.
Generate an access token from your sandbox organization settings — production tokens don’t work in the sandbox, and sandbox tokens don’t work in production.
Limitations
These apply to the sandbox only. Production behavior is unaffected.- Subscriptions are automatically canceled 90 days after creation
- Payout operations are simulated — no real funds are transferred
- Webhook delivery may have higher latency than production
What’s next
Quickstart
Walk through the full checkout flow using the sandbox.
Authentication
Generate your sandbox access token and make your first API call.

