governed spend record
paid attempt after policy review
Policy gate
allowed before spendExecution state
- settlementobserved
- receiptpersisted
- fulfillmentfailed
- exceptiontriage open
What 402flow records
Control before money moves
Let agents call paid APIs without losing control. 402flow enforces policy before money moves, tracks settlement and fulfillment separately, and records the receipts, decisions, and exceptions operators need after paid execution.
governed spend record
Policy gate
allowed before spendExecution state
What 402flow records
Agent spend changes the risk profile
Agents can discover, invoke, and pay for API services at runtime. Once money can move inside automated workflows, teams need policy before spend, evidence after spend, and a way to investigate failed paid execution.
Once a model can discover, invoke, and pay for API services at runtime, the risk is no longer just whether a request can be executed. It is whether spend is governed before payment and traceable when something breaks.
Operators need policy decisions, denial reasons, spend limits, merchant context, settlement status, and receipt state in one control path instead of scattered across agent hosts.
Payment success is not the same as fulfillment success. When those states diverge, teams need the transaction context, policy decision, receipt, and exception history needed to investigate.
Before / after
The request can move money in either model. The difference is whether policy, settlement, fulfillment, receipts, and exceptions stay coherent across agents and merchants.
Direct paid request
The application detects a paid endpoint, decides whether to proceed, executes payment inline, and has to reconcile settlement and fulfillment afterward.
402flow-mediated request
The agent prepares the request once. 402flow evaluates policy, chooses a compatible rail, tracks settlement and fulfillment separately, and records the result for operator review.
How it works
Keep the developer surface small while the control plane owns policy before spend, settlement visibility after payment, and exception review when fulfillment fails.
The agent shapes a paid request through a small SDK surface instead of embedding protocol mechanics throughout the host.
402flow checks organization posture, policy, merchant constraints, and spend limits before money moves.
Requests that satisfy policy move through the payment adapter. When multiple compatible rails fit, 402flow uses a predictable rail-selection rule.
Onchain settlement observation stays separate from the initial payment attempt, so the operator can see provisional state and later chain-backed finality.
402flow stores the receipt, policy decision, execution metadata, and audit context for each paid attempt.
If money moves but fulfillment fails, the exception record keeps the merchant, agent, rail, transaction context, and receipt state together for review.
Operational record
402flow gives operators a clear record of what happened after payment. Settlement, fulfillment, receipts, policy decisions, merchant context, and exceptions stay connected, so teams can review paid execution without reconstructing it from logs.
Merchant matched policy scope and the request stayed inside the active spend window.
The paid attempt has transaction context and a provisional receipt before onchain settlement finality is confirmed.
402flow keeps the receipt, merchant, policy decision, and exception history together for operator triage.
For two roles
Operators get policy, receipts, settlement visibility, and exception context. Developers integrate through a small SDK surface into the same governed execution flow.
Default org posture
Allow paid requests by default, discover merchants from live traffic, and use reporting, monitoring, and follow-up controls to refine governance over time.
Block paid requests unless org, agent, or merchant policies explicitly allow them, using review and policy updates to widen access deliberately.
Operators need more than a payment success signal. They need posture, merchant activity, policy review, settlement visibility, receipts, and a record of what happened when fulfillment completes or fails.
Start with an organization-wide default. Teams that want adoption fast can allow paid requests and tighten policy from live traffic. Teams that need strict control can block by default and widen access through org, agent, merchant policy, and review.
Proof
402flow has a hosted demo, public SDK, x402 rails, policy-controlled paid requests, receipt tracking, and receipts backed by onchain settlement evidence.
Use the hosted Console to explore paid endpoint catalogs with x402 Browser, inspect challenges, run governed test requests, then review observed merchants, provisional receipts, and later onchain settlement confirmation.
Open demoThe public SDK gives developers a small integration surface while the control plane owns policy decisions, attempt tracking, receipts, and onchain settlement confirmation.
View SDKx402 support is live across Base Sepolia, Base mainnet, Solana devnet, and Solana mainnet. L402 and MPP remain on the roadmap.
Next step
For teams building paid APIs, agent-payment flows, MCP tools, or x402 services. Get direct implementation support and help shape the 402flow control plane.