Introduction

This page contains guide to buy datacards pins on Inlomax.

Buy DataCards Pins

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




curl --request POST 'https://inlomax.com/api/datacard' \
  --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 card purchase successful",
    "data": {
        "type": "datacard",
        "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"
    }
}