HTTP 402 Hosted Gateway

Monetize any API in minutes, not months

The x402 protocol lets clients pay for HTTP requests with crypto. TRXN gives you a hosted gateway that handles the entire flow: protocol negotiation, payment verification, settlement, invoicing, and customer tracking. Configure your endpoints in the dashboard, distribute your gateway URL, and get paid.

Your gateway, your rules

Three steps to a paid API

You configure the endpoint. TRXN runs the gateway. Clients and AI agents pay per-request with USDC.

1

Configure your endpoint

Create a product and price in the TRXN dashboard. Define your endpoint path, origin server URL, accepted networks, and pay-to wallet address.

2

Share your gateway URL

TRXN generates a gateway URL for your account. Publish it in your API docs, list it for AI agent discovery, or share it directly with customers.

3

Payments flow automatically

Clients hit your gateway URL. TRXN handles the 402 response, verifies the payment, settles on-chain via Coinbase CDP, PayAI, or a custom facilitator, and proxies the request to your origin server.

x402 on your own vs. the TRXN gateway

You can implement x402 yourself. Or you can configure an endpoint in TRXN and let us run it.

Self-hosted x402

  • Build x402 protocol handling into your server
  • Manage facilitator connections and API keys
  • Parse and encode Base64 payment headers
  • Build your own payment tracking and storage
  • No invoicing, just anonymous on-chain transactions
  • No customer records, no tax reports, no audit trail

TRXN hosted gateway

  • Configure endpoints in the dashboard with zero protocol code
  • Settlement via Coinbase CDP, PayAI, or your own facilitator
  • Full protocol handling: 402 responses, verification, settlement
  • Every payment recorded with amount, customer, and timestamp
  • Automatic daily invoices with line items per customer
  • Tax-ready reports, audit trail, webhook notifications

The business layer x402 doesn't include

Payments are just the start

Raw x402 payments are anonymous on-chain transactions. The TRXN gateway turns them into business records you can actually use.

Automatic invoicing

Micropayments are aggregated into daily invoices with line items per customer. No manual reconciliation. Every cent accounted for.

Customer resolution

Wallet addresses are automatically matched to customer records. Anonymous payers become trackable accounts with payment history across all your endpoints.

Sub-second settlement

Payments settle on L2s like Base and Polygon in under a second. Irreversible, no chargebacks, no payment disputes. USDC keeps the value stable.

Zero custody

TRXN never holds or touches funds. Payments settle directly between payer and your wallet. We observe and record. That's it.

Micropayment friendly

Set any price per request. No minimums. Zero protocol fees, only nominal on-chain gas costs. Built for high-volume, low-value transactions.

Tax-ready reporting

Transaction reports with USD values at time of payment. Revenue by product, by endpoint, by customer. Ready for your accountant.

Built for the agentic web

AI agents pay. You get invoices.

AI agents need to buy data, compute, and API access without human intervention. x402 gives them a native payment mechanism: send a request, get a 402, pay with a wallet, access the resource. No signup, no API keys, no human in the loop.

The TRXN gateway turns those agent payments into business records. Every request is tracked, every wallet is resolved to a customer, and every day you get an invoice. One dashboard for all your agent-driven revenue.

MCP server monetization

Wrap your MCP tools with x402 payment gates. Agents pay per-call, you get invoiced automatically.

Per-wallet spending reports

Track how much each agent (wallet) spends across your endpoints, by day, week, or month.

Multi-agent, one invoice

Multiple agents from one organization route through TRXN. You get a single aggregated invoice.

Sandbox testing

Test your agent payment flows against testnet facilitators before going live. No real funds required.

Use cases

Who needs an x402 gateway

Paid APIs

Monetize any endpoint without building billing infrastructure. Your customers and AI agents pay per-request with USDC. TRXN handles the invoicing.

AI tool providers

Sell data, compute, and API access to autonomous agents. x402 is the payment protocol agents already speak. TRXN is the gateway that tracks every transaction.

Content & data marketplaces

Gate datasets, articles, or downloads behind micropayments. Readers pay for what they access. No subscription required, no account creation.

SaaS with usage-based pricing

Already use TRXN for subscriptions? Add x402 for pay-per-use access alongside your existing billing. Same dashboard, same invoices.

<1s

Settlement time on L2 networks like Base and Polygon

$0

Protocol fees: only nominal on-chain gas costs

Micropayments

Charge fractions of a cent per request, no minimums

Zero custody

TRXN never holds funds, so payments go direct to your wallet

Your API is already built. Now get paid for it.

Configure an endpoint, share your gateway URL, and let TRXN handle the x402 protocol, payment verification, and invoicing.

Invite Only

Get early access to TRXN

We're onboarding businesses in waves. Join the list and be among the first to accept on-chain payments.

No spam. We'll only email you about access and launch updates.