VTU API

HTTP

Developers in Nigeria can use our HTTP Api to quickly and easily integrate with their system and application to render all our Telecom VTU services to their Client remotely.

AIRTIME RECHARGE
https://uniquerechargeng.com/client/httpvtu?userid=x&pass=x&phone=x&network=x&amount=x

Parameters
userid = your registered phone number
pass = your API key
phone = phone number
amount = amount
Network codes:
MTN = 5
GLO = 6
AIRTEL = 1
9MOBILE = 2

Responses
Response is separated with pipe (|).
Format: statusCode|statusMessage
e.g. Successful response; 1000|Recharge successful
e.g. Other platform and service errors; 1002|insufficient balance
SEND DATA
https://uniquerechargeng.com/client/http?userid=x&pass=x&phone=x&datasize=x

Parameters
userid = your registered phone number
pass = your API key
phone = receiver’s MTN phone number
datasize:
1000 = 1GB
2000 = 2GB
5000 = 5GB

Responses
Format: statusCode|TransactionID|statusMessage
e.g. Successful response; 1000|177829|completed
e.g. Pending request; 1001|177827|in progress
e.g. Error; 1002|invalid phone number

CHECK STATUS
https://uniquerechargeng.com/client/status?userid=x&pass=x&phone=x&tid=x
tid = Transaction ID

Response is separated with pipe.
Format: statusCode|statusMessage
e.g. Successful response; 1000|completed
e.g Pending; 1001|in progress
e.g. Error; 1002|invalid transaction
e.g. Failed; 1004|failed

CHECK BALANCE
https://uniquerechargeng.com/client/balance?userid=x&pass=x&phone=x&tid=x

Response is separated with pipe.
e.g. Successful response; 1000|balance
e.g. Error; 1002|invalid transaction