Error Handling
HTTP Status Codes
| Status | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad request: invalid parameters |
| 401 | Unauthorized: invalid or missing API key |
| 404 | Not found |
| 429 | Rate limit exceeded |
| 500 | Server error |
Common Error Codes
| Code | Message | Resolution |
|---|---|---|
| 400 | Invalid phone number format | Use format: 255XXXXXXXXX |
| 401 | Invalid API token | Check your API key |
| 400 | Amount below minimum | Minimum is TZS 100 |
| 429 | Rate limit exceeded | Slow down requests |