What Prism Does
- Handler. Prism returns the
xyz.fd.prism_paymenthandler declaration. Merchants add the x402 payment requirements as itsconfigand include the result in their checkout session responses. Chains, tokens, and settlement addresses are configured in the Prism Console. - Payment requirements. At checkout, Prism returns x402 payment requirements with the correct token amounts and contract addresses already resolved.
- Settlement. The merchant forwards the agent’s signed credential to Prism. Prism verifies it, executes the on-chain transfer, and returns the transaction hash.
For Merchants
Add the Prism handler, prepare checkout sessions, and settle agent payments
For Agents
Discover ACP merchants, sign x402 payments, and complete checkout
End-to-End Flow
Follow one complete purchase from discovery to on-chain settlement