Introduction

This page contains guide to recharge tv subs on Inlomax.

Verify IUC Number

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

Use the appropriate serviceID for the cable TV provider you want to verify.

Service Service ID
GOtv 1
DStv 2
StarTimes 3
Showmax 4



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

Sample Response

Send a post request to the below endpoint.


{
    "status": "success",
    "message": "Validation successful",
    "data": {
        "customerName": "JOHN DOE",
        "currentBouquet": "UNKNOWN"
    }
}

 

Buy Cable Subscriptions

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




curl --request POST 'https://mail.inlomax.com/api/subcable' \
  --header 'Authorization-Token: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "serviceID" : "1",
    "iucNum" : "7027914329",
    "request-id" : "gyufty578tgjgjkpp"
  }' 

Sample Response

Send a post request to the below endpoint.


{
    "status": "success",
    "message": "Cable subscription successful",
    "data": {
        "type": "cable",
        "amount": 1800,
        "reference": "15p16ekzq8rfsctfch01",
        "iucNum": "7027914329",
        "cable": "gotv",
        "status": "success"
    }
}