Non-custodial model
Cassia does not custody customer payments. When a customer pays, the on-chain transaction lands directly on your own wallet. Cassia watches the chain and notifies you over a webhook, but at no point does the money pass through a Cassia-controlled wallet.
This is the most important thing to understand before integrating.
Frequently misunderstood
Can Cassia freeze my funds?
No. Funds never enter Cassia infrastructure. They’re in your wallet from the moment the transaction confirms on-chain.
Can Cassia reverse a payment?
No. On-chain transactions are final. Cassia cannot pull funds out of your wallet.
Who handles refunds?
You do, from your own wallet. Cassia surfaces the customer’s funding address and tx hash on the invoice object — you send the refund to that same address using your usual wallet tooling.
Why do I need to hand over an xpub?
Because Cassia doesn’t custody. An xpub (BIP32 extended public key) lets Cassia derive a fresh deposit address for each invoice without ever seeing your seed phrase or private keys. The derived addresses are part of your wallet’s key tree — only your seed can spend from them.
What if someone steals my API key?
Funds already in your wallet are safe: Cassia never holds them, and an API key alone can’t sign on-chain transactions.
An API key reaches only the payment API: it can create, read and cancel invoices and export the invoice list. It cannot add or replace a wallet, register a webhook, or read your balance or settings — those are dashboard-only (session) operations, with or without 2FA, so a stolen key can’t redirect future deposits.
The damage is limited to the payment API: an attacker can read your invoice history (including metadata), create junk invoices, and cancel open ones — a customer paying a cancelled invoice is not credited. Enable 2FA in Settings anyway — it protects the wallet and key operations in your dashboard. And revoke the key the moment you suspect it’s leaked — it stops working immediately.
Updated . For integration help, email [email protected]