Wallet Balance API Integration
Wallet Balance API Integration
This section contains your RESTful API for Wallet Balance API integration..
Wallet Balance API Integration
Wallet Balance API Integration
This section contains your RESTful API for Wallet Balance API integration..
The VTU Africa API uses API Key for Authentication.
Please use your APIKEY for authentication
Base URL: https://vtuafrica.com.ng/portal/api/balance/
Parameters: as specified in the parameters below:
PARAMETER | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at vtuafrica.com.ng |
SAMPLE CODE
$host ="https://vtuafrica.com.ng/portal/api/balance?apikey=1234 "; //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
45000.00