xyz.fd.prism_payment handler, generates the x402 payment requirements an agent needs, and settles the signed payment on-chain.
How Prism Fits Into UCP
Prism makes the payment part of UCP much simpler. It handles three jobs:- Advertise the payment option. Prism gives merchants a ready-to-use
xyz.fd.prism_paymenthandler to return in their UCP profile. Supported chains, tokens, and settlement settings live in Prism Console, not in merchant code. - Prepare checkout. For each order, Prism returns a complete x402
paymentRequirementsobject with the right token amounts, contract addresses, and chain-specific details. - Settle the payment. Once the agent submits a signed credential, the merchant forwards it to Prism. Prism verifies it, settles it on-chain, and returns the transaction hash.
For Merchants
Add the Prism handler, prepare checkout sessions, and settle agent payments
For Agents
Discover UCP merchants, sign x402 payments, and complete checkout cleanly
End-to-End Flow
Follow one complete purchase from discovery to on-chain settlement