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

# Changes to Cancel payment

`POST /v1/payments/{paymentId}/cancel`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 6 of 50 revisions.

- **2019-10-08** `6d52e43c48aa` — 5 breaking, 2 info
- **2019-10-06** `884c555517bc` — 7 info
- **2019-08-01** `6e01c8022b87` — 2 info
- **2019-07-31** `f8066d82895d` — 1 info
- **2019-07-31** `ef50a2b1c4f1` — 1 info
- **2019-02-22** `89daf4ffa64f` — 2 info

## Changes

- **2019-10-08** `6d52e43c48aa` — 5 breaking, 2 info
  - removed the media type `application/json` for the response with the status `400`
  - removed the media type `application/json` for the response with the status `404`
  - removed the media type `application/json` for the response with the status `409`
  - removed the media type `application/json` for the response with the status `429`
  - removed the media type `application/json` for the response with the status `500`
  - the endpoint scheme security `Authorization` was added to the API
  - the endpoint scheme security `BearerAuth` was removed from the API
- **2019-10-06** `884c555517bc` — 7 info
  - the endpoint scheme security `BearerAuth` was added to the API
  - the endpoint scheme security `Authorization` was removed from the API
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `404`
  - added the media type `application/json` for the response with the status `409`
  - added the media type `application/json` for the response with the status `429`
  - added the media type `application/json` for the response with the status `500`
- **2019-08-01** `6e01c8022b87` — 2 info
  - api tag `Card payments` added
  - api tag `Card Payments` removed
- **2019-07-31** `f8066d82895d` — 1 info
  - api operation id `cancelPayment` removed and replaced with `Cancel a payment`
- **2019-07-31** `ef50a2b1c4f1` — 1 info
  - api tag `Card Payments` added
- **2019-02-22** `89daf4ffa64f` — 2 info
  - api operation id `Cancel a payment` removed and replaced with `cancelPayment`
  - api tag `Card payments` removed

---

[Operation](https://skmtc.dev/alphagov/apis/gov-uk-pay-api/docs/v1/payments/:paymentId/cancel/post.md) · [API](https://skmtc.dev/alphagov/apis/gov-uk-pay-api.md) · [Page](https://skmtc.dev/alphagov/apis/gov-uk-pay-api/changes/v1/payments/:paymentId/cancel/post)
