---
title: "Create refund"
method: POST
path: "/refunds"
tags: ["Refunds"]
---

# Create refund

`POST /refunds`

Create a full refund for a payment. Partial refunds are not supported.

## Request body

- CreateRefundRequest — Request body for creating a refund
  - `amount` string
  - `idempotency_key` string
  - `payment_id` string
  - `reason` RefundReasonDetail — The reason for the refund. If 'Other', please specify the reason in more detail.
    - `description` string
    - `type` 'Customer Request' | 'Duplicate' | 'Fraud' | 'Other'

## Response `201`

Refund is being processed!

- string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/alternativepayments/apis/alternative-payments.md) · [All operations](https://skmtc.net/alternativepayments/apis/alternative-payments/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alternativepayments/alternative-payments/revisions/730efda86cd1/schema)
