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

# Payout wallets

A payout wallet is your own wallet address on a chain. Customers pay into it directly. Terra never holds the funds
or the keys.

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

## Why payout wallets are locked down

The most common real-world attack on a payment gateway is not stealing funds from the gateway: it is taking over
a merchant account and quietly changing the payout address, so customers pay the attacker. Terra makes that slow,
loud and hard:

- **An authenticator code (TOTP)** is required to add or change a payout wallet.
- **Email confirmation** follows.
- **A 24-hour cooldown** starts before the wallet can receive payments.
- **Every owner gets an email** about the change.
- An **allowlist** of permitted addresses is an optional extra lock, per the design.

No caller can skip these steps: not a secret key, not the dashboard, not an AI assistant or MCP tool.

## Statuses

| Status | Meaning |
|---|---|
| `pending_confirmation` | Waiting for the email confirmation |
| `cooling_down` | Confirmed; the 24-hour cooldown is running |
| `active` | Receiving payments |
| `disabled` | Not used for payments |

When a wallet becomes active you get the `payout_wallet.activated` webhook.

## Add a wallet

`POST /v1/payout-wallets` with `chain`, `address` and `label`. `GET /v1/payout-wallets` lists them with their
status.

```bash
curl https://terrawallet.us/api/v1/payout-wallets \
  -H "Authorization: Bearer $TERRA_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: payout-tron-main" \
  -d '{ "chain": "tron", "address": "T...", "label": "Main Tron wallet" }'
```

Then finish the TOTP and email steps in the dashboard.

## Safety checklist

- Use a wallet only you control, ideally a hardware wallet or a multisig for large volumes.
- Double-check the full address, not just the first and last characters: address-poisoning attacks use look-alike
  addresses.
- Register each chain separately, even when one EVM address works on several EVM chains, and make sure you
  control that address on that exact chain: some smart-contract wallets exist on one chain only.
- Treat an unexpected "payout wallet changed" email as an incident: sign in, review the audit log and remove the
  wallet during its cooldown.
