---
title: "Put Auto Topup"
method: PUT
path: "/api/credits/auto-topup"
tags: ["credits"]
---

# Put Auto Topup

`PUT /api/credits/auto-topup`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/credits/auto-topup`
- Auth: HTTP bearer

Save the workspace's automatic top-up choice (admin or owner).

## Headers

- `X-Tenant-Id` integer, nullable

## Request body

- AutoTopupIn
  - `enabled` boolean, required
  - `pack` string
  - `monthly_limit` integer

## Response `200`

Successful Response

- AutoTopupOut
  - `available` boolean, required
  - `enabled` boolean, required
  - `pack` string, required
  - `monthly_limit` integer, required
  - `threshold_units` integer, required
  - `used_this_month` integer, required
  - `paused_reason` string, nullable, required
  - `monthly_limit_choices` integer[], required
  - `can_manage` boolean, required
  - `card_on_file` boolean, required

## Other responses

- `422`: Validation Error

---

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