Environments
To make testing and developing with Moza quick and easy, we make use of the same API endpoint for sandbox and production, the only difference is the keys used when calling the APIs.
Base URL
All API requests must be made to our one and only endpoint;
https://api.moza.africa/v1
Response Codes
All response headers come with the appropriate response codes as the status of the operation.
- 200 OK
- 201 Created
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 429 Too Many Requests
- 500 Server Error
Best Practices
- Keep your API key secure.
- Validate user input before sending requests.
- Log errors and monitor API usage.
- Use our sandbox environment for testing.
FAQs
How do I get my API key?
Please refer to our onboarding guide to get your API key.