Endpoint
Response (200 OK)
| Field | Type | Description |
|---|---|---|
balance_live | integer | Live wallet balance in UGX |
balance_test | integer | Test wallet balance (virtual, no real value) |
currency | string | Always "UGX" currently |
Caching Recommendations
Avoid fetching balance on every request. Cache the balance for 5–30 seconds server-side:Error Responses
| HTTP | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Invalid or missing API key |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests (100/min) |