Purchase

Electricity Purchase

POST https://sagecloud.ng/api/v2/electricity/purchase

This endpoint allows you to purchase electricity.

Headers

NameTypeDescription

Authorization

string

Check the Headers page.

Request Body

NameTypeDescription

reference

string

A unique key generated by you

type

string

The biller type. e.g ibadan_electric_prepaid

account_number

string

The meter no.

amount

string

Amount to be purchased

phone

string

Phone number of the customer

{    
    "success": true,
    "status": "success",
    "message": "ELECTRICITY purchase successful",
    "data": {
        "token": "61679094489051385767",
        "unit": "100 kWh",
        "amount": "100",
        "transId": 816243
    }
}

Last updated