Test Payments in a Safe Environment
Build, test, and perfect your payment integration before going live. Hosted checkout, server-side result verification, and comprehensive test scenarios.
# Create a hosted checkout session curl -X POST "$BASE_URL/v1/checkouts" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -d "entityId=$ENTITY_ID" \ -d "amount=10.00" \ -d "currency=USD" \ -d "paymentType=DB" # After the shopper returns, verify with GET resourcePath
Everything You Need to Integrate
Sandbox Credentials
Use separate test credentials to simulate payment journeys without affecting production data.
Shopper Result URL
The gateway redirects the shopper to your result URL with a resourcePath. Verify that path on your server before fulfilment. This is not an asynchronous webhook feed.
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.
Refunds and reversals
Refund (RF) and reversal operations depend on acquirer enablement. Confirm availability with your bank before treating them as production-ready.
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.
/v1/checkouts
Create a hosted checkout session. Host is environment-specific (UAT or live). Do not send credentials in examples.
{resourcePath}?entityId=...
Verify payment status using the returned resourcePath. Empty body. Do not reuse the create-checkout fields.
Refund / reversal
Requires confirmation: RF/reversal APIs depend on acquirer enablement and are not presented as production-ready here.
Shopper result URL
Browser return URL after payment. This is not an asynchronous webhook. Confirm server-to-server notifications separately if they are provisioned.
Simulate a Test Payment
Test the full payment flow with our secure sandbox environment
Run a standard Copy-and-Pay checkout.
Disabled wallets are available on Advanced Payments → Wallets.
Prepare checkout, render the widget, and verify payment status step-by-step.
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