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

# Create Refund

`POST /refunds/refund`

## Request

- The document declares no server URL.
- Auth: none declared. Required headers: `MerchantId`, `ApiKey`, `Environment`

This endpoint allows you to create a refund

## Headers

- `MerchantId` string, required
- `ApiKey` string, required
- `Environment` 'live' | 'sandbox', required

## Request body

- RefundRequestDto
  - `id` string, required: The ID of the transfer to refund

## Response `201`

- CreateRefundResponseDto
  - `id` number, required: The ID of the refund

## Other responses

- `400`: Bad Request
- `401`: Wrong credentials
- `403`: Forbidden
- `404`: Not Found
- `409`: Invalid request
- `429`: ThrottlerException: Too Many Requests
- `500`: Internal error
- `503`: Service unavailable

## Changes

- **2026-11-03** `f6d3f87df5e0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hub2/apis/hub2-service-api/changes/refunds/refund/post.md)

---

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