Skip to content
Terra WalletDevelopers

Early access. The Terra API and SDKs may change before launch, and the SDK packages are not published yet.

View as Markdown

Terra Pay

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.

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#

StatusMeaning
pending_confirmationWaiting for the email confirmation
cooling_downConfirmed; the 24-hour cooldown is running
activeReceiving payments
disabledNot 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.

Shell

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.