Test Payments in a Safe Environment
Build, test, and perfect your payment integration before going live. Full API access, real-time webhooks, and comprehensive test scenarios.
// Initialize Zimswitch payment const payment = await zimswitch.createPayment({ amount: "100.00", currency: "USD", reference: "ORDER-12345", callback_url: "https://your-site.com/webhook" }); // Redirect to checkout window.location.href = payment.checkout_url;
Everything You Need to Integrate
Test Card Numbers
Use our test card numbers to simulate successful payments, declines, and various error scenarios.
Webhook Testing
Configure webhook endpoints and inspect real-time event payloads for payment confirmations.
E-Commerce Sandbox API Keys
Separate test credentials ensure your sandbox activity never affects production data.
Transaction History
View detailed logs of all test transactions including requests, responses, and statuses.
Refund Simulation
Test full and partial refund flows to ensure your integration handles all scenarios.
Security Testing
Validate signature verification and ensure your integration is secure before going live.
RESTful API Endpoints
Our API follows REST conventions with predictable URLs, JSON request/response bodies, and standard HTTP methods.
/api/v1/payments
Create a new payment intent and receive a checkout URL
/api/v1/payments/{id}
Retrieve payment details and current status
/api/v1/payments/{id}/refund
Process a full or partial refund
/api/v1/transactions
List all transactions with filtering and pagination
Simulate a Test Payment
Test the full payment flow with our secure sandbox environment
Test Card Numbers
4111 1111 1111 1111 (Success)
4000 0000 0000 0002 (Decline)
For EcoCash, use any 10-digit number starting with 077 or 078
Need Help Integrating?
Our technical team is ready to assist you with your integration. Get hands-on support from developers who understand the Zimswitch platform.
Live Developer Support