Endpoint details
GET/isw/payments/categoryBillers?categoryId={categoryId}
Query parameters
The unique identifier of the biller category
Controller implementation
The endpoint is defined inPaymentsController:
PaymentsController.java:49-53
Service implementation
ThegetCategoryBillers() method in PaymentsService handles the biller retrieval:
PaymentsService.java:121-134
How it works
Build endpoint URL
Constructs the Phoenix API endpoint:
{BILLERS_ROOT}/biller-by-category/{categoryId}Generate authentication
Creates Interswitch auth headers using the obtained auth token and terminal key.
Making a request
Example request using the Postman collection:The example uses category ID
10. Replace this with an actual category ID obtained from the /billerCategories endpoint.Error handling
Common issues:- Invalid category ID: Verify the category exists using the
/billerCategoriesendpoint - Authentication failure: Check your client credentials in
application.properties - Network issues: Ensure connectivity to the Phoenix API
Response format
The endpoint returns a JSON response containing all billers in the category. Each biller includes:- Biller ID (needed to fetch payment items)
- Biller name
- Description
- Available payment methods
- Other biller-specific metadata
Typical workflow
Next steps
Get biller categories
Learn how to retrieve category IDs
Get payment items
Fetch payment items for a selected biller