---
title: "Update a payment term"
method: PATCH
path: "/payment_terms/{payment_terms_id}"
tags: ["Payment terms"]
---

# Update a payment term

`PATCH /payment_terms/{payment_terms_id}`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/payment_terms/{payment_terms_id}`
- Auth: HTTP bearer

## Path parameters

- `payment_terms_id` string, required

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Request body

- object
  - `description` string
  - `name` string
  - `term_1` TermDiscountDays
    - `discount` integer, required: The discount percentage in minor units. E.g., 200 means 2%. 1050 means 10.5%.
    - `number_of_days` integer, required: The amount of days after the invoice issue date.
  - `term_2` TermDiscountDays
    - `discount` integer, required: The discount percentage in minor units. E.g., 200 means 2%. 1050 means 10.5%.
    - `number_of_days` integer, required: The amount of days after the invoice issue date.
  - `term_final` TermFinalDays
    - `number_of_days` integer, required: The amount of days after the invoice issue date.

## Response `200`

Successful Response

- PaymentTermsResponse
  - `id` string, uuid, required
  - `description` string
  - `name` string, required
  - `term_1` TermDiscountDays
    - `discount` integer, required: The discount percentage in minor units. E.g., 200 means 2%. 1050 means 10.5%.
    - `number_of_days` integer, required: The amount of days after the invoice issue date.
  - `term_2` TermDiscountDays
    - `discount` integer, required: The discount percentage in minor units. E.g., 200 means 2%. 1050 means 10.5%.
    - `number_of_days` integer, required: The amount of days after the invoice issue date.
  - `term_final` TermFinalDays, required
    - `number_of_days` integer, required: The amount of days after the invoice issue date.

## Other responses

- `400`: Bad Request
- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `403`: The specified access token does not have permissions to perform this operation.
- `404`: Not found
- `422`: Validation Error
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

[API](https://skmtc.dev/monite/apis/monite-2.md) - [All operations](https://skmtc.dev/monite/apis/monite-2/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-2/revisions/4299ccf95edb?raw)
