---
title: "Refund Payment"
method: POST
path: "/v1/billing/payments/{payment_id}/refund"
tags: ["billing"]
---

# Refund Payment

`POST /v1/billing/payments/{payment_id}/refund`

## Request

- Base URL: `https://api.kodik.ru` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kodik.ru/v1/billing/payments/{payment_id}/refund`
- Auth: HTTP bearer

## Path parameters

- `payment_id` integer, required

## Request body

- RefundPaymentRequest
  - `amount` number, nullable: Refund amount (None for full refund)

## Response `200`

Successful Response

- RefundPaymentResponse
  - `payment_id` integer, required
  - `refund_amount` number, required
  - `status` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

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