Skip to content

List top-ups

GET/billing/deposits

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>' \
  --header 'Accept: application/json'
{
  "enabled": true,
  "credit": {
    "enabled": true,
    "balance": "10.00",
    "currency": "USD",
    "minimum": "5.00",
    "maximum": "500.00",
    "presets": [
      "25.00",
      "50.00",
      "100.00",
      "250.00"
    ],
    "withdrawal_waiver_required": false
  },
  "items": [
    {
      "uuid": "20a09a3f-a6cf-4470-b078-7330235aa5d5",
      "uuid_short": "Uuid short",
      "status": "pending_payment",
      "status_label": "Unpaid",
      "payment_in_progress": true,
      "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"
    }
  ]
}

Authorization

Authorizationstringheaderrequired

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.

Send it as Bearer <token>.

Response 200

application/json

The record, as a JSON object. There is no envelope.

enabledbooleanrequired

The value of enabled.

creditobjectrequired

The available account credit, formatted for display.

Show child attributes
enabledbooleanrequired

The value of enabled.

balancestringrequired

The value of balance.

currencystring | nullrequired

The three-letter currency code used for monetary amounts.

minimumstringrequired

The value of minimum.

maximumstringrequired

The value of maximum.

presetsstring[]required

The value of presets.

withdrawal_waiver_requiredbooleanrequired

Adding funds needs waives_withdrawal accepted: the billing country is in the EU, the EEA or the UK, or unknown.

itemsobject[]required

Recent top-ups with amounts, statuses and payment details for unpaid entries.

Show child attributes
uuidstringrequired

The uuid UUID.

uuid_shortstringrequired

The value of uuid_short.

statusstringrequired

The value of status.

One of: pending_payment, credited, expired, cancelled

status_labelstringrequired

The status in the customer's words, written once on the enum.

payment_in_progressbooleanrequired

Paid or being paid at a checkout, before the top-up shows it. The dialog reads it to stop a second payment; the list shows only Unpaid or Paid.

billingobjectrequired

The value of billing.

Show child attributes
service_idinteger | nullrequired

The customer's service number, once a recurring service exists.

invoice_idinteger | nullrequired

The customer's invoice number, once an invoice exists.

invoice_urlstring | nullrequired

A complete URL where the invoice can be paid.

checkout_uuidstring | nullrequired

The checkout UUID, or null when no checkout is available.

checkout_uuid_shortstring | nullrequired

The value of checkout_uuid_short.

invoice_statusstring | nullrequired

The current invoice status, or null before an invoice exists.

amountstring | nullrequired

The amount in the currency shown by currency.

currencystring | nullrequired

The three-letter currency code used for amount.

billing_cyclestring | nullrequired

How often the service renews, or null for a one-time charge.

payment_due_atstring | nullrequired

When payment is due before the reservation is released.

payment_window_minutesinteger | nullrequired

How many minutes the original payment window allowed.

paid_atstring | nullrequired

When the charge was paid, or null while payment is outstanding.

credited_atstring | nullrequired

The date and time for credited at, in UTC.

cancelled_atstring | nullrequired

The date and time for cancelled at, in UTC.

created_atstring | nullrequired

The date and time for created at, in UTC.

Errors

401
The key was missing, malformed, revoked, or belongs to an account that no longer exists.
403
Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
429
Too many requests. The Retry-After header says how many seconds to wait. Limits are per account, so several keys on one account share them.