---
title: "Solicita reembolso total ou parcial de uma cobrança"
method: POST
path: "/v1/charges/{chargeId}/refunds"
tags: ["Refunds"]
---

# Solicita reembolso total ou parcial de uma cobrança

`POST /v1/charges/{chargeId}/refunds`

## Request

- Base URL: `https://api.sandbox.mupag.com.br`
- URL: `https://api.sandbox.mupag.com.br/v1/charges/{chargeId}/refunds`
- Auth: HTTP bearer

## Path parameters

- `chargeId` string, uuid, required

## Headers

- `Idempotency-Key` string, required

## Request body

- union
  - object
    - `amount_cents` integer, required
    - `full` boolean
    - `reason` string
  - object
    - `amount_cents` integer
    - `full` true, required
    - `reason` string

## Response `202`

Reembolso aceito para processamento idempotente

- RefundResponse
  - `refund_id` string, uuid, required
  - `charge_id` string, uuid, required
  - `amount_cents` integer, required
  - `status` 'requested' | 'processing' | 'completed' | 'failed' | 'cancelled' | 'unknown', required
  - `psp_refund_id` string, nullable
  - `reason` string, nullable
  - `requested_at` string, date-time, required
  - `completed_at` string, date-time, nullable
  - `failure_reason` string, nullable

## Other responses

- `401`: Falha de autenticação
- `403`: Permissão insuficiente
- `409`: Conflito de idempotência ou estado
- `422`: Erro de validação
- `429`: Limite de requisições excedido
- `502`: Falha em integração externa

---

[API](https://skmtc.dev/mupag/apis/mupag-public-merchant-api.md) · [All operations](https://skmtc.dev/mupag/apis/mupag-public-merchant-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mupag/apis/mupag-public-merchant-api/revisions/677904516d2d?raw)
