Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.x402.org/llms.txt

Use this file to discover all available pages before exploring further.

SDK Features

This page tracks which features are implemented in each SDK (TypeScript, Go, Python v2).

Core

ComponentTypeScriptGoPython
Server
Client
Facilitator

HTTP Framework Integrations

RoleTypeScriptGoPython
ServerExpress, Hono, Next.js, FastifyGin, net/http, EchoFastAPI, Flask
ClientFetch, Axiosnet/httphttpx, requests

Networks

NetworkTypeScriptGoPython
evm (EIP-155)
svm (Solana)
tvm (TON)
avm (Algorand)
stellar
aptos
hedera

Mechanisms

SchemeNetworkassetTransferMethodTypeScriptGoPython
exactevmeip3009
exactevmpermit2
exactsvm-
exactavm-
exactstellar-
exactaptos-
exacthedera-
exacttvm-
uptoevmpermit2
batch-settlementevmeip3009
batch-settlementevmpermit2

Extensions

ExtensionTypeScriptGoPython
bazaar (server)
bazaar (facilitator client - list)
bazaar (facilitator client - search)
sign-in-with-x
payment-identifier
offer-receipt
eip2612-gas-sponsoring
erc20-approval-gas-sponsoring

Client Hooks

HookTypeScriptGoPython
onBeforePaymentCreation
onAfterPaymentCreation
onPaymentCreationFailure
onPaymentResponse
onPaymentRequired (HTTP)

Server Hooks

HookTypeScriptGoPython
onBeforeVerify
onAfterVerify
onVerifyFailure
onBeforeSettle
onAfterSettle
onSettleFailure
onVerifiedPaymentCanceled
onProtectedRequest (HTTP)

Facilitator Hooks

HookTypeScriptGoPython
onBeforeVerify
onAfterVerify
onVerifyFailure
onBeforeSettle
onAfterSettle
onSettleFailure

Extension Hooks

HookTypeScriptGoPython
enrichDeclaration
enrichPaymentRequiredResponse
enrichSettlementResponse

Hook Adapter Features

FeatureTypeScriptGoPython
Scheme-level lifecycle hook adapters
Extension-level server lifecycle hook adapters
Extension-level server HTTP transport hook adapters
Extension-level client lifecycle hook adapters
Extension-level client HTTP transport hook adapters

MCP (Model Context Protocol)

FeatureTypeScriptGoPython
MCP server payment wrapper
MCP client (auto-pay tools)
Bazaar discovery for MCP tools

MCP Client Hooks

HookTypeScriptGoPython
onPaymentRequired
onBeforePayment
onAfterPayment

MCP Server Hooks (payment wrapper)

HookTypeScriptGoPython
onBeforeExecution
onAfterExecution
onAfterSettlement

HTTP Server Features

FeatureTypeScriptGoPython
dynamicPayTo
dynamicPrice
paywall (browser UI)