Authentication
All MALIPOPAY API requests are authenticated using an API key passed in the request header.
API Key Header
apiToken: YOUR_API_KEY
Getting your API key
- Log in to the MALIPOPAY dashboard
- Navigate to Settings → API Keys
- Copy your Secret Key
Keep your API key secure. Never expose it in frontend code or commit it to version control.
Sandbox vs Production
| Environment | Base URL |
|---|---|
| Sandbox | https://core-staging.malipopay.co.tz/api/v1 |
| Production | https://core-prod.malipopay.co.tz/api/v1 |
Use separate API keys for each environment.