Balance :: API

Balance Check

Parameters:

Parameter_Name Type Description
username String Your MobileNig username
api_key String The api_key generated on MobileNig

Command:

https://mobilenig.com/API/balance?username=****&api_key=****
//Replace **** with your username, api_key...
E.g. https://mobilenig.com/API/balance?username=PAUL&api_key=64125agshaii168sdhd4b6bdb5
//where username is PAUL and api_key is 64125agshaii168sdhd4b6bdb5.

Response:
If successful: balance will be displayed in JSON format e.g {"status": "SUCCESSFUL", "balance": "3000"}
Else, one of the responses below will be displayed in this format {"code": "ERR101", "description": "Invalid username or api_key"}

Responses:

Code Description
ERR101 Invalid username or api_key
ERR102 Api service is currently unavailable
ERR103 Requested service is currently unavailable
ERR104 User Suspended