curl --request GET \
--url https://console.advinservers.com/api/v1/client/billing/deposits \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.advinservers.com/api/v1/client/billing/deposits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.advinservers.com/api/v1/client/billing/deposits', 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://console.advinservers.com/api/v1/client/billing/deposits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://console.advinservers.com/api/v1/client/billing/deposits"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://console.advinservers.com/api/v1/client/billing/deposits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.advinservers.com/api/v1/client/billing/deposits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"enabled": true,
"credit": {
"enabled": true,
"balance": "10.00",
"limit": "1000.00",
"headroom": "990.00",
"currency": "USD",
"minimum": "5.00",
"maximum": "500.00",
"presets": [
"25.00",
"50.00",
"100.00",
"250.00"
]
},
"items": [
{
"uuid": "20a09a3f-a6cf-4470-b078-7330235aa5d5",
"status": "pending_payment",
"status_label": "Awaiting payment",
"billing": {
"service_id": null,
"invoice_id": 18386,
"invoice_url": "https://clients.advinservers.com/viewinvoice.php?id=18386",
"checkout_uuid": "53a832f9-e85e-44b5-af03-2ef26110686d",
"invoice_status": "Unpaid",
"amount": "25.00",
"currency": "USD",
"billing_cycle": null,
"payment_due_at": "2026-09-14T17:12:09+00:00",
"payment_window_minutes": null,
"paid_at": null
},
"credited_at": null,
"cancelled_at": null,
"created_at": "2026-09-14T16:42:09+00:00"
}
]
}{
"message": "Unauthenticated."
}{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}{
"message": "Too Many Attempts."
}List top-ups
Overview
Lists the account’s 50 most recent top-ups, newest first, across all teams. Older top-ups are not included. credit contains the same information as the balance endpoint. enabled indicates whether top-ups are available.
Permissions
Requires the account permission billing.read (View billing).
curl --request GET \
--url https://console.advinservers.com/api/v1/client/billing/deposits \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.advinservers.com/api/v1/client/billing/deposits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.advinservers.com/api/v1/client/billing/deposits', 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://console.advinservers.com/api/v1/client/billing/deposits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://console.advinservers.com/api/v1/client/billing/deposits"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://console.advinservers.com/api/v1/client/billing/deposits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.advinservers.com/api/v1/client/billing/deposits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"enabled": true,
"credit": {
"enabled": true,
"balance": "10.00",
"limit": "1000.00",
"headroom": "990.00",
"currency": "USD",
"minimum": "5.00",
"maximum": "500.00",
"presets": [
"25.00",
"50.00",
"100.00",
"250.00"
]
},
"items": [
{
"uuid": "20a09a3f-a6cf-4470-b078-7330235aa5d5",
"status": "pending_payment",
"status_label": "Awaiting payment",
"billing": {
"service_id": null,
"invoice_id": 18386,
"invoice_url": "https://clients.advinservers.com/viewinvoice.php?id=18386",
"checkout_uuid": "53a832f9-e85e-44b5-af03-2ef26110686d",
"invoice_status": "Unpaid",
"amount": "25.00",
"currency": "USD",
"billing_cycle": null,
"payment_due_at": "2026-09-14T17:12:09+00:00",
"payment_window_minutes": null,
"paid_at": null
},
"credited_at": null,
"cancelled_at": null,
"created_at": "2026-09-14T16:42:09+00:00"
}
]
}{
"message": "Unauthenticated."
}{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}{
"message": "Too Many Attempts."
}Authorizations
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Response
The record, as a JSON object. There is no envelope.
The value of enabled.
true
The available account credit, formatted for display.
Show child attributes
Show child attributes
{ "enabled": true, "balance": "10.00", "limit": "1000.00", "headroom": "990.00", "currency": "USD", "minimum": "5.00", "maximum": "500.00", "presets": ["25.00", "50.00", "100.00", "250.00"] }
Recent top-ups with amounts, statuses and payment details for unpaid entries.
Show child attributes
Show child attributes
[ { "uuid": "20a09a3f-a6cf-4470-b078-7330235aa5d5", "status": "pending_payment", "status_label": "Awaiting payment", "billing": { "service_id": null, "invoice_id": 18386, "invoice_url": "https://clients.advinservers.com/viewinvoice.php?id=18386", "checkout_uuid": "53a832f9-e85e-44b5-af03-2ef26110686d", "invoice_status": "Unpaid", "amount": "25.00", "currency": "USD", "billing_cycle": null, "payment_due_at": "2026-09-14T17:12:09+00:00", "payment_window_minutes": null, "paid_at": null }, "credited_at": null, "cancelled_at": null, "created_at": "2026-09-14T16:42:09+00:00" } ]