← Back to Press
Partnership

Dexter Ships First x402 SDK Integration with Stripe Machine Payments

Dexter Ships First x402 SDK Integration with Stripe Machine Payments

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.


The News

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.


Why This Matters

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.


The Integration

Before (Stripe's docs)

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())));

After (with @dexterai/x402)

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.


How It Works

  1. Agent requests a paid endpointGET /api/data
  2. Middleware creates a Stripe PaymentIntent — generates a unique USDC deposit address on Base
  3. Returns HTTP 402 — with x402 payment requirements including the deposit address
  4. Agent signs a USDC transfer — using any x402 client or Stripe's purl CLI
  5. Dexter facilitator settles on-chain — verifies and executes the Base transaction
  6. Stripe auto-captures the payment — USDC arrives at the deposit address, Stripe captures as USD
  7. Content returned to agent — HTTP 200 with the paid resource

The merchant sees the payment in their Stripe Dashboard. Reporting, taxes, refunds, and multi-currency payouts work exactly like any other Stripe payment.


What Developers Get

FeatureDetails
One-line Stripe setupstripePayTo(process.env.STRIPE_SECRET_KEY)
Auto-configurationNetwork defaults to Base, facilitator to x402.dexter.cash
Express + HonoWorks with existing Express middleware (not just Hono)
Client SDK includedAgents use wrapFetch or React hooks to pay automatically
Access passesCombine Stripe settlement with time-limited JWT passes
Dynamic pricingPer-token LLM pricing settled through Stripe
MicrotransactionsAs low as $0.01 per request

The Bigger Picture

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:

  • For Stripe merchants: Add machine payments to an existing API without learning crypto
  • For AI agents: Pay any Stripe-powered endpoint using @dexterai/x402/client
  • For the x402 ecosystem: Stripe's adoption validates the protocol at massive scale

Stripe processes over $1 trillion annually. x402 is now part of that stack. Dexter makes it accessible.


Available Now


About Dexter

Dexter 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 Facilitator: x402 payment settlement for Solana, Base, and 6+ EVM chains
  • Dexter SDK: Full-stack x402 — server middleware, client, React hooks, dynamic pricing, access passes
  • Dexter MCP: 70+ AI tools via Model Context Protocol
  • Dexter Marketplace: Discover and monetize AI services

$DEXTER | dexter.cash | @dexteraisol


Resources


First to integrate. Simplest to use. Payments land in Stripe.