---
title: "Create Refund Admin"
method: POST
path: "/admin/accounts/{account_id}/refunds"
---

# Create Refund Admin

`POST /admin/accounts/{account_id}/refunds`

## Request

- Base URL: `https://api.textforagents.com`
- URL: `https://api.textforagents.com/admin/accounts/{account_id}/refunds`
- Auth: none declared

The AI support desk's refund tool (admin-authenticated):
same engine, same caps, same source-rail rule; the refund
is recorded as support-requested and audit-logged.

## Path parameters

- `account_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- RefundBody
  - `amount_cents` integer, required
  - `idempotency_key` string, nullable
  - `rail` string

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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