---
title: "Create a payment type"
method: POST
path: "/paymenttypes"
tags: ["PaymentTypes"]
---

# Create a payment type

`POST /paymenttypes`

## Request

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

## 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

---

[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)
