---
title: "Changes to Refund a transaction"
method: POST
path: "/v1.0/merchants/{merchant_code}/payments/{transaction_id}/refunds"
---

# Changes to Refund a transaction

`POST /v1.0/merchants/{merchant_code}/payments/{transaction_id}/refunds`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 79 revisions.

- **2026-07-17** `65a93b578213`: 1 breaking, 4 warning, 16 info
- **2026-07-10** `c75ca16e1e44`: 1 info

## Changes

- **2026-07-17** `65a93b578213`: 1 breaking, 4 warning, 16 info
  - removed the success response with the status `204`
  - removed the optional property `error_code` from the response with the `404` status
  - removed the optional property `error_code` from the response with the `409` status
  - removed the optional property `message` from the response with the `404` status
  - removed the optional property `message` from the response with the `409` status
  - media type `application/json` was changed to a more specific media type `application/problem+json` for the response status `404`
  - media type `application/json` was changed to a more specific media type `application/problem+json` for the response status `409`
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - added the non-success response with the status `422`
  - added the optional property `detail` to the response with the `404` status
  - added the optional property `detail` to the response with the `409` status
  - added the optional property `instance` to the response with the `404` status
  - added the optional property `instance` to the response with the `409` status
  - added the optional property `status` to the response with the `404` status
  - added the optional property `status` to the response with the `409` status
  - added the optional property `title` to the response with the `404` status
  - added the optional property `title` to the response with the `409` status
  - added the required property `type` to the response with the `404` status
  - added the required property `type` to the response with the `409` status
  - added the success response with the status `201`
- **2026-07-10** `c75ca16e1e44`: 1 info
  - the security scope `refunds.write` was added to the endpoint's security scheme `oauth2`

---

[Operation](https://skmtc.dev/sumup/apis/sumup-rest-api/docs/v1.0/merchants/:merchant_code/payments/:transaction_id/refunds/post.md) - [API](https://skmtc.dev/sumup/apis/sumup-rest-api.md) - [Page](https://skmtc.dev/sumup/apis/sumup-rest-api/changes/v1.0/merchants/:merchant_code/payments/:transaction_id/refunds/post)
