# Electricity

We have eleven different services on **Electricity** with following Service codes

| **SN** | **Service Code** | **Service Name**       |
| ------ | ---------------- | ---------------------- |
| **1**  | BPE-NGCABABB-OR  | Abuja Postpaid         |
| **2**  | BPE-NGCABABA-OR  | Abuja Prepaid          |
| **3**  | BPE-NGEK-OR      | Eko PHCN               |
| **4**  | BPE-NGEN-OR      | Enugu Distribution     |
| **5**  | BPE-NGIB-OR      | Ibadan Distribution    |
| **6**  | BPE-NGIE-OR      | Ikeja Electric         |
| **7**  | BPE-NGKD-OR      | Kaduna Electric        |
| **8**  | BPE-NGCAAVC-OR   | Kano Postpaid          |
| **9**  | BPE-NGCAAVB-OR   | Kano Prepaid           |
| **10** | BPE-NGCABIB-OR   | Port Harcourt Postpaid |
| **11** | BPE-NGCABIA-OR   | Port Harcourt Prepaid  |

### Account Validation

<mark style="color:green;">`POST`</mark> `http://epayment.com.ng/epayment/api/3pelectricity_validate`

#### Headers

| Name                                           | Type   | Description    |
| ---------------------------------------------- | ------ | -------------- |
| Bearer Token<mark style="color:red;">\*</mark> | String | your-api-token |

#### Request Body

| Name                                   | Type   | Description                                                                             |
| -------------------------------------- | ------ | --------------------------------------------------------------------------------------- |
| Body<mark style="color:red;">\*</mark> | String | { "service":"BPE-NGCABABA-OR", "customer\_reference":"B10012 3", "meter":"45056459105"} |

