Skip to main content
PIK provides a full sandbox environment that mirrors production functionality. No real funds are ever moved in sandbox. Use it to build and test your integration end to end before switching to production credentials.

Sandbox vs Production

PropertySandboxProduction
API base URLhttps://api-sandbox.pik.global/v1https://api.pik.global/v1
FundsSimulated — no real moneyReal funds
API keySandbox key (separate from production)Production key
WebhooksDelivered to your registered endpointDelivered to your registered endpoint
DataReset periodicallyPersistent
To switch environments, change your API key and base URL. No other code changes are required.

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:
POST /api/v1/sandbox/payments/{payment_id}/simulate
Status to simulateBody
Successful payment”status”: “settled”
Expired payment”status”: “expired”
Underpaid payment”status”: “underpaid”, “amount_received”: “5.00”
Overpaid payment”status”: “overpaid”, “amount_received”: “150.00”
PIK processes the simulated payment and fires the relevant webhook.

Simulating Payouts

POST /api/v1/sandbox/payouts/{payout_id}/simulate
Status to simulateBody
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