Sandbox Environment & Simulation
Use our mirrored sandbox to test 6-digit OTP verification, PIN encryption, timeouts, and edge cases without moving real capital.
Simulate 200 OK OTP Settlement
Use test account: 3800000000001. Generates fixed OTP 123456 for instant verification.
Simulate Customer Cancellation
Use test account: 3800000000002. Triggers a c2b.payment_failed event.
Simulate Insufficient Balance
Request amount >= 1000000 to trigger insufficient_funds error response.
Simulate Network Timeout
Use test account: 3800000000009 to test idempotency retry recovery under timeouts.
Request Code Snippets (cURL, Node, Python, PHP, Go)
Sandbox Quick Test
curl -X POST https://sandbox.developer.vixzz.com/v1/c2b/payments \
-H "Authorization: Bearer vxz_test_sk_9482..." \
-H "Content-Type: application/json" \
-d '{
"type": "paybill",
"businessCode": "882190",
"accountNumber": "3800000000001",
"amount": 100,
"currency": "KES"
}'