---
title: "Get auto-topup configuration"
method: GET
path: "/api/v1/billing/auto-topup"
---

# Get auto-topup configuration

`GET /api/v1/billing/auto-topup`

## Request

- Base URL: `https://api.virga.dev`
- URL: `https://api.virga.dev/api/v1/billing/auto-topup`
- Auth: API key in header `X-API-Key`

Returns the current auto-topup settings for the account.

## Response `200`

Auto-topup configuration

- object
  - `autoTopup` object
    - `enabled` boolean
    - `threshold` number: Credit balance threshold that triggers auto-topup
    - `bundle` string, nullable: Bundle to purchase when threshold is reached

## Other responses

- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/virga/apis/virga-api.md) · [All operations](https://skmtc.dev/virga/apis/virga-api/llms.txt) · [OpenAPI document](https://skmtc.dev/virga/apis/virga-api/revisions/5f5b639b1da3?raw)
