The easypoint9ja Balance API is a RESTful interface that enables you to seamlessly integrate a range of services from the easypoint9ja platform into your web or mobile application.
Using a POST method, your VTpass wallet balance can be retrieved using the end point below:
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | R | Your API key |
Live: https://easypoint9ja.com/api/balance/
Sandbox: https://sandbox.easypoint9ja.com/api/balance/
$url = "https://easypoint9ja.com/api/balance/";
$data = [
"api_key" => "YOUR_API_KEY"
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Content-Type: application/json"
]);
$response = curl_exec($ch);
curl_close($ch);