x402 package (from x402 import ...), version 2.28 or later. This page summarizes the members used with x402-algorand; signatures are taken from x402 2.28.0. The upstream project is the authoritative reference.
Each class has a synchronous variant for WSGI and other sync code: x402ClientSync, x402ResourceServerSync, x402FacilitatorSync.
x402Client
Selects a payment requirement from a402 challenge, enforces spend controls and policies, and asks the registered scheme to create the payment.
Spend controls default to the assets the registered schemes recognize (ALGO and USDC for Algorand) with a cap of
DEFAULT_MAX_AMOUNT_PER_PAYMENT = "$1". See Guardrails.