Integration testing environment
KulmiPay provides two environments:- Sandbox / development for testing integrations.
- Live / production for real transactions.
Resources for KulmiPay integration and API testing
Sandbox / development environment
Use sandbox while building and testing your application.
Sandbox API keys use test prefixes:
Create sandbox keys from API Applications in the sandbox dashboard.
Live environment
Use live only when you are ready to process real payments.
Live API keys use live prefixes:
Testing details for sandbox environment
Create a checkout session
Use your sandbox public key to create a test checkout.Authenticate protected sandbox requests
For backend-only API calls, pass your sandbox secret key as a Bearer token.Test M-Pesa phone numbers
Test amounts
Use small amounts such as1, 5, or 10 to keep test records easy to review.
Switching from sandbox to live
When you are ready to go live:- Replace
https://sandbox.kulmipay.comwithhttps://app.kulmipay.com. - Replace sandbox keys with live keys.
- Use
https://checkout.kulmipay.comfor live hosted checkout. - Point webhooks to your production HTTPS endpoint.
- Complete live business verification before processing real payments.
If you are using the
kulmipay browser SDK, set live: true when switching to production.