Introduction

This page contains guide to retrieves all services pricing, service ID and other details on Inlomax.

You can use the PHP integration code below....




curl --request GET 'https://inlomax.com/api/services' \
  --header 'Authorization: Token YOUR_API_KEY' \
  --header 'Content-Type: application/json' \


Sample Response

Send a post request to the below endpoint.



{"status":"success",
"message":"Services fetched successfully",
"data":{
"airtime":[
{ 
"network":"MTN",
"serviceID":"1",
"discount":"2.5"
},
{"network":"AIRTEL",
"serviceID":"2",
"discount":"2.5"
}],
"dataPlans":[
{
"serviceID":"35",
"network":"GLO",
"dataPlan":"500MB",
"amount":"205.00",
"dataType":"CORPORATE GIFTING",
"validity":"30 Days"
},
{
"serviceID":"68",
"network":"9MOBILE",
"dataPlan":"500MB",
"amount":"143.00",
"dataType":"CORPORATE GIFTING",
"validity":"30 Days"
}],
"cablePlans":
[
{
"serviceID":"101",
"cablePlan":"STARTIMES BASIC",
"cable":"STARTIMES",
"amount":"4,000.00",
"discount":"0.001"
},{
"serviceID":"95",
"cablePlan":"GOTV MAX",
"cable":"GOTV",
"amount":"8,500.00",
"discount":"1"
}],
"electricity":[
{
"disco":"IKEJA ELECTRICITY (IKEDC)",
"serviceID":"1",
"discount":"0.5"
}],
"education":[
{
"serviceID":"1",
"type":"WAEC",
"amount":"3,370.00"
}],
"status":"success"
}
}