pip install xenarch. Source: xenarch-sdks/python. See the Python SDK guide.
- Choose which networks and coins a pay link takes:
links.networks(),links.set_networks(). Besides USDC on Base, a link can take USDC and USDT on Ethereum, BNB Chain and Monad, and USDT on Tron.links.available_networks()lists them all. XEN-719 links.wallet_scan()shows a payer’s balances and network fees on each network a link takes.- Each payment from
payments.list()carriesnetwork,token,chain_idandexplorer_url.
- README and package docs: the seller pays Xenarch 1% of each payment. Gasless applies to agent (x402) payments; people paying a pay link send an ordinary USDC transfer and pay Base’s network fee. XEN-675 XEN-673
- The FastAPI middleware accepts plain x402
X-PAYMENTpayments from any x402 client, not only Xenarch agents. XEN-457 - The default API host is
api.xenarch.dev.
xenarch.webhooks.verify()checks the timestampedX-Xenarch-Signature: t=…,v1=…scheme and rejects replayed deliveries. XEN-431
xenarch.merchant.MerchantClient: create, validate, list and revoke pay links, and read payments, subscribers and your merchant profile.from_config()reuses the CLI’s session and wallet. XEN-417xenarch.webhooks.verify()for incoming webhooks.xenarch.x402holds the buyer-side protocol tools.- Agents report receipts to the agent control plane and honour its spend caps and scope rules. A payment the caps refuse is not sent, and a reserved cap is refunded if settlement fails. XEN-372 XEN-373 XEN-374
- Adapters for LangGraph (
XenarchLangGraphPay) and CrewAI (XenarchCrewaiPay). - Listing copy refreshed in 0.2.3 and 0.2.4 (2026-05-13).
- AutoGen
FunctionTooladapter forXenarchPayer. XEN-173 - Fixed: framework extras now install the x402 dependency. XEN-192
XenarchPayer: pays x402 gates directly to the seller’s wallet. Payments no longer go through a splitter contract. XEN-182- Budget guardrails, pay.json pre-discovery and early refusal when a price exceeds the budget. XEN-148 XEN-164
- Signed receipts and an opt-in reputation check. XEN-165