API Reference

Cassia Docs

Non-custodial crypto payment processor. Create invoices, manage wallets, receive webhooks. Merchants keep custody; Cassia never holds or moves funds.

Cassia lets you accept USDT and USDC payments on Ethereum, BSC, Arbitrum, Solana, or Tron straight to your own wallet — no custody, no KYC, one HTTP API. You hand over an xpub (a public key); Cassia derives a fresh deposit address per invoice, watches the chain, and POSTs a signed webhook when the payment lands.

Solana works slightly differently — its key format can’t derive addresses from a public key, so the deposit addresses are generated in your browser up front instead. See Chains & tokens for what that changes.

How it works in 5 steps

  1. Generate an API key (enable 2FA first, then project Overview → Quick integration).
  2. Connect a wallet — paste an xpub from your existing wallet, or generate one in the browser via the built-in BIP39 tool.
  3. POST /api/invoices to mint a payment request.
  4. Receive a webhook event when paid.
  5. Grant your customer access — typically on invoice.confirmed.
bash
curl -X POST https://cassiapay.com/api/invoices \
  -H "Authorization: Bearer $CASSIA_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "chain": "eip155:56",
    "token": "USDT",
    "amount": 10.00,
    "metadata": { "order_id": "demo-1" }
  }'
An xpub is a public key. It does not give us access to your funds — only the ability to derive deposit addresses for you.

Skip the boilerplate. Before you start, make sure you have three things ready in the dashboard:

  • API key — enable 2FA in Settings, then project Overview → Quick integration → Generate API key
  • Wallets connected — at least one wallet per chain you want to accept (Ethereum, BSC, Arbitrum, Solana, Tron) — Wallets → Connect wallet
  • Webhook endpoint — your server URL + signing secret — Webhooks → Add endpoint

Then paste the full spec, https://cassiapay.com/llms-full.txt, into Claude Code, Cursor, or your favourite coding assistant along with your API key and webhook secret — it can wire up the full integration (invoice creation for all chains and tokens, webhook handler, signature verification, granting access) in a single prompt.

The pitch in one screen

  • 1% commission, post-paid. Start earning before you ever top up — no prepayment, no monthly fees.
  • No KYC, no custody. Funds land on your own wallet, instantly.
  • 5 networks. Ethereum, BSC, Arbitrum, Solana, Tron — pick what your customers can pay on.

How Cassia compares

CassiaStripeTelegram Wallet Pay
CustodyNon-custodial — your walletCustodial — Stripe holds fundsCustodial — Telegram holds funds
KYCNoneRequired (business + ID)Required for payouts
Settlement assetUSDT / USDC, nativeFiat (USD/EUR/etc.)USDT (TON), TON, BTC
Refund mechanismYou send from your walletOne-click via dashboard / APIIn-app, Wallet-mediated
Fees1%, post-paid~2.9% + $0.30 per charge~0.4–3%, varies
NetworksEthereum, BSC, Arbitrum, Solana, TronCard rails (Visa/MC/etc.)TON, BTC
Where money landsYour on-chain wallet, instantlyStripe balance → bank, T+2Wallet account → manual payout

Start with Non-custodial model (the one page you absolutely read first), then Credit line, Invoice lifecycle, and jump to Quickstart when you’re ready to integrate.

What’s new

  1. 3 changes
  2. 6 changes
  3. 6 changes
View all updates

Documentation sections

Updated . For integration help, email [email protected]

From signup to payment setup in 7 minutes

Start accepting
payments today
on 5 blockchains.

Create accountRead documentation