Transaction History API Integration
Transaction History API Integration
This section contains your RESTful API to View all Transactions performed.
Transaction History API Integration
Transaction History API Integration
This section contains your RESTful API to View all Transactions performed.
The VTU Africa API uses API Key for Authentication.
Please use your APIKEY for authentication
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 mail.vtuafrica.com.ng |
| serviceName | R | String | This is the Name of the service you are performing. In this case it is: Lists |
| limit | O | String | This is the total number of transactions you want to view. If not specified, the default is the last 50 transactions |
| date | O | String | This is the date of the transactions you want to view. The date format must be in the form: 10-06-2026. If not specified, the default is the last 50 transactions |
SAMPLE CODE
$host ="https://mail.vtuafrica.com.ng/portal/api/merchant-verify/?apikey=1234&serviceName=Lists&date=10-06-2026"; //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","total_records":"50",
"transactions":"Recharged Succesfully"
} }