> Source: https://developers.terrawallet.us/docs/pay/refunds . Terra Wallet developer docs (early access).

# Refunds

Terra never holds your money, so it cannot send a refund for you. Instead, the API creates a **refund draft**,
you sign and send it from your own wallet, and Terra verifies it on chain.

> **Preview.** The API is in early access and may change before launch.

## Create a draft

`POST /v1/refunds` with the payment intent and the amount (full or partial):

```bash
curl https://terrawallet.us/api/v1/refunds \
  -H "Authorization: Bearer $TERRA_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: refund-order-1042" \
  -d '{ "payment_intent": "pi_...", "amount": "20.00" }'
```

The draft moves nothing.

## Sign and send it

1. Open the draft in the dashboard.
2. Sign it with your own wallet: Terra Wallet or any wallet through WalletConnect.
3. Your wallet broadcasts the transaction.
4. Terra verifies the refund on chain and links it to the original payment.

## Why it works this way

- **No API call can move funds.** Not with a secret key, not through the dashboard API, not through an AI or MCP
  tool. A stolen key can at most create a draft that a person must still sign.
- **The refund is real only on chain.** The draft becomes a refund when the chain shows the transaction, not
  when someone marks it done.

## Overpayments

An overpaid intent is flagged for a refund. Create a draft for the difference and sign it the same way.
