---
title: "UpdateAutoTopupSettings"
method: POST
path: "/gitpod.v1.BillingService/UpdateAutoTopupSettings"
tags: ["gitpod.v1.BillingService"]
---

# UpdateAutoTopupSettings

`POST /gitpod.v1.BillingService/UpdateAutoTopupSettings`

Updates auto-topup settings for an organization.

 Use this method to:
 - Enable or disable automatic credit top-ups
 - Configure the top-up amount and threshold
 - Set a daily safety cap on automatic top-ups

 Requires Core tier and the auto-topup feature flag.

## Request body

- GitpodV1UpdateAutoTopupSettingsRequest
  - `organizationId` string, uuid, required — organization_id is the ID of the organization to update auto-topup settings for
  - `settings` GitpodV1AutoTopupSettings, required — AutoTopupSettings configures automatic credit top-ups for an organization.
    - `amountCredits` number, double — OCU amount per top-up. Must be one of: 40, 100, 200, 400, 1000.
    - `enabled` boolean — Whether auto-topup is enabled.
    - `maxDailyTopups` integer — Maximum number of automatic top-ups per day (safety cap, 0 means no cap).

## Response `200`

Success

- GitpodV1UpdateAutoTopupSettingsResponse
  - `settings` GitpodV1AutoTopupSettings — AutoTopupSettings configures automatic credit top-ups for an organization.
    - `amountCredits` number, double — OCU amount per top-up. Must be one of: 40, 100, 200, 400, 1000.
    - `enabled` boolean — Whether auto-topup is enabled.
    - `maxDailyTopups` integer — Maximum number of automatic top-ups per day (safety cap, 0 means no cap).

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/versions/44d50c2ac284/schema)
