Cards and crypto
Stripe powered card payments and stablecoin payments, collected and managed through one X-Pay ledger.
The payment layer for the autonomous economy. Connect your business, APIs and AI agents to programmable payments, from cards and crypto to x402 paid APIs and usage billing.
Payment rails and protocols
402
x402 adds payment requirements to HTTP requests. A client receives a price, authorizes payment and retries to access the protected resource.
Your agent calls a protected resource.
The server returns a payment requirement: amount, asset, network and recipient.
The client signs and retries with payment.
Payment is verified and settled onchain. The resource is returned.
Manage payments, balances and metered usage in one merchant workspace. The screens are live; the figures on them come from a demo project.
Review card, crypto and x402 payments, balances and transaction history, and bill usage by request, token or time.
Wallet authorization for software that pays on its own, within per call and daily limits it cannot exceed.
The JavaScript SDK, REST API and x402 middleware connect payments to your application.
A public catalogue of paid x402 resources, each with a price your software can read before it pays.
Connect your paid routes to the X-Pay facilitator for payment verification and settlement on Base and BNB Chain. Every settlement can be looked up onchain.
Use the JavaScript SDK, REST API and x402 middleware to integrate payments into your application, and validate your workflow in test mode.
Read the documentationimport { xpayMiddleware } from "@xpay-llc/sdk"; // Put a price on your endpoint.app.get("/api/research", xpayMiddleware({Any route you already serve price: "0.002",The price, per request currency: "USDC",Paid in USDC network: "base",Settled on Base handler,Your resource, now payable}));import { XPay } from "@xpay-llc/sdk"; const xpay = new XPay({One client for every payment method apiKey: process.env.XPAY_API_KEY,Your merchant API key}); const payment = await xpay.payments.create({Create a card payment amount: "10.00", currency: "USD", paymentMethod: "stripe",Cards clear through Stripe});console.log(payment.id, payment.status);Recorded in the X-Pay ledger# Explore available x402 resources.curl https://www.api-xpay.com/x402The public catalogue# Inspect the OpenAPI specification.curl https://www.api-xpay.com/openapi.jsonEvery route, described# Call an endpoint without payment.curl -i https://www.api-xpay.com/x402/pingNo payment attached yetHTTP/1.1 402 Payment RequiredThe quoted price comes backOur robotics vision extends programmable payments to machines that earn from completed work and pay for the services they use. A near-term vision for robots, drones, autonomous vehicles and connected devices: machine to machine microtransactions, global stablecoin settlement, and an onchain identity and transaction history.
Discuss a robotics integrationThe network settles in stablecoins, so no one needs XPAY to pay or to get paid. The white paper describes four proposed functions for it inside the network.
These functions are proposed and are not current operating capabilities. Any token issuance, staking or governance design remains subject to product, legal and security review. Nothing on this site is an offer to sell, or a solicitation of an offer to buy, any token or security, and nothing here is investment advice.
Read the white paperFuture plans. Dates and final feature sets are announced separately when confirmed.
Live now
Next
Next
Then
Later
Questions about your integration? Contact the X-Pay team.
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.
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.
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.
Yes. X-Pay has settled real USDC payments on Base mainnet since 11 September 2026 and has run its own x402 facilitator since 22 September. Every settlement is public onchain.
Robotics is a near-term expansion of X-Pay's payment infrastructure, focused 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, within configured limits and without a person approving every transaction.
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.
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.
Build your payment integration in the merchant app, or read how the gateway, the wallet and the facilitator fit together.