Endpoint details
GET/isw/payments/billerItems?billerId={billerId}
Query parameters
The unique identifier of the biller
Controller implementation
The endpoint is defined inPaymentsController:
PaymentsController.java:55-59
Service implementation
ThegetBillerItems() method in PaymentsService retrieves the payment items:
PaymentsService.java:136-149
How it works
Execute key exchange
Performs key exchange to obtain fresh authentication credentials for the API call.
Generate auth headers
Creates the required Interswitch authentication headers with the auth token and terminal key.
Making a request
Example request from the Postman collection:The example uses biller ID
23. Replace this with an actual biller ID obtained from the /categoryBillers endpoint.Error handling
Troubleshooting checklist:- Invalid biller ID: Verify the biller exists by checking the category billers list
- Authentication issues: Ensure your client credentials are current and valid
- Key exchange failure: Check that a new client secret was updated after registration
- Network connectivity: Verify connection to the Phoenix API endpoints
Response format
The endpoint returns a JSON response containing all payment items for the biller. Each payment item typically includes:- Payment code (used for validation and payment)
- Item name
- Description
- Amount (if fixed) or amount type (if variable)
- Currency code
- Validation requirements
- Other item-specific metadata
Complete biller query flow
Here’s how the three biller endpoints work together:After retrieving payment items, you’ll typically use the payment code from the selected item when calling the customer validation and payment endpoints.
Using payment items
Once you have the payment items, the next steps are:- Present the items to the user
- Collect the payment code from the selected item
- Use the payment code in the validation request
- Process the payment after successful validation
Next steps
Customer validation
Validate customer details before payment
Make payment
Process the actual payment transaction