---
title: "Atualiza threshold, amount e enabled"
method: PATCH
path: "/v1/wallet/auto-recharge"
tags: ["wallet"]
---

# Atualiza threshold, amount e enabled

`PATCH /v1/wallet/auto-recharge`

Ativar exige cartão cadastrado (assinatura Stripe).

## Request body

- UpdateAutoRechargeRequest
  - `enabled` boolean, nullable
  - `threshold` number, float, nullable
  - `amount` number, float, nullable

## Response `200`

Config atualizada

- AutoRechargeSettings
  - `enabled` boolean, required
  - `threshold` number, float, required — Saldo mínimo (R$) que dispara a recarga.
  - `amount` number, float, required — Valor da recarga (R$).
  - `lastAttemptAt` string, date-time, nullable
  - `lastFailureReason` string, nullable

## Other responses

- `400` — Payload inválido
- `401` — Token ausente ou inválido
- `404` — Recurso não encontrado

## Changes

- **2026-05-25** `4e426b85f784` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ararahq/apis/ararahq-api/changes/v1/wallet/auto-recharge/patch.md)

---

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