---
title: "Refund Transaction"
method: PATCH
path: "/api/v1/marketplace/purchases/{transaction_id}/refund"
tags: ["marketplace"]
---

# Refund Transaction

`PATCH /api/v1/marketplace/purchases/{transaction_id}/refund`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/marketplace/purchases/{transaction_id}/refund`
- Auth: HTTP bearer

Refund a completed transaction. Only the seller can refund.

## Path parameters

- `transaction_id` string, uuid, required

## Headers

- `x-api-key` string, nullable

## Response `200`

Successful Response

- TransactionResponse
  - `id` string, uuid, required
  - `listing_id` string, uuid, nullable, required
  - `buyer_entity_id` string, uuid, required
  - `seller_entity_id` string, uuid, required
  - `amount_cents` integer, required
  - `status` string, required
  - `listing_title` string, required
  - `listing_category` string, required
  - `notes` string, nullable
  - `platform_fee_cents` integer, nullable
  - `client_secret` string, nullable
  - `completed_at` string, nullable
  - `created_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentavow/apis/agentavow-api.md) · [All operations](https://skmtc.dev/agentavow/apis/agentavow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentavow/apis/agentavow-api/revisions/e1e20476dbfc?raw)