{% tabs %}
{% tab title="200: OK {"name":"Mr Kola Idiaro","address":"BLK C30 1 N CRESCENT OPP Und St. Trade More","number":"45036537814","disco":"AEDC","minAmount":" 600.0000"}" %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### Vend Electricity

<mark style="color:green;">`POST`</mark> `http://epayment.com.ng/epayment/api/3pelectricity_vend`

#### Headers

| Name                                           | Type   | Description    |
| ---------------------------------------------- | ------ | -------------- |
| Bearer Token<mark style="color:red;">\*</mark> | String | your-api-token |

#### Request Body

| Name                                   | Type   | Description                                                                                            |
| -------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------ |
| Body<mark style="color:red;">\*</mark> | String | { "service":"BPE-NGCABABA-OR", "meter":"45056459105", "customer\_reference":"100123 ", "amount":"600"} |

{% tabs %}
{% tab title="200: OK {"\_id":"605db9767f0e4f023173e207","updatedAt":"2021-03-26T10:37:52.094Z","createdAt":"2021-  03- 26T10:37:42.465Z","exec\_agent":null,"exec\_ip":"192.241.155.216","exec\_by":"6057a9cd8e91c40269 ee1cb9","test":false,"operator\_reference":"4b601310-8e1f-11eb-a683- 176daa8e08be","client\_apireqbody":"{"meter":"45056459105","product\_id":"BPE-NGCABABA- OR","denomination":"600","customer\_reference":"1542- 494846"}","app\_host":"gra46","subtype":"electricity","type":"billpay","channel":"api","opera tor\_name":"Abuja Prepaid","country":"Nigeria","customer\_reference":"5e2619dae30f4873ae91148f#1542- 494846","paid\_currency":"NGN","paid\_amount":591,"topup\_currency":"NGN","topup\_amount":600,"ta rget":"45056459105","txkey":"213261137410461111","state":"fin","wholesaler":"586d78cfb7746627 5ba0bd2d","account":"5e2619dae30f4873ae91148f","product\_id":"BPE-NGCABABA- OR","\_\_v":2,"wh\_com":-9,"client\_apiresponse":"{"status":201,"message":"Operation Successful, Recharge created, Reference : 4b601310-8e1f-11eb-a683-176daa8e08be","reference":"4b601310-8e1f-11eb-a683- 176daa8e08be","code":"RECHARGE\_COMPLETE","paid\_amount":591,"paid\_currency":"NGN",\ "topup\_amount":600,"topup\_currency":"NGN","target":"45056459105","product\_id":"BP E-NGCABABA-OR","time":"2021-03- 26T10:37:52.094Z","country":"Nigeria","operator\_name":"Abuja Prepaid","completed\_in":10262,"customer\_reference":"1542- 494846","pin\_based":true,"pin\_code":"11726918305519546894","pin\_option1":"Token: 11726918305519546894; Units : 13.4Kwh; Debt Amount : N/A; Debt Remaining : N/A; Recept No: 210326954352; "}","code":"RECHARGE\_COMPLETE","completed\_in":10262,"message":"Operation Successful","pin\_based":true,"pin\_code":"11726918305519546894","pin\_option1":"Token: 11726918305519546894; Units : 13.4Kwh; Debt Amount : N/A; Debt Remaining : N/A; Recept No: 210326954352; ","success":true,"ws\_host":"210326954352","custom\_details":\[],"related\_transactions":\["605db9 757f0e4f023173e206","605db9807f0e4f023173e209","605db9767f0e4f023173e207"],"time":"2021-03- 26T10:37:42.464Z"}" %}

{% endtab %}

{% tab title="201: Created {"\_id":"605db9767f0e4f023173e207","updatedAt":"2021-03-26T10:37:52.094Z","createdAt":"2021-  03- 26T10:37:42.465Z","exec\_agent":null,"exec\_ip":"192.241.155.216","exec\_by":"6057a9cd8e91c40269 ee1cb9","test":false,"operator\_reference":"4b601310-8e1f-11eb-a683- 176daa8e08be","client\_apireqbody":"{"meter":"45056459105","product\_id":"BPE-NGCABABA- OR","denomination":"600","customer\_reference":"1542- 494846"}","app\_host":"gra46","subtype":"electricity","type":"billpay","channel":"api","opera tor\_name":"Abuja Prepaid","country":"Nigeria","customer\_reference":"5e2619dae30f4873ae91148f#1542- 494846","paid\_currency":"NGN","paid\_amount":591,"topup\_currency":"NGN","topup\_amount":600,"ta rget":"45056459105","txkey":"213261137410461111","state":"fin","wholesaler":"586d78cfb7746627 5ba0bd2d","account":"5e2619dae30f4873ae91148f","product\_id":"BPE-NGCABABA- OR","\_\_v":2,"wh\_com":-9,"client\_apiresponse":"{"status":201,"message":"Operation Successful, Recharge created, Reference : 4b601310-8e1f-11eb-a683-176daa8e08be","reference":"4b601310-8e1f-11eb-a683- 176daa8e08be","code":"RECHARGE\_COMPLETE","paid\_amount":591,"paid\_currency":"NGN",\ "topup\_amount":600,"topup\_currency":"NGN","target":"45056459105","product\_id":"BP E-NGCABABA-OR","time":"2021-03- 26T10:37:52.094Z","country":"Nigeria","operator\_name":"Abuja Prepaid","completed\_in":10262,"customer\_reference":"1542- 494846","pin\_based":true,"pin\_code":"11726918305519546894","pin\_option1":"Token: 11726918305519546894; Units : 13.4Kwh; Debt Amount : N/A; Debt Remaining : N/A; Recept No: 210326954352; "}","code":"RECHARGE\_COMPLETE","completed\_in":10262,"message":"Operation Successful","pin\_based":true,"pin\_code":"11726918305519546894","pin\_option1":"Token: 11726918305519546894; Units : 13.4Kwh; Debt Amount : N/A; Debt Remaining : N/A; Recept No: 210326954352; ","success":true,"ws\_host":"210326954352","custom\_details":\[],"related\_transactions":\["605db9 757f0e4f023173e206","605db9807f0e4f023173e209","605db9767f0e4f023173e207"],"time":"2021-03- 26T10:37:42.464Z"}" %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### Verify Completed Electricity Vending

<mark style="color:green;">`POST`</mark> `http://epayment.com.ng/epayment/api/3pelectricity_verify`

#### Headers

| Name                                           | Type   | Description    |
| ---------------------------------------------- | ------ | -------------- |
| Bearer Token<mark style="color:red;">\*</mark> | String | your-api-token |

#### Request Body

| Name                                   | Type   | Description                        |
| -------------------------------------- | ------ | ---------------------------------- |
| Body<mark style="color:red;">\*</mark> | String | { "customer\_reference":"100123" } |

{% tabs %}
{% tab title="200: OK {"\_id":"605db9767f0e4f023173e207","updatedAt":"2021-03-26T10:37:52.094Z","createdAt":"2021-  03- 26T10:37:42.465Z","exec\_agent":null,"exec\_ip":"192.241.155.216","exec\_by":"6057a9cd8e91c40269 ee1cb9","test":false,"operator\_reference":"4b601310-8e1f-11eb-a683- 176daa8e08be","client\_apireqbody":"{"meter":"45056459105","product\_id":"BPE-NGCABABA- OR","denomination":"600","customer\_reference":"1542- 494846"}","app\_host":"gra46","subtype":"electricity","type":"billpay","channel":"api","opera tor\_name":"Abuja Prepaid","country":"Nigeria","customer\_reference":"5e2619dae30f4873ae91148f#1542- 494846","paid\_currency":"NGN","paid\_amount":591,"topup\_currency":"NGN","topup\_amount":600,"ta rget":"45056459105","txkey":"213261137410461111","state":"fin","wholesaler":"586d78cfb7746627 5ba0bd2d","account":"5e2619dae30f4873ae91148f","product\_id":"BPE-NGCABABA- OR","\_\_v":2,"wh\_com":-9,"client\_apiresponse":"{"status":201,"message":"Operation Successful, Recharge created, Reference : 4b601310-8e1f-11eb-a683-176daa8e08be","reference":"4b601310-8e1f-11eb-a683- 176daa8e08be","code":"RECHARGE\_COMPLETE","paid\_amount":591,"paid\_currency":"NGN",\ "topup\_amount":600,"topup\_currency":"NGN","target":"45056459105","product\_id":"BP E-NGCABABA-OR","time":"2021-03- 26T10:37:52.094Z","country":"Nigeria","operator\_name":"Abuja Prepaid","completed\_in":10262,"customer\_reference":"1542- 494846","pin\_based":true,"pin\_code":"11726918305519546894","pin\_option1":"Token: 11726918305519546894; Units : 13.4Kwh; Debt Amount : N/A; Debt Remaining : N/A; Recept No: 210326954352; "}","code":"RECHARGE\_COMPLETE","completed\_in":10262,"message":"Operation Successful","pin\_based":true,"pin\_code":"11726918305519546894","pin\_option1":"Token: 11726918305519546894; Units : 13.4Kwh; Debt Amount : N/A; Debt Remaining : N/A; Recept No: 210326954352; ","success":true,"ws\_host":"210326954352","custom\_details":\[],"related\_transactions":\["605db9 757f0e4f023173e206","605db9807f0e4f023173e209","605db9767f0e4f023173e207"],"time":"2021-03- 26T10:37:42.464Z"}" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="201: Created {"\_id":"605db9767f0e4f023173e207","updatedAt":"2021-03-26T10:37:52.094Z","createdAt":"2021-  03- 26T10:37:42.465Z","exec\_agent":null,"exec\_ip":"192.241.155.216","exec\_by":"6057a9cd8e91c40269 ee1cb9","test":false,"operator\_reference":"4b601310-8e1f-11eb-a683- 176daa8e08be","client\_apireqbody":"{"meter":"45056459105","product\_id":"BPE-NGCABABA- OR","denomination":"600","customer\_reference":"1542- 494846"}","app\_host":"gra46","subtype":"electricity","type":"billpay","channel":"api","opera tor\_name":"Abuja Prepaid","country":"Nigeria","customer\_reference":"5e2619dae30f4873ae91148f#1542- 494846","paid\_currency":"NGN","paid\_amount":591,"topup\_currency":"NGN","topup\_amount":600,"ta rget":"45056459105","txkey":"213261137410461111","state":"fin","wholesaler":"586d78cfb7746627 5ba0bd2d","account":"5e2619dae30f4873ae91148f","product\_id":"BPE-NGCABABA- OR","\_\_v":2,"wh\_com":-9,"client\_apiresponse":"{"status":201,"message":"Operation Successful, Recharge created, Reference : 4b601310-8e1f-11eb-a683-176daa8e08be","reference":"4b601310-8e1f-11eb-a683- 176daa8e08be","code":"RECHARGE\_COMPLETE","paid\_amount":591,"paid\_currency":"NGN",\ "topup\_amount":600,"topup\_currency":"NGN","target":"45056459105","product\_id":"BP E-NGCABABA-OR","time":"2021-03- 26T10:37:52.094Z","country":"Nigeria","operator\_name":"Abuja Prepaid","completed\_in":10262,"customer\_reference":"1542- 494846","pin\_based":true,"pin\_code":"11726918305519546894","pin\_option1":"Token: 11726918305519546894; Units : 13.4Kwh; Debt Amount : N/A; Debt Remaining : N/A; Recept No: 210326954352; "}","code":"RECHARGE\_COMPLETE","completed\_in":10262,"message":"Operation Successful","pin\_based":true,"pin\_code":"11726918305519546894","pin\_option1":"Token: 11726918305519546894; Units : 13.4Kwh; Debt Amount : N/A; Debt Remaining : N/A; Recept No: 210326954352; ","success":true,"ws\_host":"210326954352","custom\_details":\[],"related\_transactions":\["605db9 757f0e4f023173e206","605db9807f0e4f023173e209","605db9767f0e4f023173e207"],"time":"2021-03- 26T10:37:42.464Z"}" %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.epayment.ng/electricity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
