---
title: "Update Payment Mode"
method: PUT
path: "/invoices/payment_modes/{payment_mode_uid}"
---

# Update Payment Mode

`PUT /invoices/payment_modes/{payment_mode_uid}`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/invoices/payment_modes/{payment_mode_uid}`
- Auth: API key in header `x-api-key`

The CREDIT payment mode cannot be edited. If restrict_to_access_role is set on the existing mode, the caller's role must be in enabled_to_access_role or the request is rejected (403).

## Path parameters

- `payment_mode_uid` string, required

## Request body

- object
  - `payment_mode` object
    - `payment_mode_name` string, required
    - `payment_mode_type` 'ONLINE' | 'OFFLINE' | 'FINANCE' | 'CHECK', required
    - `payment_mode_description` string, required
    - `restrict_to_access_role` boolean
    - `enabled_to_access_role` string[]

## Response `200`

200

- object
  - `type` string
  - `title` string
  - `message` string
  - `data` object
    - `payment_mode_uid` string

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/invoices/payment_modes/:payment_mode_uid/put.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
