https://mobilenig.com/API/bills/ikeja?username=****&api_key=****&accountNumber=****&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_test?username=****&api_key=****&accountNumber=04042404139&phoneNumber=08093000000&email=mymail@gmail.com&customerName=NP NGEMA&customerAddress=6 ABIODUN ODESEYE Shomolu BU&customerAccountType=PRIME&customerDtNumber=007903312&amount=2000&trans_id=157636277382
Api Example: https://mobilenig.com/API/bills/ikeja?username=PAUL&api_key=64125agshaii168sdhd4b6bdb5&accountNumber=04042404139&phoneNumber=08093000000&email=mymail@gmail.com&customerName=NP NGEMA&customerAddress=6 ABIODUN ODESEYE Shomolu BU&customerAccountType=PRIME&customerDtNumber=007903312&amount=2000&trans_id=157636277382
//where username is PAUL and api_key is 64125agshaii168sdhd4b6bdb5, accountNumber is 04042404139, phoneNumber is 08093000000, email is mymail@gmail.com, customerName is NP NGEMA, customerAddress is 6 ABIODUN ODESEYE Shomolu BU, 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":"157636277382","details":{"service":"IKEJA","package":"#2000 Ikeja Electric Bill Payment","customerName":"NP NGEMA","accountNumber":"04042404139","utilityName":"Eskom","amount":"2000","status":"SUCCESSFUL","balance":"9048"}}
Else, one of the responses below will be displayed in this format {"code": "ERR101", "description": "Invalid username or api_key"}