Developer Documentation
Sandbox
Sandbox Mode
Sandbox mode is enabled with APP_MODE=sandbox. Sandbox endpoints and CLI tools are blocked when APP_MODE=production.
Safety Rules
- Sandbox transactions do not call real PSP, bank, GhIPSS, or telco providers.
- Sandbox records are marked with
is_sandbox = 1on users, customers, merchants, wallets, payments, withdrawals, transactions, provider transactions, webhooks, settlements, and disputes. - Sandbox provider references use
SHB-SBX-*. - Sandbox webhook event IDs use
SBX_EVT_*. - Sandbox wallets can be credited, debited, or reset by admins only.
Test Accounts
Run php api/cli/seed-sandbox.php.
Default password: Sandbox123!
Default transaction PIN: 1234
Customers:
+233590000101verified customer+233590000102unverified customer+233590000103locked customer+233590000104suspended customer+233590000105low balance customer+233590000106high balance customer
Merchants:
SHB-MER-900001active merchant with active QR tokenSBX_QR_ACTIVESHB-MER-900002pending merchantSHB-MER-900003suspended merchantSHB-MER-900004rejected merchantSHB-MER-900005active QR rotation merchantSHB-MER-900006merchant with revoked QR
Admins:
super_admin@sandbox.sikaahub.comadmin@sandbox.sikaahub.comfinance@sandbox.sikaahub.comcompliance@sandbox.sikaahub.comsupport@sandbox.sikaahub.comrisk@sandbox.sikaahub.com
Reset
Run php api/cli/reset-sandbox.php --force to clear sandbox-only financial, provider, webhook, dispute, wallet, merchant, customer, and user data, then recreate seed data.