BuyElectricityRequest
Exactly one of planId or productId must be present; a body with neither is refused with 400 request.plan_id_required.
The plan to buy: the planId the electricity products listing (and GET /v1/plans) returns. Send this or productId; one of them is required.
power-4001Alias of planId, kept for existing integrations. Either the plan id or the canonical product id from the listing is accepted.
04123456789Amount to vend, in kobo (electricity is variable). Minimum ₦100 (10000 kobo). Our markup is added to compute the charge.
500000Optional meter class; defaults to prepaid. Pass postpaid to pay a postpaid (account-billed) meter. Postpaid coverage is disco-dependent; a postpaid request routed to a provider that cannot vend postpaid is rejected before any charge.
Possible values: [prepaid, postpaid]
prepaid{
"planId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientReference": "power-4001",
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"meterNumber": "04123456789",
"amountKobo": 500000,
"meterType": "prepaid"
}