{"slug": "bank-of-ai", "title": "Bank of AI", "summary": "Bank of AI has launched x402, an open blockchain payment standard built on the HTTP 402 status code that enables web services to charge for APIs or content through a pay-before-response mechanism. The protocol currently supports TRON and BSC networks and aims to provide a low-barrier, permissionless, developer-friendly programmable commerce layer for machine-to-machine payments and microtransactions.", "body_md": "# Welcome to x402\n\nx402 is an open blockchain payment standard built on the HTTP `402 Payment Required`\n\nstatus code. It enables web services to charge for APIs or content through a “pay-before-response” mechanism — without relying on traditional account systems or session management.\n\nx402 currently supports the **TRON** and **BSC** networks, with plans to expand to a broader multi-chain ecosystem in the future.\n\n**Interested in contributing to the documentation?**\n\nFeel free to submit a PR to the [GitHub repository](https://github.com/BofAI/docs). Our only principle is to maintain neutrality — aside from essential resource links, please avoid promotional or branded content.\n\n**Building with x402?**\nInstall the published [ @bankofai/x402-*](https://www.npmjs.com/package/@bankofai/x402-tron) packages in your TypeScript app. The\n\n[ships runnable client → server → facilitator examples under](https://github.com/BofAI/x402)\n\n`x402`\n\nrepository`examples/typescript/`\n\nfor reference — `exact`\n\n, `gasfree`\n\n, `upto`\n\n, and `batch-settlement`\n\n.## Why Use x402?\n\nx402 addresses the core pain points of existing payment systems:\n\n**High fees and complex workflows** in traditional credit card and fiat payment channels**Poor support for machine-to-machine (M2M) payments**, such as autonomous AI agent transactions** Lack of efficient micro-payment infrastructure**, making usage-based monetization difficult- Leveraging blockchain’s\n**fast and low-cost transaction capabilities**\n\n## Who Is x402 For?\n\n**Sellers:** Service providers who want to monetize APIs or content. With minimal configuration, x402 enables direct, programmatic payments from clients.**Buyers:** Developers and AI agents who want to access paid services without registration flows or manual intervention.\n\nBuyers and sellers interact directly through HTTP requests, while payments are executed transparently and automatically on-chain by the protocol.\n\n## What Can You Build?\n\nx402 supports a wide range of use cases:\n\n**Pay-per-request APIs****AI agents capable of autonomously paying for APIs****Digital content paywalls****Microservices monetized via microtransactions****API aggregation services that do not resell underlying capabilities**\n\n## How It Works\n\nAt a high level, the workflow is straightforward:\n\n**Request Initiated:** The buyer requests a protected resource from the server.**Payment Required:** If payment is required, the server returns a`402 Payment Required`\n\nresponse along with payment instructions.**Payment Submitted:** The buyer generates and submits a signed payment payload.**Verification & Settlement:** The server calls the x402 Facilitator’s`/verify`\n\nand`/settle`\n\nendpoints to validate and settle the payment.**Resource Delivered:** Once verification succeeds, the server delivers the requested resource.\n\nTo explore further:\n\nOur goal is to build a low-barrier, permissionless, developer-friendly programmable commerce layer on blockchain.\n\n## Network Support\n\nx402 currently supports the following networks:\n\n**TRON Mainnet**(`tron:mainnet`\n\n)**TRON Shasta Testnet**(`tron:shasta`\n\n)**TRON Nile Testnet**(`tron:nile`\n\n)**BSC Mainnet**(`eip155:56`\n\n)**BSC Testnet**(`eip155:97`\n\n)\n\nSDK (TypeScript-only): x402 is a TypeScript-only SDK published as granular`@bankofai/x402-*`\n\nnpm packages (`core`\n\n,`evm`\n\n,`tron`\n\n,`fetch`\n\n,`express`\n\n,`hono`\n\n,`fastify`\n\n,`next`\n\n,`axios`\n\n,`mcp`\n\n,`extensions`\n\n). The source is maintained in a pnpm/turbo monorepo, but application development should install the published packages. Supported schemes:`exact`\n\n(ERC-3009 / Permit2),`upto`\n\n,`batch-settlement`\n\n,`auth-capture`\n\n(EVM), and`exact_gasfree`\n\n(TRON). The previous-generation Python + TypeScript SDK lives under`legacy/`\n\nfor reference. See the[SDK Feature Matrix]for the full breakdown.\n\n## Quick Start\n\nReady to build? Start here:", "url": "https://wpnews.pro/news/bank-of-ai", "canonical_source": "https://docs.bankofai.io/", "published_at": "2026-07-16 21:08:08+00:00", "updated_at": "2026-07-16 21:25:37.447814+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-infrastructure"], "entities": ["Bank of AI", "TRON", "BSC", "x402"], "alternates": {"html": "https://wpnews.pro/news/bank-of-ai", "markdown": "https://wpnews.pro/news/bank-of-ai.md", "text": "https://wpnews.pro/news/bank-of-ai.txt", "jsonld": "https://wpnews.pro/news/bank-of-ai.jsonld"}}