How biller management works
The biller management functionality is built around three main operations:Get biller categories
Retrieve all available biller categories for your terminal. Categories group related billers together (e.g., utilities, telecommunications, government services).
Get billers by category
Once you have a category ID, fetch all billers within that category to present payment options to your users.
Controller implementation
All biller-related endpoints are exposed through thePaymentsController class:
PaymentsController.java:43-59
Authentication requirements
Each biller query operation:- Performs a key exchange to obtain an auth token and terminal key
- Generates Interswitch authentication headers
- Makes the HTTP GET request to the Phoenix API
- Returns the response data
API endpoints
| Endpoint | Method | Description |
|---|---|---|
/isw/payments/billerCategories | GET | Retrieve all biller categories |
/isw/payments/categoryBillers | GET | Get billers for a specific category |
/isw/payments/billerItems | GET | Get payment items for a biller |
The base URL for the middleware is
localhost:8081 by default. All endpoints are prefixed with /isw/payments.Next steps
Get categories
Learn how to retrieve biller categories
Get billers
Fetch billers by category ID
Get payment items
Retrieve payment items for a biller