---
title: "Changes to create payments"
method: POST
path: "/payments"
---

# Changes to create payments

`POST /payments`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 34 revisions.

- **2024-04-18** `f22fc08442b7`: 1 info
- **2024-01-05** `ea9c4628bfdb`: 1 breaking, 1 warning, 2 info
- **2023-12-21** `dbff52f9d224`: 5 breaking, 2 warning, 6 info
- **2023-12-08** `49b2a2e3f198`: 1 breaking
- **2023-12-07** `9f3c4190595b`: 1 info
- **2023-09-02** `6b13f6f47735`: 1 breaking

## Changes

- **2024-04-18** `f22fc08442b7`: 1 info
  - the response property `externalPaymentReferences` became required for the status `201`
- **2024-01-05** `ea9c4628bfdb`: 1 breaking, 1 warning, 2 info
  - removed the enum value `CHECK` of the request property `externalPaymentReference/sourceType`
  - added the new `CHEQUE` enum value to the `externalPaymentReferences/sourceType` response property for the response status `201`
  - added the new `CHEQUE` enum value to the request property `externalPaymentReference/sourceType`
  - removed the `CHECK` enum value from the `externalPaymentReferences/sourceType` response property for the response status `201`
- **2023-12-21** `dbff52f9d224`: 5 breaking, 2 warning, 6 info
  - added the new required request property `lineItemRecords/items/order`
  - added the new required request property `totalAmount`
  - removed the enum value `CREDITS` of the request property `lineItemRecords/items/type`
  - the response property `lineItemRecords/items/amount` became optional for the status `201`
  - the response property `lineItemRecords/items/togaiId` became optional for the status `201`
  - added the new `CREDIT` enum value to the `lineItemRecords/items/type` response property for the response status `201`
  - added the new `WALLET_CREDIT` enum value to the `lineItemRecords/items/type` response property for the response status `201`
  - the request property `lineItemRecords/items/amount` became optional
  - the request property `lineItemRecords/items/togaiId` became optional
  - added the new `CREDIT` enum value to the request property `lineItemRecords/items/type`
  - added the new `WALLET_CREDIT` enum value to the request property `lineItemRecords/items/type`
  - removed the `CREDITS` enum value from the `lineItemRecords/items/type` response property for the response status `201`
  - added the required property `lineItemRecords/items/order` to the response with the `201` status
- **2023-12-08** `49b2a2e3f198`: 1 breaking
  - the `createdAt` response's property type changed from `date-time` to `string`, and format from no format to `date-time` for status `201`
- **2023-12-07** `9f3c4190595b`: 1 info
  - endpoint added
- **2023-09-02** `6b13f6f47735`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/togaihq/apis/togai-apis/docs/payments/post.md) - [API](https://skmtc.dev/togaihq/apis/togai-apis.md) - [Page](https://skmtc.dev/togaihq/apis/togai-apis/changes/payments/post)
