Cable & Bill Payments
Pay for Electricity
This describes the process of paying for electricity
POST /v1/bills/electricity
Request body
amount
integer
requiredAmount
disco
string
requiredElectricity provider’s id (e.g. phed, jed, ibedc etc) - This id can be gotten from doing a fetch of available providers
merchantTxRef
string
requiredMerchant Transaction Reference (a unique reference to identify this transaction on your system)
payerName
string
requiredThe name of the person to be attached to this transaction
customerId
string
requiredAn unique id to identify the customer to which this payment belongs
meterType
string
requiredThe meter type to of the meter for which this payment is for. Usually PREPAID or POSTPAID
Response body
code
string
requiredResponse code
description
string
requiredResponse description
data
object
amount
string
requiredAmount
meta
object
merchantTxRef
string
Merchant Transaction Reference
rrn
string
Retrieval Reference Number (RRN)
timeCreated
string
requiredDate and Time of the transaction
type
string
requiredThe type of this transaction. This is most probably phcn in this case
status
string
requiredThe status of this transaction