Sandbox vs Production
| Property | Sandbox | Production |
|---|---|---|
| API base URL | https://api-sandbox.pik.global/v1 | https://api.pik.global/v1 |
| Funds | Simulated — no real money | Real funds |
| API key | Sandbox key (separate from production) | Production key |
| Webhooks | Delivered to your registered endpoint | Delivered to your registered endpoint |
| Data | Reset periodically | Persistent |
Getting Sandbox Credentials
Log in to the PIK Dashboard and navigate to Settings > API Keys > Sandbox. Generate a sandbox API key. You also receive a pre-funded sandbox wallet for testing.Simulating Payments
After creating a payment request in sandbox, call the simulate endpoint instead of sending real funds:| Status to simulate | Body |
|---|---|
| Successful payment | ”status”: “settled” |
| Expired payment | ”status”: “expired” |
| Underpaid payment | ”status”: “underpaid”, “amount_received”: “5.00” |
| Overpaid payment | ”status”: “overpaid”, “amount_received”: “150.00” |
Simulating Payouts
| Status to simulate | Body |
|---|---|
| Successful payout | ”status”: “completed” |
| Failed payout | ”status”: “failed”, “failure_reason”: “invalid_account” |
Simulating Webhook Events
Trigger any webhook event manually from the PIK Dashboard under Settings > Webhooks > Send test event. Select the event type and fill in the payload fields — PIK delivers it to your registered endpoint.Sandbox Limitations
- Sandbox does not connect to real banking networks or blockchain networks
- Simulated USDT/USDC transactions do not appear on the Solana blockchain
- Simulated AUD transfers do not go through the Australian banking system
- Sandbox data is reset periodically — do not rely on it for long-term persistence
