---
title: "Changes to Cancel a payment"
method: POST
path: "/payments/{id}/cancel"
---

# Changes to Cancel a payment

`POST /payments/{id}/cancel`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 6 revisions.

- **2026-09-30** `6b60d7283338`: 6 breaking, 206 warning, 45 info
- **2026-09-09** `c9333ea84ea5`: 1 info

## Changes

- **2026-09-30** `6b60d7283338`: 6 breaking, 206 warning, 45 info
  - for the `path` request parameter `id`, the minLength was increased from `0` to `8`
  - added the pattern `^[a-zA-Z0-9]{8,9}$` to the `path` request parameter `id`
  - the response property `statusReason/type` became optional for the status `200`
  - the response property `transactions/items/events/items/processorStatusReason/allOf[subschema #1: StatusReasonAPISchema]/type` became optional for the status `200`
  - the response property `transactions/items/orderId` became optional for the status `200`
  - the response property `transactions/items/processorStatusReason/type` became optional for the status `200`
  - for the `path` request parameter `id`, the maxLength was set to `9`
  - added the new `ADYEN_ALIPAY_PLUS` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `ADYEN_CASHAPP` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `ADYEN_KAKAOPAY` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `ADYEN_PAYPAY` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_BANK_TRANSFER` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_BLIK` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_CASHAPP` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_DANA` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_GCASH` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_GRABPAY` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_IDEAL` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_KAKAOPAY` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_KLARNA` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_OCTOPUS` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_P24` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_PAYSAFECARD` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_PAYSAFECASH` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_PROMPTPAY` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_SEPA` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_SKRILL` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_TABBY` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_TWINT` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_WECHAT` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `AIRWALLEX_WERO` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `ALMA` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `CETELEM_BNPP_FINANCING` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `CHECKOUT_ACH` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `CHECKOUT_ALIPAY_CN` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `CHECKOUT_ALIPAY_HK` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `CHECKOUT_ALMA` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `CHECKOUT_BANCONTACT` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `CHECKOUT_BENEFIT` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - added the new `CHECKOUT_BIZUM` enum value to the `paymentMethod/paymentMethodType` response property for the response status `200`
  - …217 more
- **2026-09-09** `c9333ea84ea5`: 1 info
  - added the optional property `paymentMethod/paymentMethodData/anyOf[subschema #1: PaymentCardTokenAPISchema]/firstDigits` to the response with the `200` status

---

[Operation](https://skmtc.dev/primer/apis/primer-api/docs/payments/:id/cancel/post.md) - [API](https://skmtc.dev/primer/apis/primer-api.md) - [Page](https://skmtc.dev/primer/apis/primer-api/changes/payments/:id/cancel/post)
