POST /v1/bills/electricity

Request body

amount
integer
required

Amount

disco
string
required

Electricity provider’s id (e.g. phed, jed, ibedc etc) - This id can be gotten from doing a fetch of available providers

merchantTxRef
string
required

Merchant Transaction Reference (a unique reference to identify this transaction on your system)

payerName
string
required

The name of the person to be attached to this transaction

customerId
string
required

An unique id to identify the customer to which this payment belongs

meterType
string
required

The meter type to of the meter for which this payment is for. Usually PREPAID or POSTPAID

Response body

code
string
required

Response code

description
string
required

Response description

data
object
amount
string
required

Amount

meta
object
merchantTxRef
string

Merchant Transaction Reference

rrn
string

Retrieval Reference Number (RRN)

timeCreated
string
required

Date and Time of the transaction

type
string
required

The type of this transaction. This is most probably phcn in this case

status
string
required

The status of this transaction