---
title: "Update a payee"
method: PATCH
path: "/plans/{plan_id}/payees/{payee_id}"
tags: ["Payees"]
---

# Update a payee

`PATCH /plans/{plan_id}/payees/{payee_id}`

Update a payee

## Path parameters

- `plan_id` string, required
- `payee_id` string, required

## Request body

- PatchPayeeWrapper
  - `payee` SavePayee, required
    - `name` string — The name of the payee.

## Response `200`

The payee was successfully updated

- SavePayeeResponse
  - `data` object, required
    - `payee` Payee, required
      - `id` string, uuid, required
      - `name` string, required
      - `transfer_account_id` string, nullable — If a transfer payee, the `account_id` to which this payee transfers to
      - `deleted` boolean, required — Whether or not the payee has been deleted. Deleted payees will only be included in delta requests.
    - `server_knowledge` integer, required — The knowledge of the server

## Other responses

- `400` — The request could not be understood due to malformed syntax or validation error(s)

---

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