Test numbers
Simulate every payment outcome in test mode.
In test mode, the last three digits of the phone number decide the outcome. Use any valid Tanzanian prefix (for example 0754123 + the suffix).
| Phone ends in | Result | failure_code | Webhook |
|---|---|---|---|
any other (e.g. …789) | succeeded | — | collection.succeeded |
…001 | failed | insufficient_funds | collection.failed |
…002 | failed | customer_cancelled | collection.failed |
…003 | failed | customer_timeout | collection.failed |
…004 | succeeded, after an ambiguous network response | — | collection.succeeded |
…006 | failed immediately | invalid_account | collection.failed |
…005 | network unavailable: stays created until it expires (30 min) | customer_timeout | collection.expired |
Examples: 0754123789 succeeds, 0754123001 fails with insufficient funds, 0684123002 (Airtel) is cancelled by the customer.
Test mode runs the same code paths as live mode (validation, idempotency, fees, webhooks, balances), only the mobile-money network is simulated.