Introduction

This page contains guide to buy data coupon pins on Inlomax.

Buy DataCoupon Pins

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




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

Sample Response

Send a post request to the below endpoint.


{
    "status": "success",
    "message": "Data coupon purchase successful",
    "data": {
        "type": "datacoupon",
        "amount": 6700,
        "pins": [
            {
                "pin": " 3635674583",
                "serialNo": " SRN7HFSDSFUE"
            },
            {
                "pin": "3685765673",
                "serialNo": "SRN77UJFKOPFUE"
            },
            {
                "pin": "754643565 ",
                "serialNo": "SRN75JFHASC
        ],
        "quantity": "3",
        "loadPin" : "*460*464*452*pin#",
        "network" : "MTN",
        "dataPlan" : "1GB",
        "status": "success"
    }
}