Retrieve account balance
curl --request POST \
--url https://order.edisglobal.com/kvm/v2/get/account-balance \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data email=yourwhmc_email \
--data pw=yourwhmc_passwordimport requests
url = "https://order.edisglobal.com/kvm/v2/get/account-balance"
payload = {
"email": "yourwhmc_email",
"pw": "yourwhmc_password"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({email: 'yourwhmc_email', pw: 'yourwhmc_password'})
};
fetch('https://order.edisglobal.com/kvm/v2/get/account-balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://order.edisglobal.com/kvm/v2/get/account-balance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "email=yourwhmc_email&pw=yourwhmc_password",
CURLOPT_HTTPHEADER => [
"Content-Type: application/x-www-form-urlencoded"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://order.edisglobal.com/kvm/v2/get/account-balance"
payload := strings.NewReader("email=yourwhmc_email&pw=yourwhmc_password")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://order.edisglobal.com/kvm/v2/get/account-balance")
.header("Content-Type", "application/x-www-form-urlencoded")
.body("email=yourwhmc_email&pw=yourwhmc_password")
.asString();require 'uri'
require 'net/http'
url = URI("https://order.edisglobal.com/kvm/v2/get/account-balance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/x-www-form-urlencoded'
request.body = "email=yourwhmc_email&pw=yourwhmc_password"
response = http.request(request)
puts response.read_body{
"balance": {
"amount": "20.00",
"currency": "EUR"
},
"status": "success"
}{
"status": "error",
"errormsg": "Invalid parameters or missing fields."
}{
"status": "error",
"errormsg": "Invalid WHMCS credentials."
}{
"status": "error",
"errormsg": "Internal server error. Please try again later."
}Check the Account Balance
Retrieves the current account credit balance for the authenticated WHMCS account, including the amount and currency.
POST
/
kvm
/
v2
/
get
/
account-balance
Retrieve account balance
curl --request POST \
--url https://order.edisglobal.com/kvm/v2/get/account-balance \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data email=yourwhmc_email \
--data pw=yourwhmc_passwordimport requests
url = "https://order.edisglobal.com/kvm/v2/get/account-balance"
payload = {
"email": "yourwhmc_email",
"pw": "yourwhmc_password"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({email: 'yourwhmc_email', pw: 'yourwhmc_password'})
};
fetch('https://order.edisglobal.com/kvm/v2/get/account-balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://order.edisglobal.com/kvm/v2/get/account-balance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "email=yourwhmc_email&pw=yourwhmc_password",
CURLOPT_HTTPHEADER => [
"Content-Type: application/x-www-form-urlencoded"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://order.edisglobal.com/kvm/v2/get/account-balance"
payload := strings.NewReader("email=yourwhmc_email&pw=yourwhmc_password")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://order.edisglobal.com/kvm/v2/get/account-balance")
.header("Content-Type", "application/x-www-form-urlencoded")
.body("email=yourwhmc_email&pw=yourwhmc_password")
.asString();require 'uri'
require 'net/http'
url = URI("https://order.edisglobal.com/kvm/v2/get/account-balance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/x-www-form-urlencoded'
request.body = "email=yourwhmc_email&pw=yourwhmc_password"
response = http.request(request)
puts response.read_body{
"balance": {
"amount": "20.00",
"currency": "EUR"
},
"status": "success"
}{
"status": "error",
"errormsg": "Invalid parameters or missing fields."
}{
"status": "error",
"errormsg": "Invalid WHMCS credentials."
}{
"status": "error",
"errormsg": "Internal server error. Please try again later."
}Body
application/x-www-form-urlencoded
Last modified on March 16, 2026
Related topics
Top-Up Credit Balance by Bank TransferFrom Chaotic Payments to Automated PaymentsHow to Find and Download Your InvoicesHow to pay in EUR when PayPal balance is in another currencyHow to Pay Invoices with Account CreditWas this page helpful?
âI