ChangelogNo. 024
New feature
Test mode: build your integration without moving real money
- Type
- New feature
- Area
- API
- Shipped
- Issue
- No. 024 of 37
What changed
PalPluss now has test API keys. Requests made with a test key behave like live ones, including STK Push, payouts and callbacks, but no money moves and nothing reaches M-Pesa. Payments settle by simulation, so you can build and check your whole flow, callbacks included, before you go live. Any key can be switched between test and live in the console, with a warning before it goes live.
- 01Create a test key in the console, or switch an existing key between test and live.
- 02Test STK Push payments and payouts settle on their own, and send your callbacks as usual.
- 03A request always runs in the mode it was made in, even if you switch the key afterwards.
- 04Live keys start with pp_live_ and test keys with pp_test_.