https://mobilenig.com/API/bills/ikeja_token?username=****&api_key=****&meterNumber=****&phoneNumber=****&email=****&customerName=****&customerAddress=****&customerAccountType=****&customerDtNumber=****&amount=****&trans_id=****
//Replace **** with your username, api_key...
For Api test use https://mobilenig.com/API/bills/ikeja_token_test?username=****&api_key=****&meterNumber=04042404048&phoneNumber=08093000000&email=mymail@gmail.com&customerName=TESTMETER1&customerAddress=ABULE - EGBA BU ABULE&customerAccountType=PRIME&customerDtNumber=007903312&amount=2000&trans_id=157636277382
Api Example: https://mobilenig.com/API/bills/ikeja_token?username=PAUL&api_key=64125agshaii168sdhd4b6bdb5&meterNumber=04042404048&phoneNumber=08093000000&email=mymail@gmail.com&customerName=TESTMETER1&customerAddress=ABULE - EGBA BU ABULE&customerAccountType=PRIME&customerDtNumber=007903312&amount=2000&trans_id=157636277382
//where username is PAUL and api_key is 64125agshaii168sdhd4b6bdb5, meterNumber is 04042404048, phoneNumber is 08093000000, email is mymail@gmail.com, customerName is TESTMETER1, customerAddress is ABULE - EGBA BU ABULE, customerAccountType is PRIME, customerDtNumber is 007903312, and trans_id is 157636277382.
Response:
If successful: A response will be desplayed in JSON format e.g {"trans_id":"13311522727447382","details":{"service":"IKEJA_TOKEN","package":"#100 Ikeja Electric Token Purchase","tokenAmount":"2000","creditToken":"97687698878407820677","tariff":"StubTariff","utilityName":"Eskom","taxAmount":"","amountOfPower":"100 kWh","amount":"2000","status":"SUCCESSFUL","balance":"6943"}}
Else, one of the responses below will be displayed in this format {"code": "ERR101", "description": "Invalid username or api_key"}