---
title: "Update auto-topup settings"
method: PATCH
path: "/account/topup-settings"
tags: ["Account"]
---

# Update auto-topup settings

`PATCH /account/topup-settings`

## Request

- Base URL: `https://opnplatform.com/api`
- URL: `https://opnplatform.com/api/account/topup-settings`
- Auth: HTTP bearer

## Request body

- object
  - `enabled` boolean
  - `threshold` integer
  - `topup_amount` integer

## Response `200`

Settings updated

## Other responses

- `400`: Invalid threshold or amount
- `402`: No payment method on file — complete a purchase first

---

[API](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network.md) · [All operations](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/llms.txt) · [OpenAPI document](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/revisions/f427c0467bb2?raw)
