Introduction

This page contains guide to buy data on Inlomax.

Buy Data

Send a post request to the below endpoint, You can use the PHP integration code below....




curl --request POST 'https://inlomax.com/api/data' \
  --header 'Authorization: Token YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "serviceID" : "100",
    "mobileNumber" : "0903837261" 
  }'

Sample Response


{
    "status": "success",
    "message": "Dear Customer, You have successfully gifted 0903837261 with 1.0GB of Data. Thank you.",
    "data": {
        "type": "data",
        "reference": "INL|NQJK56QVZVHHX34RJ5XTMDXLG",
        "amount": 1000,
        "dataPlan": "5GB",
        "dataType": "SME",
        "network": "MTN",
        "status": "success"
    }
}