Introduction
This page contains guide for all airtime on quicktservice.com.
Get Network Codes
Send a GET request to the endpoint below to access the available network.
quicktservice.com/api/plans?id=network
REQUEST TYPE -- GET
Get Airtime Discount
Send a GET request to the endpoint below to access the airtime discount and airtime type.
quicktservice.com/api/plans?id=airtime
REQUEST TYPE -- GET
Buy Airtime
Send a post request to the below endpoint.
quicktservice.com/api/airtime
REQUEST TYPE -- POST
Body
{
"network": 1,
"amount": 100,
"type": VTU,
"mobile_number": 080********,
}
Note: The body fields should not be blank.
Expected response:
{"response": {
"code":200,"status":"successful",
"message":"Transaction Successfully logged", "date_time":"Feb. 22, 2021, 10:48 am"},
"service":"MTN Airtime Topup",
"amount":"100",
"wallet_balance":4305,
"reference":"8655312058913967916664"
}