---
title: "Changes to Insert a new payment rule"
method: POST
path: "/api/pvt/rules"
---

# Changes to Insert a new payment rule

`POST /api/pvt/rules`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 10 of 52 revisions.

- **2024-06-10** `aca4931fa22b` — 2 info
- **2024-02-06** `f2ac9712d7ce` — 1 info
- **2024-02-01** `e0f0940dcde8` — 4 breaking
- **2024-01-16** `660227ebd7e8` — 1 breaking, 1 info
- **2024-01-16** `6ca16ae78f1b` — 1 breaking, 1 info
- **2024-01-16** `7d66c05ad76f` — 1 breaking, 1 info
- **2024-01-16** `f750e0682316` — 2 breaking, 2 info
- **2024-01-16** `53d1d43f6fa8` — 2 breaking
- **2024-01-16** `a38afb87a11b` — 4 breaking, 1 info
- **2024-01-16** `e6bea95b9c18` — 5 breaking, 1 info

## Changes

- **2024-06-10** `aca4931fa22b` — 2 info
  - the endpoint scheme security `VtexIdclientAutCookie` was added to the API
  - the endpoint scheme security `appKey AND appToken` was added to the API
- **2024-02-06** `f2ac9712d7ce` — 1 info
  - request body became optional
- **2024-02-01** `e0f0940dcde8` — 4 breaking
  - the `deadlines/items/` request property type/format changed from ``/`` to `object`/``
  - the `salesChannels/items/` request property type/format changed from ``/`` to `object`/``
  - the `deadlines/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `salesChannels/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
- **2024-01-16** `660227ebd7e8` — 1 breaking, 1 info
  - the response property `installmentOptions/installments/items/interestTax` became nullable for the status `200`
  - the request property `installmentOptions/installments/items/interestTax` became nullable
- **2024-01-16** `6ca16ae78f1b` — 1 breaking, 1 info
  - the response property `dateIntervals` became nullable for the status `200`
  - the request property `dateIntervals` became nullable
- **2024-01-16** `7d66c05ad76f` — 1 breaking, 1 info
  - the response property `country` became nullable for the status `200`
  - the request property `country` became nullable
- **2024-01-16** `f750e0682316` — 2 breaking, 2 info
  - the response property `condition` became nullable for the status `200`
  - the response property `connector` became nullable for the status `200`
  - the request property `condition` became nullable
  - the request property `connector` became nullable
- **2024-01-16** `53d1d43f6fa8` — 2 breaking
  - the `paymentSystem/id` request property type/format changed from `string`/`` to `number`/``
  - the `paymentSystem/id` response's property type/format changed from `string`/`` to `number`/`` for status `200`
- **2024-01-16** `a38afb87a11b` — 4 breaking, 1 info
  - the `paymentSystem/id` request property type/format changed from `number`/`` to `string`/``
  - the response property `antifraud` became nullable for the status `200`
  - the response property `installmentOptions/installments/items/ruleId` became nullable for the status `200`
  - the `paymentSystem/id` response's property type/format changed from `number`/`` to `string`/`` for status `200`
  - the request property `antifraud` became nullable
- **2024-01-16** `e6bea95b9c18` — 5 breaking, 1 info
  - the `country/isoCode` request property type/format changed from `number`/`` to `string`/``
  - the `dateIntervals/items/end` request property type/format changed from `number`/`` to `string`/``
  - the response's body type/format changed from `array`/`` to `object`/`` for status `200`
  - the `country/isoCode` response's property type/format changed from `number`/`` to `string`/`` for status `200`
  - the `dateIntervals/items/end` response's property type/format changed from `number`/`` to `string`/`` for status `200`
  - the request property `installmentOptions/installments/items/ruleId` became nullable

---

[Operation](https://skmtc.dev/vtex/apis/payments-gateway-api/docs/api/pvt/rules/post.md) · [API](https://skmtc.dev/vtex/apis/payments-gateway-api.md) · [Page](https://skmtc.dev/vtex/apis/payments-gateway-api/changes/api/pvt/rules/post)
