Bill payments
Pay electricity, government control numbers, TV subscriptions, and other bills from your SenjaroPay merchant wallet.
Browse categories, confirm the customer account with a lookup, then settle the bill. All endpoints are POST to https://api.senjaropay.com and require x-api-key and x-api-secret.
How it works
List categories
Call categories to show the bill groups in your UI (utilities, government, TV, and more).
List billers
Pass a category_id to load the billers in that group. Each biller returns a utilityCode and the reference field your customer should enter.
Authentication
1. List categories
No request body.
Response
2. List subcategories
Request
Response
data is keyed by category name. Each entry is a biller you can look up and pay.
3. Look up an account
Use this when the biller has lookupAvailable: true. Confirm the returned customer name with your payer before charging.
Request
Response
4. Pay a bill
Settles the bill from your merchant wallet. Store data.transid for status checks.
Request
Response
5. Check status
Use when the pay response is unclear, or to reconcile after a timeout.
Request
Response
Errors
Examples on this page are mock values. Keep API keys in server-side secrets.
