Wallet Balance API Integration
GET PAY Wallet Balance API Integration
AUTHENTICATION
The GET PAY API uses APIKey for Authentication for Wallet Balance Checking.
Please use your Testkey for Testing on sandbox, after a successful integration, then change to Your APIKEY for authentication
GET PAY ENVIRONMENTS
The GET PAY API Endpoint has the Sandbox environment and the Production Environment as seen Below:SANDBOX: https://sandbox.getpaysolutions.com/api/v1/
PRODUCTION: https://getpaysolutions.com/api/v1/
Wallet Balance
Your GET PAY Business Wallet Balance can be checked with the endpoint below:Base URL: https://sandbox.getpaysolutions.com/api/v1/balance
Body Parameters: as specified in the parameters below:
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | Your Business APIkey Created at getpaysolutions.com. Use Your Testkey on sandbox |
SAMPLE CODE
$host="https://sandbox.getpaysolutions.com/api/v1/balance/?apikey=1234532fgf8284666332234"; //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); $result = json_decode($data);
EXPECTED RESPONSE
{"data":{ "responseCode":"200", "status":"Completed", "service":"Wallet Balance Check", "businessName":"GET PAY", "businessID":"33387783", "Balance":"4500.96", "message":"Wallet Balance Check Successful", "dateTime":"16 October 2025, 12:29 AM" }}