Introduction
This page contains guide to buy airtime on Inlomax.
Buy Airtime
Send a post request to the below endpoint, You can use the PHP integration code below....
curl --request POST 'https://inlomax.com/api/airtime' \
--header 'Authorization: Token YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"serviceID" : "100",
"amount" : 200,
"mobileNumber" : "0903837261"
}'
Sample Response
{
"status": "success",
"message": "You have successfully sent ₦200 airtime to 0903837261",
"data": {
"type": "airtime",
"reference": "hdu7gy6slog9sd",
"amount": 200,
"amountCharged": 196,
"reference": "21ir7nyhgz5wc5rpirko",
"phoneNumber": "09036022177",
"network": "MTN",
"status": "success"
}
}