DEV Community

Cover image for Agentic Checkout for Developers: OpenAI's ACP vs Google's UCP, Explained
Furqan Khalid
Furqan Khalid

Posted on

Agentic Checkout for Developers: OpenAI's ACP vs Google's UCP, Explained

If you build for an online store, you've probably been asked some version of: "Can ChatGPT / Gemini / AI Mode buy our products?"

In 2026 that question has two main protocol answers, and they're often confused:

  • ACP, the Agentic Commerce Protocol. Announced by OpenAI and Stripe in September 2025 for buying inside ChatGPT.
  • UCP, the Universal Commerce Protocol. Announced by Google in January 2026, co-developed with Shopify, Etsy, Wayfair, Target and others, for Google AI Mode, Gemini and other agents.

This post explains what each one is, what changed this year, and what you should build first. The specs are moving fast, so treat the code below as a map and check the current spec before shipping.


The one-paragraph version

Both protocols cover the same three things: (1) an agent learns what you sell, (2) an agent creates and updates a checkout on your behalf, (3) payment happens without the agent holding raw card details. They differ in who drives the flow, how agents discover you, and which AI surfaces use them.

ACP: where it stands in 2026

ACP launched alongside Instant Checkout in ChatGPT. The 2026 story is a partial retreat:

  • In March 2026, OpenAI scaled back Instant Checkout. It let merchants send buyers to their own checkout instead and put more weight on product discovery in ChatGPT. Several reports describe Instant Checkout as effectively retired for most merchants.
  • OpenAI's developer docs say building with ACP is open to all, while Instant Checkout in ChatGPT is limited to approved partners.

The parts of ACP that matter to developers:

  • Product feed. You send a catalog: an initial sample feed for validation, then regular snapshots. Third-party guides describe JSONL in OpenAI's format or a Google-compatible TSV/CSV, and a newer push-style Feed API.
  • Checkout endpoints. If you're approved for in-chat checkout, you host a small set of HTTPS endpoints under /checkout_sessions (create, update, retrieve, complete, cancel) that ChatGPT calls as the buyer changes their cart.
  • Payments go through a delegated token (Stripe was the launch partner), so the agent never sees the card.
  • Versioning is strict. Integrations are pinned to a dated API version, so plan for upgrades.

Practical takeaway: for most merchants in late 2026, the valuable part of the ChatGPT integration is the product feed, which affects whether ChatGPT shows your products at all. Full checkout is for approved partners.

UCP: how discovery works

UCP takes a more web-native approach. A business publishes a profile at a well-known URL:

https://shop.example.com/.well-known/ucp
Enter fullscreen mode Exit fullscreen mode

Agents ("platforms" in the spec) can fetch that profile before acting. It declares:

  • version: the dated protocol version, for example 2026-04-08
  • services: for shopping, the endpoints an agent can call, with transport bindings: rest, mcp, a2a (agent-to-agent) or embedded
  • capabilities: what you support, by namespaced name, such as dev.ucp.shopping.checkout, with extensions like dev.ucp.shopping.fulfillment and dev.ucp.shopping.discount, plus dev.ucp.common.identity_linking
  • payment_handlers: which payment handlers you accept
  • signing_keys: public keys for signed HTTP messages

Here's an abbreviated sketch to show the shape. Copy the canonical example from ucp.dev for real use. The exact nesting differs between spec versions.

{
  "ucp": {
    "version": "2026-04-08",
    "services": {
      "dev.ucp.shopping": {
        "version": "2026-04-08",
        "rest": { "endpoint": "https://shop.example.com/ucp/v1" },
        "mcp":  { "endpoint": "https://shop.example.com/ucp/mcp" }
      }
    },
    "capabilities": {
      "dev.ucp.shopping.checkout":    { "version": "2026-04-08" },
      "dev.ucp.shopping.fulfillment": { "version": "2026-04-08", "extends": "dev.ucp.shopping.checkout" },
      "dev.ucp.shopping.discount":    { "version": "2026-04-08", "extends": "dev.ucp.shopping.checkout" }
    },
    "payment_handlers": {},
    "signing_keys": []
  }
}
Enter fullscreen mode Exit fullscreen mode

