---
search:
  tags:
    - Billing
    - PATCH
seo:
  description: >-
    Changes the wallet's auto-reload settings. Needs the billing:write scope.
    Reference for the PATCH /billing/wallet endpoint in the Zaraftis Public API.
sidebar:
  label: Update auto-reload settings
  badge: PATCH
title: Update auto-reload settings
type: openapi-operation
---
Changes the wallet's auto-reload settings. Needs the billing:write scope.

`PATCH /billing/wallet`

**Request body** (`application/json`, required)

- `enabled` (boolean)
- `threshold_credits` (integer)
- `target_credits` (integer)

Request body example:

```json
{
  "enabled": true,
  "threshold_credits": 100,
  "target_credits": 500
}
```

**Responses**

- `200` — The wallet's credit facts after the change
- `400` — bad\_request or validation\_failed
