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

Terra Pay

Terra Pay creates payment requests, shows your customer a checkout page, and verifies the payment on chain. The money goes from your customer's wallet straight to your own wallet. Terra never holds funds or keys.

Ways to get paid#

WhatUse it forGuide
Payment intentsOne payment for one amount, created by your serverPayment intents
Hosted checkoutThe page at pay.terrawallet.us/c/{id} that your customer pays onHosted checkout
Payment linksReusable no-code links with a fixed or customer-chosen amountPayment links
InvoicesLine items and a due date, sent by emailInvoices
Plans and subscriptionsRecurring payments, paid each periodSubscriptions and plans
Refund draftsFull or partial refunds that you sign in your own walletRefunds

How a payment works#

  1. You create a payment intent with an amount in fiat ("120.00" USD) and the assets you accept.
  2. Terra quotes an exact crypto amount for each accepted asset, locked for the intent's window (15 minutes by default).
  3. The customer pays from their own wallet to your payout wallet.
  4. Terra verifies it on chain: the right recipient, the right token contract (never just the symbol), the exact amount, and the network's confirmation policy. A transaction hash alone never counts.
  5. You get a signed webhook, payment_intent.succeeded. Verify it, then fulfil.

Rules that protect you#

  • Chain truth. A payment is "paid" only on verified on-chain data. Nothing admin-entered or client-reported ever counts.
  • One transaction per intent, one exact amount per intent. A payment can be tied to exactly one intent.
  • Payout wallets are locked down. Adding or changing one needs an authenticator code, email confirmation and a 24-hour cooldown, and every owner is alerted. See Payout wallets.
  • No money moves through the API. Refunds are drafts you sign yourself. No API call, AI or MCP tool can move or sign funds.

Assets#

Stablecoins first: USDT and USDC on Tron, BNB Smart Chain, Ethereum, Polygon, Arbitrum and Solana, and USDC on Base, each matched by its verified contract. The full list with contract addresses is in Supported networks and assets.

Before you build#