---
title: "Update Autopay"
method: PATCH
path: "/cabinet/subscription/autopay"
tags: ["Cabinet Subscription"]
---

# Update Autopay

`PATCH /cabinet/subscription/autopay`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/cabinet/subscription/autopay/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update autopay settings.

## Request body

- AutopayUpdateRequest: Request to update autopay settings.
  - `enabled` boolean, required
  - `days_before` integer, nullable: Days before expiration to charge

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/cabinet/subscription/autopay/patch.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
