---
title: "Update Auto Top Up"
method: PUT
path: "/users/me/auto-top-up"
tags: ["General APIs with JWT"]
---

# Update Auto Top Up

`PUT /users/me/auto-top-up`

Update auto top up configuration for the user.

## Request body

- AutoTopUpUpdateDto
  - `threshold` number, required
  - `amount_to_top_up` number, required

## Response `200`

Successful Response

- AutoTopUp
  - `user_id` string, uuid, required
  - `threshold` number, required
  - `amount_to_top_up` number, required
  - `declined_payment_method_id` string, nullable
  - `consecutive_declines` integer
  - `last_decline_code` string, nullable
  - `last_decline_message` string, nullable
  - `next_retry_at` string, date-time, nullable
  - `paused_at` string, date-time, nullable
  - `decline_email_sent_at` string, date-time, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/lium/apis/lium-backend-api.md) · [All operations](https://skmtc.dev/lium/apis/lium-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lium/lium-backend-api/revisions/57db0a9348db/schema)
