Vend CableTv

Purchase Cable Tv Subscription

Cable Tv

POST {{base_url}}/cabletv

Headers

Name
Type
Description

authorization*

String

Set value to Bearer SECRET_KEY

Request Body

Name
Type
Description

tvno*

String

Decode IUC number

amount*

String

Amount to buy

tv*

String

e.g GOTV, DSTV, STARTIMES

custname*

String

Customer name as shown on the verify cable tv response

custno*

String

Customer number as shown on the verify cable tv response

{
  "status": true,
  "message": "Success",
  "txref": "API8650294032c698",
  "charged": 5030,
  "newbal": 100064.8
}

Take a look at how you might do this:

curl --location --request POST 'https://api.oneappgo.com/v1/cabletv' \
--header 'Authorization: Bearer SECRET_KEY' \
--form 'tvno="7528393100"' \
--form 'tv="GOTV"' \
--form 'custname="IBRAHIM MARY OPE"' \
--form 'custno="376946518"' \
--form 'amount="5000"' \
--form 'reference="OI8UYTEFYDTYTG7"'

Sample Response

{
  "status": true,
  "message": "Success",
  "txref": "API8650294032c698",
  "charged": 5030,
  "newbal": 100064.8
}

Last updated