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....
curl --request POST 'https://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://inlomax.com/api/subcable' \
--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": "Cable subscription successful",
"data": {
"type": "cable",
"amount": 1800,
"reference": "15p16ekzq8rfsctfch01",
"iucNum": "7027914329",
"cable": "gotv",
"status": "success"
}
}