---
title: "Post Billing Auto Topup"
method: POST
path: "/v1/billing/auto-topup"
tags: ["billing"]
---

# Post Billing Auto Topup

`POST /v1/billing/auto-topup`

## Request

- Base URL: `https://api.lithtrix.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lithtrix.ai/v1/billing/auto-topup`
- Auth: none declared

Enable or disable automatic slider credit purchase when balance drops below threshold.

## Headers

- `authorization` string, nullable

## Request body

- AutoTopUpRequest: Enable or disable automatic slider credit refill when balance drops below threshold.
  - `enabled` boolean, required
  - `threshold_usd` union, required
    - number
    - string
  - `credits` integer, required: Slider credit count to purchase on auto top-up

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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