Pay a bill
Charges the merchant wallet and settles the bill for the given utility and reference. Store data.transid for later status checks.
Authentication
x-api-keystring
Dashboard Public Key. Maps to x-api-key.
x-api-secretstring
Dashboard Secret Key. Maps to x-api-secret. Server-side only.
Headers
x-api-secret
Request
This endpoint expects an object.
utility
utility_ref
amount
Amount in TZS major units.
phone
Optional payer MSISDN. When set, the confirmation SMS goes to this number. When omitted, SenjaroPay sends it to the merchant phone on file.
Response
Payment result
status
code
data
Errors
400
Bad Request Error
401
Unauthorized Error
