Fapshi provides two separate environments for developers:
- Sandbox (Test) Environment
- Live (Production) Environment
1. Sandbox Environment (Test Mode)
The Sandbox environment is used for testing and development. It allows you to explore how the Fapshi API works without using real money. Although no real transactions occur, the API behaves exactly like the live environment, ensuring a seamless transition from testing to production.Key Features
- No real funds involved
- Identical API behavior as live
- Separate credentials and base URL
- Ideal for development and integration testing
Sandbox Base URL
https://sandbox.fapshi.comSimulating Payments
When testing local payment methods (e.g., Mobile Money), you can simulate success or failure depending on the number used.Test Numbers Table
| Status | Provider | Test Numbers |
|---|---|---|
| ✅ Success | MTN Cameroon | 670000000, 670000002, 650000000 |
| Orange Cameroon | 690000000, 690000002, 656000000 | |
| ❌ Failure | MTN Cameroon | 670000001, 670000003, 650000001 |
| Orange Cameroon | 690000001, 690000003, 656000001 |
If you use any number not listed above, the transaction outcome will be determined randomly.
2. Live Environment (Production Mode)
The Live environment is where real transactions happen. To use this environment:- You must have an activated account
- You must create a service
- You will receive unique Live API credentials for each service
Live Base URL
https://live.fapshi.comLive API keys are sensitive. You’ll only see your
apikey once, so copy and store it safely. You can generate a new key if compromised — this will immediately revoke the old one.Switching From Sandbox to Live
When moving your application from testing to production:-
Replace your Sandbox credentials (
apiuserandapikey) with your Live credentials -
Switch the base URL from:
https://sandbox.fapshi.comtohttps://live.fapshi.com - Double-check your integration for live readiness
Once you switch to the live environment and update your credentials and base URL, you’re good to go!
Need help? Reach out to support@fapshi.com or visit our Help & Support Center.