Introduction

This page contains guide to buy airtime pins on Inlomax.

Buy Airtime Pins

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




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

Sample Response

Send a post request to the below endpoint.


{
    "status": "success",
    "message": "Airtime pin purchase successful",
    "data": {
        "type": "airtimepin",
        "amount": 6700,
        "amountCharged" : 6000,
        "pins": [
            {
                "pin": " 3635674583",
                "serialNo": " SRN7HFSDSFUE"
            },
            {
                "pin": "3685765673",
                "serialNo": "SRN77UJFKOPFUE"
            },
            {
                "pin": "754643565 ",
                "serialNo": "SRN75JFHASC
        ],
        "loadPin" : "556*pin#",
        "network" : "MTN",
        "quantity": "3",
        "status": "success"
    }
}