Opening your account
Checking your connection...
Checking your connection...
Accept AI agent payments via Stripe in 3 lines of code. First x402 SDK to integrate Stripe machine payments. Payments land in your Stripe Dashboard.
FOR IMMEDIATE RELEASE
@dexterai/x402 v1.7.0 — Accept AI Agent Payments via Stripe in 3 Lines of Code
The first SDK to integrate Stripe's new machine payments. Payments land in your Stripe Dashboard.
FEBRUARY 11, 2026 — Dexter, the leading x402 payment infrastructure provider, today announces the first production SDK integration with Stripe's new machine payments feature — less than 24 hours after Stripe's announcement.
@dexterai/x402 v1.7.0 introduces stripePayTo, a one-line adapter that connects any Express, Hono, or Node.js API to Stripe's machine payment infrastructure. Agent payments settle as USD in the merchant's Stripe Dashboard with full reporting, taxes, and refunds — no crypto knowledge required.
This is the first x402 SDK to integrate Stripe machine payments.
Yesterday, Stripe announced machine payments — a way for AI agents to pay businesses directly using x402 and USDC on Base. This is the first time a major payment processor has adopted the x402 protocol.
The problem: Stripe's own integration requires 6 package imports, a 40-line deposit address function, manual scheme registration, and only works with the Hono framework. It's roughly 80 lines of boilerplate before you can accept your first agent payment.
Dexter collapsed that into 3 lines.
import Stripe from "stripe";
import { paymentMiddleware } from "@x402/hono";
import { x402ResourceServer, HTTPFacilitatorClient }
from "@x402/core/server";
import { ExactEvmScheme } from "@x402/evm/exact/server";
import { Hono } from "hono";
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY);
const facilitator = new HTTPFacilitatorClient({
url: process.env.FACILITATOR_URL
});
async function createPayToAddress(ctx) {
// ... 40+ more lines ...
}
app.use(paymentMiddleware({ ... }, new x402ResourceServer(
facilitator).register("eip155:84532",
new ExactEvmScheme())));
import { x402Middleware, stripePayTo }
from '@dexterai/x402/server';
app.use('/api/data', x402Middleware({
amount: '0.01',
payTo: stripePayTo(process.env.STRIPE_SECRET_KEY),
}));
That's the entire integration. Three lines. The SDK handles PaymentIntent creation, deposit address resolution, network configuration, and facilitator routing automatically.
GET /api/datapurl CLIThe merchant sees the payment in their Stripe Dashboard. Reporting, taxes, refunds, and multi-currency payouts work exactly like any other Stripe payment.
| Feature | Details |
|---|---|
| One-line Stripe setup | stripePayTo(process.env.STRIPE_SECRET_KEY) |
| Auto-configuration | Network defaults to Base, facilitator to x402.dexter.cash |
| Express + Hono | Works with existing Express middleware (not just Hono) |
| Client SDK included | Agents use wrapFetch or React hooks to pay automatically |
| Access passes | Combine Stripe settlement with time-limited JWT passes |
| Dynamic pricing | Per-token LLM pricing settled through Stripe |
| Microtransactions | As low as $0.01 per request |
Stripe has millions of merchants. Those merchants now have a path to accept AI agent payments — but they need an SDK to make it practical. Dexter's SDK is the bridge:
@dexterai/x402/clientStripe processes over $1 trillion annually. x402 is now part of that stack. Dexter makes it accessible.
npm install @dexterai/x402 stripeDexter is building the payment infrastructure for the AI economy. With millions of x402 settlements processed, Dexter operates the most-used x402 facilitator and the most complete SDK for machine-to-machine payments.
$DEXTER | dexter.cash | @dexteraisol
First to integrate. Simplest to use. Payments land in Stripe.