https://mobilenig.com/API/airtime?username=****&api_key=****&network=****&phoneNumber=****&amount=****&trans_id=****
//Replace **** with your username, api_key...
For Api test use https://mobilenig.com/API/airtime_test?username=****&api_key=****&network=****&phoneNumber=****&amount=****&trans_id=****
Api Example: https://mobilenig.com/API/airtime?username=PAUL&api_key=64125agshaii168sdhd4b6bdb5&network=MTN&phoneNumber=08011223344&amount=200&trans_id=12823327903
//where username is PAUL and api_key is 64125agshaii168sdhd4b6bdb5, network is MTN, beneficiary is 08011223344, amount is 200, price is 196 and trans_id is 12823327903.
Response:
If successful: A response will be desplayed in JSON format e.g {"trans_id":"12823327903","details":{"network":"MTN","phone_number":"08011223344","amount":"200","price":"196","status":"SUCCESSFUL","balance":"3000"}}
Else, one of the responses below will be displayed in this format {"code": "ERR101", "description": "Invalid username or api_key"}