---
title: "Refund a transaction"
method: POST
path: "/api/v1.4/payments/transactions/{trx_uuid}/refund/"
tags: ["v1.1"]
---

# Refund a transaction

`POST /api/v1.4/payments/transactions/{trx_uuid}/refund/`

## Path parameters

- `trx_uuid` string, required

## Request body

- RefundProcess
  - `amount` string, decimal, required — The amount to refund, if performing a partial refund, the amount should be less than the original transaction amount
  - `refund_to_wallet` boolean — If set to true, the amount will be refunded to the customer's wallet
  - `customer` string — The ID of a specific customer you wish to associate this refund with. Required if `refund_to_wallet` is true
  - `custom_fields` unknown

## Other responses

- `400`
- `401`

---

[API](https://skmtc.net/moneyhash/apis/moneyhash-api.md) · [All operations](https://skmtc.net/moneyhash/apis/moneyhash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moneyhash/moneyhash-api/revisions/111e4c2e0826/schema)
