The payment layer for the autonomous economy.
Connect your business, APIs and AI agents to programmable payments.
Live on Base and BNB Chain.

AI agentRequests. Pays. Builds.
X-Pay payment layer
Payment network.

Payment rails & protocols

StripeBaseBNB ChainUSDCx402

Payments for
businesses and agents.

X-Pay connects businesses, APIs and AI agents to programmable payments. Integrate payment collection, paid API access and usage billing into your application.

Explore the platform

Payment operations,
unified.

Manage payments, balances and metered usage.
A merchant workspace for your payment operations.

Workspace overview

Overview

Payment activity and usage at a glance.

Last 7 days
Total volume$12,486.00
Successful payments2,841Across your payment methods
API requests48,291Metered requests
Payment volume This week
Recent transactions
API inferencex402Succeeded0.02 USDC
Platform subscriptionCardSucceeded$49.00

Payment management

Review payments, balances and transaction history from the merchant workspace.

Usage-based billing

Measure consumption and bill by request, token or time.

Developer controls

Use projects, API keys and webhooks to connect payments to your application.

Payments over
HTTP 402.

x402 adds payment requirements to HTTP requests. A client receives a price, authorizes payment and retries to access the protected resource.

01

Request

Your agent calls a
protected resource.

GET /api/research
40202

Receive a price

The server returns
a payment requirement.

Payment Required
03

Authorize

The client signs and
retries with payment.

Payment signature
04

Access the resource

Payment is verified.
The resource is returned.

200 OK

Integrate
payments.

Use the JavaScript SDK, REST API and x402 middleware to integrate payments into your application. Review the documentation and validate your workflow in test mode.

Read the documentation
  • Node.js and JavaScript SDK
  • REST API and x402 integration
  • Test mode for integration validation
Integration examplesSDK / HTTP
import { xpayMiddleware } from
  "@xpay-llc/sdk";

// Put a price on your endpoint.
app.get(
  "/api/research",
  xpayMiddleware({
    price: "0.002",
    currency: "USDC",
    network: "base",
  }),
  handler
);

// Your resource. Now payable.

A price your
software can read.

Every paid request starts with explicit terms. Your agent reads the amount, asset, network and recipient before it authorizes payment.

Explore paid resources
Payment termsHTTP 402
0.005USDC / request
Resource
/x402/echo
Network
Base & BNB Chain
Asset
USDC
Authorization
Client signature
Payment signature
X-Pay
Your APIBaseBNB ChainUSDC
  1. Verify
  2. Settle
  3. Receipt

Your API.
Onchain settlement.

Connect your paid routes to the X-Pay facilitator for payment verification and settlement on Base and BNB Chain.

Sign in to your dashboard, verify your email, and generate a facilitator API key for your project.

Get facilitator API key →

Explore the integration

Payments for
autonomous machines.

Our robotics vision extends programmable payments to machines that earn from completed work and pay for the services they use.

AI is the brain.
Robotics is the body.
X-Pay is the
payment layer.

Frequently
asked questions.

Questions about your integration?
Contact the X-Pay team.

Contact the team
What does X-Pay support?

X-Pay brings together card and crypto payments, x402-protected APIs and usage billing. The merchant app includes projects, API keys, webhooks, transaction history and wallet settings. Review the documentation for your intended integration.

How does x402 work?

A protected endpoint responds with HTTP 402 and a machine-readable payment requirement. The client authorizes the payment and retries. The server verifies it and returns the resource. X-Pay’s public catalogue uses USDC on Base.

Can I accept cards as well as crypto?

The platform documents Stripe-powered card payments and crypto payment flows. Card payments clear through Stripe into the X-Pay ledger. Settlement to an onchain wallet is a separate step.

How does X-Pay connect to robotics?

Robotics is a near-term expansion of X-Pay’s payment infrastructure. The focus is on machines that can earn from completed work and pay for the services they use.

The vision includes AI agents paying robots for completed tasks, and robots using their own wallets to buy AI models, APIs, compute, charging and bandwidth. Machines could receive and authorize payments within configured limits, without a person approving every transaction.

Do I need an account or an API key?

Merchants use an account, project and API key to integrate the platform. Buyers calling X-Pay’s public x402 resources use a supported payment client and wallet authorization instead of an API key. Merchant integration and paid API consumption are separate workflows.

How do I evaluate an integration?

Open the merchant app, review the quickstart and validate your integration in test mode. To consume a paid API, browse the public x402 catalogue and inspect its current payment requirements.

Explore the platform.
Build your payment integration.

Open dashboard