---
title: "refund"
method: POST
path: "/api/acceptor/purchases/refund"
tags: ["purchase-acceptor-resource"]
---

# refund

`POST /api/acceptor/purchases/refund`

## Request body

- PurchaseRefundCommand
  - `acceptorCode` string
  - `purchaseId` integer
  - `refundReason` 'POOR_QUALITY' | 'FOUND_BETTER_ALTERNATIVE' | 'LATE_DELIVERY' | 'CHANGED_MY_MIND' | 'I_NEED_ITS_MONEY' | 'USER_MISTAKE'

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/ayriaclub/apis/ayria-api.md) · [All operations](https://skmtc.dev/ayriaclub/apis/ayria-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ayriaclub/ayria-api/revisions/e53c83aeee1d/schema)
