---
title: "Change transaction"
method: PATCH
path: "/v2/transactions/{ratepay_transaction_id}"
tags: ["Transaction management"]
---

# Change transaction

`PATCH /v2/transactions/{ratepay_transaction_id}`

Change attributes of an existing transaction.

## Path parameters

- `ratepay_transaction_id` string, required

## Headers

- `X-Partner` string

## Response `204`

Transaction changed

## Other responses

- `400` — Bad request
- `404` — Transaction not found
- `422` — Change declined
- `451` — Legally not allowed
- `500` — Technical problem

---

[API](https://skmtc.net/ratepay/apis/payment-openapi-specification.md) · [All operations](https://skmtc.net/ratepay/apis/payment-openapi-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ratepay/payment-openapi-specification/revisions/1c957020939e/schema)
