Introduction

This page contains guide for all cable plans on pherheezdata.com.

Get Cable Codes

Send a GET request to the endpoint below to access the available cable code(s)

.

pherheezdata.com/api/plans?id=cable

REQUEST TYPE -- GET

Validate Decoder Number [Multichoice]

Send a POST request to the endpoint below to validate your decoder

.

pherheezdata.com/api/cable-validation
Body
{
"cable_id": 1,
"smart_card_number": 1*11****11,
}

Note: The body fields should not be blank.


Expected response:
{
"response":"successful",
"decoder":"GOTV",
"smart_card_number":"1*11****11",
"customerName":"My Name"
}

REQUEST TYPE -- POST

Get Cable Plan Codes

Send a GET request to the endpoint below to access the available cable code(s)

.

pherheezdata.com/api/plans?id=cable_plans

REQUEST TYPE -- GET

Cable Subscription

Send a post request to the below endpoint.

pherheezdata.com/api/cable
Body
{
"cable_id": 1,
"plan_id": 8,
"smart_card_number": 11****11*1,
"mobile_number": 080********,
}

Note: The body fields should not be blank.

Expected response:

{"response": {
"code":200,"status":"successful",
"message":"Transaction Successfully logged", "date_time":"Feb. 22, 2021, 01:01 pm"},
"service":"Cable Subscription",
"amount":"900",
"plan":"Nova - 900 Naira - 1 Month",
"wallet_balance":4305,
"reference":"276572833805671899"
}

REQUEST TYPE -- POST