VTU AFRICAVTUAfrica.com.ng

  • MAIN NAVIGATION
  • Introduction
  • Discounts & Prices
  • Balance Check
  • Airtime
    • Airtime VTU
    • Airtime Share
  • Data Bundle
    • Data (All Networks)
    • Smile Data
  • Cable TV Subcription
    • Cable TV Verification
    • Cable TV Subscription
  • Electricity bills
    • Meter Verification
    • Electricity Bills
  • Examination PINS
  • Bank Transfer
    • Verify Account Number
    • Send Money
  • Recharge Card PINS
  • Bet Wallet funding
  • Airtime2Cash Conversion
  • Bulk SMS
  • Transaction Status
    • Transaction Query
    • Resend Webhook
  • How To Videos
  • Back To Home Page
  • Home SOFTWARE RESELLER
  • My Account

    • Login
    • Register

Cable TV API Integration

Cable TV API Integration

This section contains your RESTful API for Cable TV API integration..

 

Authentication

The VTU Africa API uses API Key for Authentication.

Please use your APIKEY for authentication



Purchase Cable TV

GOTV/DSTV/Startimes/Showmax services can be purchased with the endpoint below:


Live URL: https://vtuafrica.com.ng/portal/api/merchant-verify/

Sandbox: https://vtuafrica.com.ng/portal/api-test/merchant-verify/


Parameters: as specified in the parameters below:

 

PARAMETERS Required/Optional TYPE DESCRIPTION
apikey R String The reseller gateway API key created at vtuafrica.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM
serviceName R String This is the Name of the service you are verifiying. In this case it is: CableTV
service R String Service as specified. These includes, dstv, gotv, startimes, showmax
smartNo R Number The smartcard or IUC number to make the subscription on
variation R String This is the variation code of the Subscription Plan.
Example: startimes_nova, gotv_jinja, dstv_padi, etc. Click Here To View All.

 

SAMPLE CODE

$sandbox = "https://vtuafrica.com.ng/portal/api-test/merchant-verify/?apikey=1234&serviceName=CableTV&service=gotv&smartNo=8072499034&variation=gotv_jinja";
$host = "https://vtuafrica.com.ng/portal/api/merchant-verify/?apikey=1234&serviceName=CableTV&service=gotv&smartNo=8072499034&variation=gotv_jinja";
//Initialize cURL.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $host);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

$data = curl_exec($ch);

//Close the cURL handle.
curl_close($ch);

$response = json_decode($data);

 

EXPECTED RESPONSE

{"code":101,
"description":{"Status":"Completed",ProductName":"GoTV MAX","SmartNo":"100221233", "Amount_Charged":"3500","Previous_Balance":"4000","Current_Balance":"500", "ReferenceID":"8284666332234","message":"Subscription Successful"}}


Subscription Codes

 

Click Here To View All the Subscription Plans and Prices.

OTHER SERVICES


CopyRight © 2016 - VTUAfrica.com.ng. All Rights Reserved
Site Designed by: EMMALEX ICT SOLUTIONS | Powered by RESELLER HOSTING