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

Transaction Query API Integration

Transaction Query API Integration

This section contains your RESTful API to Query any Transaction.

 

Authentication

The VTU Africa API uses API Key for Authentication.

Please use your APIKEY for authentication



You can Query or Re-Query the transaction status of any transaction performed on VTU Africa.

Transaction Query.

Transaction Query can be done with the endpoint below:

Base URL: https://vtuafrica.com.ng/portal/api/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
serviceName R String This is the Name of the service you are performing.
In this case it is: Transaction
ref R String This is the unique ReferenceID of the transaction you want to query.

 

SAMPLE CODE


$host ="https://vtuafrica.com.ng/portal/api/merchant-verify/?apikey=1234&serviceName=Transaction&ref=123456789";
//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","ref":"884666332234","service":"Airtime VTU","network":"mtn","product":"MTN Airtime VTU",
"amount":"1000","debit":"980","credit":"0","Charge":"0","comi":"20","channel":"API",
"balance_Before":"1000","balance_After":"20","current_Balance":"20","dateTime":"1 August 2025, 02:11 AM",
"message":"Recharged Succesfully"
} }






OTHER SERVICES


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