> ## Documentation Index
> Fetch the complete documentation index at: https://developers.ebioro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Refunds

> Issue refunds to customers

## Overview

You can refund completed payments. A refund returns funds to the `sender_account` (the Stellar wallet that made the original payment).

## Refunds are issued from the Ebioro portal, not the API

Ebioro payments are **non-custodial**: settled funds land directly on your own
account, not in an Ebioro-controlled wallet. A refund therefore moves *your*
funds and must be **signed by you**. Issue refunds from the **Ebioro enterprise
portal**:

**Comercio → open the payment → Refund**

The portal walks you through approving and signing the refund with your Ebioro
signing session, then submits it to the network. There is no API endpoint to
*create* a refund, because an API key cannot sign on your behalf.

## Querying refunds via the API

Refunds are *created* in the portal, but you can **read** them through the API
for reconciliation:

* `GET /refunds` — list refunds
* `GET /refunds/{id}` — get a single refund

## Refund Rules

* The payment must be in `paid` or `underpaid_accepted` status
* The refund amount cannot exceed the amount received for the payment
* Only one refund can be in progress per payment at a time
* The refund is sent to `sender_account` (the original payer)

## Refund Statuses

| Status       | Description                             |
| ------------ | --------------------------------------- |
| `open`       | Refund created, pending submission      |
| `processing` | Refund transaction submitted to Stellar |
| `refunded`   | Refund completed successfully           |
