# Complete a pending refund (/api/refunds/complete-refund)

`POST https://api.comecero.com/api/v1/refunds/{refund_id}/complete`

Marks a `pending` refund `completed` without asking the payment provider again. For staff use when a refund did go through but Comecero never heard back. Completing it records fees and commissions, fires `refund:created_success` and sends the customer the refund email. A refund that is not pending comes back unchanged. No body is read. Only Comecero staff (admin tokens) may call this. Secret, trusted and limited tokens get `403`.

## Parameters

- `refund_id` (path, required): The refund id.

Responses: 200, 401, 403, 404, 500.

Full schemas: operation `complete_refund` in /openapi.json.