---
title: "Edit an exisiting payment type"
method: PUT
path: "/paymenttypes/{id}"
tags: ["PaymentTypes"]
---

# Edit an exisiting payment type

`PUT /paymenttypes/{id}`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/paymenttypes/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Query parameters

- `allowDeleted` integer

## Request body

- PaymentType
  - `id` integer: A unique payment type id
  - `title` string: The name of a payment type
  - `accountno` string, nullable: The account number associated with the payment type
  - `currency` string, nullable: The currency associated with the payment type
  - `exchangerate` number, nullable: The exchange rate of the given currency (if any) to the store's main currency.
  - `cash` integer: Whether or not the payment type is physical cash
  - `disabled` integer, nullable: Included when deleted payment types are allowed

## Response `200`

Ok

- PaymentType
  - `id` integer: A unique payment type id
  - `title` string: The name of a payment type
  - `accountno` string, nullable: The account number associated with the payment type
  - `currency` string, nullable: The currency associated with the payment type
  - `exchangerate` number, nullable: The exchange rate of the given currency (if any) to the store's main currency.
  - `cash` integer: Whether or not the payment type is physical cash
  - `disabled` integer, nullable: Included when deleted payment types are allowed

## Other responses

- `4XX`: Not found

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