Serving it from Next.js is one route handler:

// app/.well-known/ucp/route.ts
import profile from "@/ucp/profile.json";

export const dynamic = "force-static";

export function GET() {
  return Response.json(profile, {
    headers: { "Cache-Control": "public, max-age=3600" },
  });
}
Enter fullscreen mode Exit fullscreen mode

(Next.js allows a .well-known folder under app/. If your setup doesn't, use a rewrite.)

Negotiation: the clever part

Every agent request carries the agent's own profile URL (over HTTP in a UCP-Agent header). Your server works out the intersection:

  1. Keep capabilities that both sides list.
  2. For each, use the highest version both support.
  3. Drop extensions whose parent capability didn't survive.

The response says which capabilities are active. If nothing overlaps, the spec says to return a normal response with a continue_url: a link where the human finishes on your website. That fallback matters, because it means a partial UCP implementation still degrades into "send the buyer to my checkout", which is the same outcome ACP moved to in 2026.

// Simplified capability intersection
type Caps = Record<string, { version: string; extends?: string }>;

export function intersect(mine: Caps, theirs: Caps): Caps {
  const out: Caps = {};
  for (const [name, cap] of Object.entries(mine)) {
    const other = theirs[name];
    if (!other) continue;
    // Dated versions compare correctly as strings (YYYY-MM-DD)
    out[name] = { ...cap, version: cap.version < other.version ? cap.version : other.version };
  }
  let changed = true;
  while (changed) {               // prune orphaned extensions until stable
    changed = false;
    for (const [name, cap] of Object.entries(out)) {
      if (cap.extends && !out[cap.extends]) { delete out[name]; changed = true; }
    }
  }
  return out;
}
Enter fullscreen mode Exit fullscreen mode

(Real version selection should pick the highest version both sides list, not just the lower of two. This sketch assumes each side declares one version.)

UCP is designed to work alongside AP2 (Agent Payments Protocol), Google's protocol for agent payments with user-approved limits. UCP handles the store side; AP2 handles the payment mandate.

Side by side

ACP UCP
Backers OpenAI, Stripe Google, with Shopify, Etsy, Wayfair, Target and others
Main surface ChatGPT Google AI Mode, Gemini, other agents
Discovery Product feed you submit /.well-known/ucp profile plus Merchant Center data
Transport HTTPS endpoints REST, MCP, A2A or embedded
Checkout in 2026 Approved partners; most merchants link out Rolling out to eligible merchants; continue_url fallback
Payments Delegated payment token (e.g. Stripe) Payment handlers, works with AP2

What to build first

If you're on Shopify or another big platform, check their admin first. Both protocols have platform-level integrations, and building it yourself would duplicate work you get for free.

If you're custom-built, in this order:

  1. Product data quality. It feeds both protocols, plus Google Merchant Center and every AI shopping answer. Accurate titles, GTINs, prices, availability, variants, shipping and return policies. This is where most "why doesn't the AI recommend our product?" problems actually come from.
  2. ChatGPT product feed (ACP discovery). Low effort, and it decides whether you appear in ChatGPT shopping results at all.
  3. /.well-known/ucp with the checkout capability and a continue_url fallback. Even a minimal profile makes you machine-discoverable, and it fails gracefully into your own checkout.
  4. Full agent checkout. Only once you're approved, or the platform demand is clear.

The pattern under both protocols is the one this series keeps coming back to: being chosen by an agent starts with being clearly described to it. For stores, that description is product data.


Quick checklist

  • [ ] Product data audited (price, availability, GTIN, shipping, returns)
  • [ ] ChatGPT product feed submitted
  • [ ] /.well-known/ucp served with a pinned version
  • [ ] continue_url fallback to your own checkout
  • [ ] Checked your commerce platform's built-in ACP/UCP support before building
  • [ ] Spec versions pinned and an upgrade owner assigned

Next in the series: GEO vs AEO vs LLMO: the terms mean the same thing, so here's what actually differs between engines.

Top comments (0)