Two-layer architecture
Prism is the off-chain orchestration layer you integrate against; Spectrum is the on-chain settlement layer that moves the stablecoins. Merchants never touch a smart contract directly. For how the two layers fit together — and how Prism implements each protocol — see the Architecture section.Architecture overview
The orchestration and settlement layers, and Prism as the layer that speaks every protocol.
Transaction Lifecycle
Here’s what happens during a payment, step by step:Request
An AI agent makes an HTTP request to the merchant’s protected endpoint
(e.g.,
GET /api/premium/data).402 Response
The Prism SDK middleware intercepts the request and returns HTTP 402
Payment Required. The response includes payment requirements: amount,
token, chain, recipient address, and a deadline.
Payment
The agent’s wallet reads the 402 response, constructs a stablecoin payment,
and submits it on-chain.
Retry with Proof
The agent retries the original request, this time including the payment
proof (transaction signature) in the
X-PAYMENT header.Verification
Prism forwards the payment proof to Spectrum, which verifies the on-chain
transaction — correct amount, correct token, correct recipient, transaction
confirmed.
Settlement
Once verified, settlement is complete. The stablecoins are in the merchant’s
wallet. Prism confirms the payment to the SDK middleware.
Protocol support
Prism is protocol-agnostic — one integration covers x402, UCP, and ACP, so your setup stays the same regardless of which protocol a buyer’s agent speaks. For what each protocol is, see the protocol landscape overview; for how Prism implements each, see Architecture.Settlement
All settlements happen in stablecoins. Merchants choose which tokens and chains to accept in the Prism console. The transaction is final once confirmed on the blockchain. No chargebacks, no disputes, no clawbacks. Settlement flows directly from the agent’s wallet to the merchant’s wallet. No intermediary holds the funds. The merchant can hold stablecoins or transfer them to another wallet.| Chain | Settlement Time | Gas Cost |
|---|---|---|
| Base | ~2 seconds | Very low |
| Arbitrum | ~2 seconds | Very low |
| BSC | ~3 seconds | Low |
| Ethereum | ~12 seconds | Higher |