Vend Electricity
Make a call to our electricity purchase endpoint to buy electricity
Buy Electricity
POST {{base_url}}/electricity
Headers
Name
Type
Description
authorization*
SECRET_KEY
Set value to Bearer SECRET_KEY
Request Body
Name
Type
Description
provider*
String
Disco/Provider
amount*
String
Amount to vend
{
"status": true,
"message": "Success - Bills Payment effected successfully - Token: 0283-6213-2450-8322-0153",
"txref": "API2650280812e8401",
"charged": 10030,
"token": "Bills Payment effected successfully - Token: 0283-6213-2450-8322-0153",
"newbal": 300094.79
}Take a look at how you might do this:
Sample Response
Last updated
Was this helpful?