Skip to content
Fast
SDK References / Payment Protocol Adapters / x402-sdk

x402-sdk

Current x402 HTTP payment packages in the Fast SDK monorepo

Package Role Source
@fastxyz/x402-client Pay for protected HTTP requests README
@fastxyz/x402-server Express payment middleware README
@fastxyz/x402-facilitator Verify and settle supported Fast and EVM payments README
@fastxyz/x402-types Shared protocol types Source

Install only the packages needed by your role. The client calls a protected resource, receives a 402, selects a supported payment requirement, pays, and retries. The server verifies the payment through the facilitator before passing the request to the resource handler. Fast and EVM payments have different authorization and settlement steps; configure the network and asset explicitly.