---
title: "Changes to Partially or totally refund a settlement"
method: POST
path: "/api/creditcontrol/accounts/{creditAccountId}/transactions/{transactionId}/refunds"
---

# Changes to Partially or totally refund a settlement

`POST /api/creditcontrol/accounts/{creditAccountId}/transactions/{transactionId}/refunds`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 51 revisions.

- **2023-12-21** `0cfe5b381175`: 7 warning
- **2023-11-24** `c8735f67eb83`: 2 breaking, 1 info

## Changes

- **2023-12-21** `0cfe5b381175`: 7 warning
  - the optional response header `connection` removed for the status `200`
  - the optional response header `content-length` removed for the status `200`
  - the optional response header `content-type` removed for the status `200`
  - the optional response header `date` removed for the status `200`
  - the optional response header `server` removed for the status `200`
  - the optional response header `x-powered-by` removed for the status `200`
  - the optional response header `x-vtex-janus-router-backend-app` removed for the status `200`
- **2023-11-24** `c8735f67eb83`: 2 breaking, 1 info
  - the `value` request property type changed from `string` to `number`
  - removed the required property `id` from the response with the `200` status
  - the `value` request property default value `20` was removed

---

[Operation](https://skmtc.dev/vtex/apis/customer-credit-api/docs/api/creditcontrol/accounts/:creditAccountId/transactions/:transactionId/refunds/post.md) - [API](https://skmtc.dev/vtex/apis/customer-credit-api.md) - [Page](https://skmtc.dev/vtex/apis/customer-credit-api/changes/api/creditcontrol/accounts/:creditAccountId/transactions/:transactionId/refunds/post)
