Sandbox vs live
Test freely in sandbox, then go live once your account is verified.
Two environments
| Sandbox | Live | |
|---|---|---|
| Access | Open to every account | Requires approved KYC |
| Money movement | Test transactions only | Real customer payments |
| Credentials | Own consumer key and secret | Own consumer key and secret |
Separate credentials
Each credential belongs to one environment. A sandbox key cannot make live requests, and the reverse. Create one of each from the Credentials page.
Going live
Complete KYC in the dashboard. Until it is approved and your account is switched to live, live STK Push requests are rejected with a 403 error. Approval starts your 3-day free trial. Sandbox is never gated or billed.
The environment parameter
Dashboard read endpoints under /v1 are scoped to one environment. Pass it as a required query parameter.
Example
GET /v1/transactions?environment=sandbox