---
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

---

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