# x402r Documentation ## Docs - [Architecture](https://docs.x402r.org/contracts/architecture.md): System architecture, payment flows, and contract relationships - [Audits](https://docs.x402r.org/contracts/audits.md): Audit status, trust assumptions, and security roadmap for x402r contracts - [AlwaysTrueCondition](https://docs.x402r.org/contracts/conditions/always-true.md): Allow anyone to call an action with no restrictions - [Combinators](https://docs.x402r.org/contracts/conditions/combinators.md): Compose conditions with And, Or, and Not logical operators - [Custom Conditions](https://docs.x402r.org/contracts/conditions/custom.md): Build your own condition contracts for specialized authorization logic - [EscrowPeriod](https://docs.x402r.org/contracts/conditions/escrow-period.md): Time-lock condition that records authorization time and enforces escrow windows - [Freeze](https://docs.x402r.org/contracts/conditions/freeze.md): Block payment release when frozen, with configurable freeze/unfreeze authorization - [Conditions Overview](https://docs.x402r.org/contracts/conditions/overview.md): Pluggable condition system for flexible payment authorization and state tracking - [PayerCondition](https://docs.x402r.org/contracts/conditions/payer.md): Singleton condition that restricts operator actions to the payment payer address - [ReceiverCondition](https://docs.x402r.org/contracts/conditions/receiver.md): Singleton condition that restricts operator actions to the payment receiver address - [StaticAddressCondition](https://docs.x402r.org/contracts/conditions/static-address.md): Restrict operator actions to a specific designated address via immutable check - [Configuration Examples](https://docs.x402r.org/contracts/examples.md): Complete configuration examples for common x402r use cases - [Factories](https://docs.x402r.org/contracts/factories.md): Factory patterns, CREATE2 deployments, and deterministic addresses - [Fee System](https://docs.x402r.org/contracts/fees.md): Additive modular fee architecture with protocol and operator fee layers - [Gas Costs](https://docs.x402r.org/contracts/gas-costs.md): Simulated gas measurements for every on-chain operation, with per-plugin overhead breakdown - [License](https://docs.x402r.org/contracts/license.md): BUSL-1.1 licensing terms, permissions, and restrictions for x402r smart contracts - [Overview](https://docs.x402r.org/contracts/overview.md): Introduction to x402r smart contracts and their relationship to commerce-payments - [PaymentOperator](https://docs.x402r.org/contracts/payment-operator.md): The core payment operator contract with pluggable conditions and fee management - [Commerce Payments](https://docs.x402r.org/contracts/periphery/auth-capture-escrow.md): AuthCaptureEscrow and ERC3009PaymentCollector — the base layer from commerce-payments - [Periphery Overview](https://docs.x402r.org/contracts/periphery/overview.md): Supporting contracts that extend the PaymentOperator: escrow, refund requests, token collectors, and more - [ReceiverRefundCollector](https://docs.x402r.org/contracts/periphery/receiver-refund-collector.md): Pulls funds from receiver for post-escrow refunds - [RefundRequest](https://docs.x402r.org/contracts/periphery/refund-request.md): Manages refund request lifecycle and approvals independent of operator implementation - [RefundRequestEvidence](https://docs.x402r.org/contracts/periphery/refund-request-evidence.md): On-chain evidence submission for refund disputes - [AuthorizationTimeRecorder](https://docs.x402r.org/contracts/recorders/authorization-time.md): Records authorization timestamp for time-based conditions - [RecorderCombinator](https://docs.x402r.org/contracts/recorders/combinator.md): Chain multiple recorders into a single operator slot for composite state tracking - [Custom Recorders](https://docs.x402r.org/contracts/recorders/custom.md): Build your own recorder contracts for specialized state tracking - [Recorders Overview](https://docs.x402r.org/contracts/recorders/overview.md): State recording system for tracking payment lifecycle events - [PaymentIndexRecorder](https://docs.x402r.org/contracts/recorders/payment-index.md): Index payments by sequential count for on-chain queries and multiple refund requests - [What is x402r?](https://docs.x402r.org/index.md): x402r adds escrow deposits, refund windows, and dispute resolution to HTTP-native payments - [Roadmap](https://docs.x402r.org/roadmap.md): Current progress and upcoming features for the x402r protocol and SDK - [Arbiter Guide](https://docs.x402r.org/sdk/arbiter.md): Review refund requests, approve or deny refunds, and distribute fees. - [Create x402r Client](https://docs.x402r.org/sdk/create-client.md): Client factory, role presets, and configuration reference. - [Arbiter Setup](https://docs.x402r.org/sdk/delivery-arbiter.md): Build a service that evaluates responses and releases funds. - [Merchant Setup](https://docs.x402r.org/sdk/delivery-merchant.md): Configure forwardToArbiter() to send responses to the arbiter for evaluation. - [Delivery Protection](https://docs.x402r.org/sdk/delivery-protection.md): Automated quality verification for every transaction. - [Deploy an Operator](https://docs.x402r.org/sdk/deploy-operator.md): Deploy a PaymentOperator with escrow, freeze, and dispute resolution in one call - [Examples](https://docs.x402r.org/sdk/examples.md): Runnable examples for every SDK operation. - [Merchant Guide](https://docs.x402r.org/sdk/merchant.md): Accept a payment into escrow, check state, and release funds. - [Overview](https://docs.x402r.org/sdk/overview.md): TypeScript SDK for adding escrow, refunds, and dispute resolution to x402 payments - [Payer Guide](https://docs.x402r.org/sdk/payer.md): Check payment state, request a refund, freeze a payment, and submit evidence. - [Escrow vs Exact](https://docs.x402r.org/x402-integration/comparison.md): Detailed comparison of escrow and exact payment schemes - [Escrow Scheme Specification](https://docs.x402r.org/x402-integration/escrow-scheme.md): Technical specification for the x402 escrow payment scheme - [X402 Protocol Overview](https://docs.x402r.org/x402-integration/overview.md): How x402r extends the x402 HTTP payment protocol with escrow capabilities