Agentic Payments: How AI Agents Pay, and Which Protocol Does What

- Three layers, not one standard: checkout (ACP, UCP), authorization and agent identity (AP2, Visa TAP, Mastercard Agent Pay), and per-request settlement (x402, MPP). They stack rather than compete.
- ACP is an Apache 2.0 spec from OpenAI and Stripe, still labeled
beta, with dated releases up to2026-04-17; Stripe's Shared Payment Token was the first compatible payment credential. - AP2 (Google, announced September 16, 2025 with more than 60 organizations) is at v0.2 and was donated to the FIDO Alliance; it is rail-agnostic and has an x402 extension for crypto.
- x402 and MPP both answer an HTTP request with
402and a payment challenge. Stripe settles both into a Stripe balance, but its minimums matter: 0.50 USD for card tokens, 0.01 USDC for stablecoins. - On X, chatter is lopsided: 'x402' ran at about 667 original posts a day when we collected; the full names of MPP, ACP, AP2 and Visa TAP drew 2.8, 1.6, 1.2 and 1.0 a day (938 posts, collected in 2026).
- Paying for X data from an agent: TwitterAPI.io accepts x402 on three read endpoints, paid in USDC on Base or Solana with no API key: $0.006 per request for search or a user's latest tweets (one page of up to 20 tweets) and $0.005 for a user profile. Every endpoint also works with an API key and prepaid credits: $0.15 per 1,000 tweets returned, versus $0.005 per post read on the official X API pay-per-usage rate card.
"Agentic payments" became a search term because several large payment and AI companies shipped competing-sounding acronyms within a few months of each other: Visa Intelligent Commerce (April 30, 2025), Mastercard Agent Pay, Google's AP2 (September 16, 2025), OpenAI and Stripe's ACP, the x402 standard, and Stripe and Tempo's MPP. Read one announcement at a time and they look like rivals. Read the specs side by side and most of them do different jobs.
This page is the side-by-side reading. Every row in the comparison matrix below was checked against the owner's own spec, repository or developer page, and anything we could not open from a primary source is marked as such or left out. x402 gets one row and one section here, not a full protocol walkthrough. Because we are an X (Twitter) data API, the page ends with the part that touches us: what it costs an agent to pay for X data, and what X itself says about these protocols, measured on posts we collected in 2026.
'x402': about 667 a day; the full names of MPP, ACP, AP2 and Visa TAP: 2.8, 1.6, 1.2 and 1.0 a day (938 posts, collected in 2026).
What are agentic payments?
A conventional online payment assumes a human at a checkout page: they see the price, type or autofill a card, pass a challenge, and click pay. An agentic payment removes that human from the moment of payment while keeping them in control of the decision. The agent is software, usually built on a large language model, that acts for a person ("book a refundable flight under $400") or for a business ("buy search results whenever a research task needs them").
That shift breaks three assumptions at once, and each protocol below repairs one of them. The merchant cannot see a human. It needs a machine-readable catalog, cart and order flow instead of a web form. The issuer and merchant cannot tell a legitimate agent from an unwanted bot, and nobody can later prove what the human actually approved. Card payments have fixed costs and minimums that make sense for a $40 order but not for a fraction of a cent paid for one API call.
So when vendors say "agentic payments" they usually mean one of two different products. Agentic commerce is the consumer case: an assistant such as ChatGPT or Gemini buys a physical or digital product from a merchant, typically on a card. Machine payments are the developer case: an agent pays an API, a data source or another agent per request, typically in stablecoins. The protocols map cleanly onto that split, which is why the matrix below groups them by layer.
Agentic payment protocols compared: the sourced matrix and which to use
Each row was verified this year from the owner's own page or repository (listed under Sources). "Layer" is the job the protocol does; "rail" is how money actually moves.
Two patterns stand out. First, every card-network program in the table (Visa TAP, Mastercard Agent Pay, Stripe's Shared Payment Token inside ACP and MPP) solves the same core problem the same way: the agent never holds the real card number, it holds a scoped, revocable token with limits. Second, the two HTTP 402 protocols are the only ones designed for amounts below a typical card minimum, and both lean on stablecoins to get there.
You sell goods and want AI assistants to buy them: implement the ACP checkout spec if ChatGPT is your priority channel, and watch UCP if Google surfaces are; your payment provider handles the delegated token. You run an agent platform that spends users' money: AP2 mandates give you an auditable record of what the user approved; card programs (Visa TAP, Mastercard Agent Pay) are reached through your provider. You sell an API or tool to agents per call: x402 or MPP, and check your provider's minimums and session support before pricing below a cent. You build an agent that buys data: most data APIs still use an API key and prepaid or metered billing. TwitterAPI.io offers both: an API key with credits for every endpoint, and x402 on three read endpoints for an agent that holds USDC (see the worked example below). Our hosted MCP server at https://mcp.twitterapi.io/mcp (header Authorization: Bearer <your key>) lets an agent call X search and timelines as tools on the same credits.
ACP: the Agentic Commerce Protocol (OpenAI and Stripe)
ACP describes itself as "an open standard for programmatic commerce flows between buyers, AI agents, and businesses" (agenticcommerce.dev). The repository at github.com/agentic-commerce-protocol/agentic-commerce-protocol names OpenAI and Stripe as founding maintainers, uses the Apache 2.0 license, and states plainly that the specification "is currently in beta". Versions are dated rather than numbered: 2025-09-29, 2025-12-12, 2026-01-16, 2026-01-30 and 2026-04-17, the latest stable release at the time we checked, which the README says covers cart, feed, orders, authentication and MCP.
There are two machine-readable halves. The Agentic Checkout spec (openapi.agentic_checkout.yaml) is what a merchant implements so an agent can create and update a checkout and complete an order. OpenAI's developer docs put it directly: "Merchants integrate with OpenAI's checkout flow by implementing the Agentic Checkout Spec." The Delegated Payment spec (openapi.delegate_payment.yaml) is for payment service providers: it lets the buyer's credential be passed to the merchant's processor as a token, so the agent and the AI platform never see the card number. Stripe's Shared Payment Token was the first compatible implementation.
When ACP is the right reference: you sell physical or digital goods and want them purchasable inside an AI assistant. When it is not: you want to charge an agent a fraction of a cent per API call; ACP has no per-request settlement and inherits card economics.
AP2 and UCP: Google's mandates and the commerce layer above them
Google announced the Agent Payments Protocol on September 16, 2025 "with a diverse group of more than 60 organizations", naming Adyen, American Express, Coinbase, Etsy, Mastercard, PayPal, Revolut, Salesforce and Worldpay among them (Google Cloud blog). AP2's core idea is the mandate: "tamper-proof, cryptographically-signed digital contracts that serve as verifiable proof of a user's instructions." The launch post described an Intent Mandate (what the user asked for) and a Cart Mandate (the exact items and price the user approved).
The current site, ap2-protocol.org, announces "AP2 v0.2 Release and FIDO Alliance Donation" and reorganizes mandates into a Checkout Mandate and a Payment Mandate, each with an open stage (constraints set before the cart exists, such as a budget) and a closed stage (authorization of one finalized checkout or amount). Standardization continues inside FIDO's agentic authentication and payments working groups. AP2 is framed as an extension for the Agent2Agent (A2A) protocol and usable with MCP, and it does not move money itself: it proves intent, then hands off to a rail. For crypto, Google and Coinbase published an A2A x402 extension at launch.
UCP sits one layer up. ucp.dev calls it "the common language for platforms, agents, and businesses", lists Google among co-developers with Shopify, Walmart, Amazon, Microsoft, Stripe, Booking.com and DoorDash, and says it handles "secure payment (AP2) via payment mandates and verifiable credentials". It started with retail and now has a lodging draft. Stripe's agentic commerce docs list UCP support alongside its own building blocks, which is a good sign that UCP and ACP will coexist at the checkout layer rather than one replacing the other.
Visa and Mastercard: agent identity and agentic tokens
Visa announced Visa Intelligent Commerce on April 30, 2025, saying it "opens Visa's payments network to developers and engineers building the first generation of true AI commerce", with Anthropic, IBM, Microsoft, Mistral AI, OpenAI, Perplexity, Samsung and Stripe named as partners (Visa press release). Its developer-facing protocol is the Trusted Agent Protocol (TAP): "a verifiable, cryptographic standard to help merchants differentiate legitimate agents from nefarious bots or web crawlers." A Visa-approved agent signs each request to the merchant with HTTP Message Signatures (RFC 9421); the merchant rebuilds the signature base and verifies it with the agent's public key. Sample code is at github.com/visa/trusted-agent-protocol.
Mastercard Agent Pay is the equivalent program on the Mastercard network, built on agentic tokens: a tokenized card credential issued for an agent instead of the real card number. We could not load Mastercard's own press or developer pages from our tools when we checked, so this row rests on Mastercard's official X posts, which we collected in the study below. In those posts Mastercard says Shop Pay is using Agent Pay ("Agentic tokens are helping keep the card details to themselves"), introduced Agent Pay for Machines in June 2026, "launching with 30+ partners", and in October 2026 opened Agent Pay for Machines early access after pilots with Cloudflare, Ant International, BVNK, AIsa, Coinbase, Base and Hype. We do not cite a Mastercard spec URL because we could not open one.
For a developer, the practical difference from ACP or AP2 is that you mostly do not implement the network programs yourself. Your payment provider, agent platform or CDN does, and the merchant opts in to recognize signed agents.
x402 and MPP: paying per HTTP request
HTTP has reserved status 402 Payment Required since the 1990s without a standard way to use it. Two protocols now fill that gap. x402 (x402.org, "an open, neutral standard for internet-native payments") has the server answer an unpaid request with 402 and a PAYMENT-REQUIRED header; the client signs a payment payload, retries with a PAYMENT-SIGNATURE header, and gets the resource plus a PAYMENT-RESPONSE settlement receipt. Verification and on-chain settlement can be delegated to a facilitator. The reference repository started at github.com/coinbase/x402, whose README now calls it a development fork of the x402 Foundation's repo. The site says x402 "supports all EVM-compatible chains, Solana, and more" and that "stablecoin payments are the primary use case".
MPP (mpp.dev) is "an open protocol co-authored by Tempo and Stripe" that "works with stablecoins, cards, and bank transfers". Its normative spec is an individual IETF Internet-Draft, "The 'Payment' HTTP Authentication Scheme" (draft-httpauth-payment, revision 01, authors from Tempo Labs and Stripe), which reuses standard HTTP auth headers: the challenge in WWW-Authenticate, the credential in Authorization, the receipt in Payment-Receipt. MPP also defines sessions, so a client can be charged in sub-cent increments and settled later.
Stripe accepts both and settles them into a normal Stripe balance. Its machine payments docs ("Allow agents to pay-per-call using MPP and x402") list the rails: MPP on Tempo (USDC.e) and Solana (USDC), x402 on Base (USDC). They also list the minimums that decide what is economical: 0.50 USD for a card payment through a Shared Payment Token, 0.01 USDC for a stablecoin payment, and sub-cent charges inside an MPP session with a 0.01 USDC minimum settlement. In July 2026 Stripe's account reposted CEO Patrick Collison writing "Approaching 30k @mpp transactions per day".
Worked example: an agent that has to pay for X (Twitter) data
Here is the case that touches us, and it shows why per-request payment design matters. An agent researching "what is X saying about MPP this week" calls the twitterapi.io search endpoint /twitter/tweet/advanced_search with "Machine Payments Protocol" -is:retweet and pages through 160 posts (8 pages of 20). The agent can pay us two ways. With an API key, it authenticates in the X-API-Key header and draws on prepaid credits ($1 = 100,000 credits; purchased credits never expire). With x402, it calls https://api.twitterapi.io/x402/twitter/tweet/advanced_search without a key, receives an HTTP 402 payment offer, and pays $0.006 in USDC on Base or Solana for each page of up to 20 tweets. TwitterAPI.io does not accept MPP or ACP.
Our x402 price is per request, so a page that returns fewer than 20 posts, or none, still costs $0.006, while credits are billed per post returned. The last two rows are not offers from anyone; they apply Stripe's published minimums to a per-page payment to show the floor. They explain why MPP added sessions and x402 added an upto scheme and batch settlement: a 402 payment is only economical for sub-cent data if many calls are rolled into one settlement. Prepaid credits are the older answer to the same problem: one top-up, then every result returned is metered against a balance. For the official API comparison, $5.00 versus $0.15 per 1,000 tweets is about 33x on the respective rate cards.
In practice, an agent that needs X data today gets an API key once (new accounts that pass the automatic bot check receive up to $1 of free credits (at most 100,000 credits, no card, one per person or network, expiring after 31 days)), stores it as a secret the agent runtime can read, and checks its balance with /oapi/my/info (recharge_credits) before a long job. An empty search still costs the 15-credit minimum ($0.00015), so a budget guard should count calls as well as tweets. The code below does exactly that, and it is the script that measured the protocol chatter in the next section.
import os, requests
BASE = "https://api.twitterapi.io"
H = {"X-API-Key": os.environ["TWITTERAPI_IO_API_KEY"]}
# Check the prepaid balance before a long agent task (1 credit = $0.00001).
bal = requests.get(f"{BASE}/oapi/my/info", headers=H, timeout=30).json()
print("credits left:", bal.get("recharge_credits"))
# One page = up to 20 posts = up to 300 credits ($0.003). An empty page still bills 15 credits.
r = requests.get(f"{BASE}/twitter/tweet/advanced_search", headers=H, timeout=30,
params={"query": '"Machine Payments Protocol" -is:retweet', "queryType": "Latest"})
r.raise_for_status()
body = r.json()
for t in body.get("tweets", []):
print(t["createdAt"], t["likeCount"], t["text"][:80].replace("\n", " "))
print("more pages:", body.get("has_next_page"), body.get("next_cursor", "")[:12])What X says about agentic payments: our study
We ran two small collections in 2026 to see how the protocols are actually discussed. Part A searched the newest original posts (retweets excluded) for each protocol's full name and for the phrase "agentic payments", up to 160 posts per query, 938 posts in all. Posts per day is the sample size divided by the time it spans, so it is a rate at collection time, not a trend. Part B read the newest posts of six official accounts: @stripe, @coinbase, @Visa, @Mastercard, @OpenAIDevs and @googlecloud (298 posts from 2026).
x402 is the conversation; the rest are footnotes to it. The bare string 'x402' ran at about 238x the rate of the next protocol name. It also works as the reference point for everything else: 20.1% of ACP posts, 32.1% of AP2 posts, 26.9% of MPP posts and 31.2% of Visa TAP posts also mention x402. Most of that x402 volume is crypto-flavored and low reach: 60.6% of posts used crypto terms, 34.4% were replies, and the median post had 44 views, against 884 for MPP posts and 773 for AP2 posts.
Checkout and authorization protocols are discussed as a set. Posts naming Visa's Trusted Agent Protocol named a second protocol 43.8% of the time (AP2 in 28.1%, ACP in 23.1%); ACP posts named UCP in 14.5%. That matches the layer reading above: people explain these together because a real deployment needs more than one.
The owners talk about agents far more than about agents paying. In Part B, @googlecloud mentioned agents in 38% of its posts but agents paying or buying in 2.5%. @OpenAIDevs mentioned agents in 11.7% and payments in none. @stripe was the only account that named a protocol (MPP in 6 of 100 posts, x402 in 1), and 14% of its posts were about agents paying. All 5 of @Mastercard's agent posts promoted its own programs. @Visa posted only 7 times in 2026 in our sample, none about agents.

How the protocol owners post on X, and how we collected this
"About agents paying" means the post names a payment protocol or program, or mentions agents together with a payment word (pay, checkout, commerce, purchase, wallet, merchant, card). It is a text rule, so it can miss a post that only shows a video, and it counted one generic @coinbase product roundup. Read the shares as direction, not precision.
The useful signal for a builder is where announcements land. If you track agentic payments on X, Stripe's account (and the @mpp handle it tags) and Mastercard's account carry product news; Google Cloud and OpenAI Developers talk about agents in general; and the x402 conversation lives mostly in crypto accounts rather than on any one company's feed. A saved search on the protocol names is a better feed than following the companies.
How we collected this. Question: how much is each agent-payment protocol discussed on X, and how do the companies behind them post about agentic payments? Data: /twitter/tweet/advanced_search (queryType Latest, retweets excluded) for six queries, up to 8 pages each, and /twitter/user/last_tweets for six organization accounts, up to 5 pages each. Window: the newest posts at collection time, collected in 2026; each query's span is shown in the table. Sample: 938 search posts and 298 timeline posts from 2026. Cost: 80 requests, 1,383 tweets and 6 profiles returned, 20,853 credits, about $0.21; the same reads on the official X API rate card would be about $6.97.
What the sample cannot show. Post counts are attention, not adoption: they say nothing about transaction volume, revenue or which protocol merchants deploy. Rates come from the newest posts only, so a launch day inflates them. 'x402' is a short token that also appears in token tickers and handles; we searched full names for the other protocols to keep matches clean, which undercounts posts that only use the acronym. Privacy: search results are reported as aggregates only and their raw pages were not kept; only organization accounts are named.

"""agent_payments_pulse.py - measure how much X talks about each agent-payment protocol,
with a credit budget an agent can respect. pip install requests
export TWITTERAPI_IO_API_KEY=... # from the twitterapi.io dashboard
"""
import os
import re
from datetime import datetime
import requests
BASE = "https://api.twitterapi.io"
H = {"X-API-Key": os.environ["TWITTERAPI_IO_API_KEY"]}
QUERIES = {
"x402": "x402 -is:retweet",
"ACP": '"Agentic Commerce Protocol" -is:retweet',
"AP2": '("Agent Payments Protocol" OR "AP2 protocol") -is:retweet',
"MPP": '"Machine Payments Protocol" -is:retweet',
"Visa TAP": '"Trusted Agent Protocol" -is:retweet',
}
MAX_PAGES = 8 # 8 x 20 posts = up to 160 posts per query
CREDITS_PER_TWEET = 15 # $0.15 per 1,000 tweets returned
MIN_CREDITS_PER_CALL = 15 # an empty page still bills the minimum
BUDGET_CREDITS = 20_000 # about $0.20 for the whole run
def ts(s):
return datetime.strptime(s, "%a %b %d %H:%M:%S %z %Y")
def balance():
r = requests.get(f"{BASE}/oapi/my/info", headers=H, timeout=30)
r.raise_for_status()
return r.json().get("recharge_credits")
def search(query, spent):
tweets, cursor = [], ""
for _ in range(MAX_PAGES):
if spent + 20 * CREDITS_PER_TWEET > BUDGET_CREDITS:
print("budget reached, stopping")
break
params = {"query": query, "queryType": "Latest"}
if cursor:
params["cursor"] = cursor
r = requests.get(f"{BASE}/twitter/tweet/advanced_search", headers=H, params=params, timeout=30)
r.raise_for_status()
body = r.json()
page = body.get("tweets", [])
spent += max(MIN_CREDITS_PER_CALL, len(page) * CREDITS_PER_TWEET)
tweets.extend(page)
if not body.get("has_next_page") or not body.get("next_cursor"):
break
cursor = body["next_cursor"]
return tweets, spent
if __name__ == "__main__":
print("credits before:", balance())
spent = 0
for name, q in QUERIES.items():
tweets, spent = search(q, spent)
if len(tweets) < 2:
print(f"{name:9s} {len(tweets)} posts")
continue
times = sorted(ts(t["createdAt"]) for t in tweets)
days = max((times[-1] - times[0]).total_seconds() / 86400, 1 / 24)
also_x402 = sum(1 for t in tweets if name != "x402" and re.search(r"\bx402\b", t.get("text") or "", re.I))
views = sorted(t.get("viewCount") or 0 for t in tweets)
print(f"{name:9s} {len(tweets):4d} posts over {days:6.1f} days = {len(tweets) / days:7.1f}/day"
f" median views {views[len(views) // 2]:6d} also name x402: {also_x402}")
print(f"estimated spend: {spent:,} credits = ${spent / 100_000:.3f}")
print("credits after:", balance())
Researching this?Free starter credits cover end-to-end testing — Google sign-in, no card. Get a key.
Questions readers ask
What are agentic payments?
Payments that an AI agent starts or completes on someone's behalf, without a human typing card details at the moment of payment. The human (or business) sets limits in advance; protocols handle the checkout, the proof of what was approved, and the settlement.
What is the difference between ACP and AP2?
ACP (OpenAI and Stripe) is a checkout protocol: product feeds, carts, orders and a delegated payment token so a merchant can sell inside an AI assistant. AP2 (Google, now at the FIDO Alliance) is an authorization protocol: it records the user's approval as signed checkout and payment mandates and stays neutral about the payment rail. One deployment can use both.
Is x402 the same as MPP?
No, but they solve the same problem. Both answer an unpaid HTTP request with status 402 and a payment challenge. x402 uses its own PAYMENT-REQUIRED and PAYMENT-SIGNATURE headers and is mostly stablecoin-based; MPP (Tempo and Stripe) is written as an IETF draft for a 'Payment' HTTP authentication scheme, supports cards and stablecoins, and adds sessions for sub-cent charges. Stripe accepts both.
Who owns the Agentic Commerce Protocol?
OpenAI and Stripe are its founding maintainers. The spec is open source under Apache 2.0 at github.com/agentic-commerce-protocol/agentic-commerce-protocol and is labeled beta, with dated releases.
What are Visa and Mastercard doing about agentic payments?
Visa runs Visa Intelligent Commerce, announced April 30, 2025, and publishes the Trusted Agent Protocol, which lets merchants verify signed requests from approved agents. Mastercard runs Agent Pay, built on agentic tokens, and per its own posts opened Agent Pay for Machines early access in October 2026. Both keep the real card number away from the agent.
Can an AI agent pay for X (Twitter) data with x402?
Yes. TwitterAPI.io accepts x402 on three read endpoints, paid in USDC on Base or Solana with no API key or account: tweet search (/x402/twitter/tweet/advanced_search) and a user's latest tweets (/x402/twitter/user/last_tweets) at $0.006 per request for one page of up to 20 tweets, and a user profile (/x402/twitter/user/info) at $0.005. The price is per request, and an empty result is still charged. Every endpoint also works with an API key and prepaid credits: $0.15 per 1,000 tweets returned, with a 15-credit ($0.00015) minimum for an empty result. It does not accept MPP or ACP. The official X API pay-per-usage rate card lists $0.005 per post read.
Are agentic payments safe?
The protocols are built around limiting what an agent can do: scoped and revocable tokens instead of card numbers (Shared Payment Tokens, agentic tokens), signed records of user approval (AP2 mandates), and signed agent identity (Visa TAP). Several are still beta or draft, so check each spec's status before relying on it for production money.
Continue
- Agentic Commerce Protocol repository (OpenAI and Stripe): beta status, dated releases, checkout and delegated payment specs
- Agent Payments Protocol (AP2) site: v0.2, FIDO Alliance donation, checkout and payment mandates
- x402 Foundation repository: HTTP 402 flow, payment headers, facilitator, schemes
- IETF draft: The 'Payment' HTTP Authentication Scheme (MPP, Tempo Labs and Stripe)
- Visa Developer: Trusted Agent Protocol overview (RFC 9421 agent signatures)
- Stripe docs: machine payments with MPP and x402, rails and minimum amounts
- X (Twitter) API hub: endpoints, pricing and guides
- What an MCP server is and how agents call tools through it
- How to build an AI agent that reads X data
- Claude Agent SDK guide with X data tools
- X API pricing tiers and cost breakdown
- Using Claude with the Twitter (X) API
- TwitterAPI.io pricing: pay per tweet returned
- 01Zapier Pricing in 2026: Plans, Tasks per Month, Overage and a Worked Twitter (X) Zap Bill
- 02LlamaIndex vs LangChain: Which to Use, With the Same Twitter (X) RAG Pipeline Built in Both
- 03Kiro Pricing in 2026: Plans, Credits, Model Multipliers and Worked Monthly Bills
- 04Cline vs Cursor in 2026: Cost, Models, Plan/Act and MCP Compared
- 05Zed vs Cursor in 2026: Speed, Agents, Models, Pricing and MCP Compared
- 06Twitter (X) Media Viewer: How to Browse an Account's Photos and Videos
- 07X API Media Upload v2: How Twitter (X) Media Upload Works, Its Limits, and a One-Call Alternative
- 08How to Use the Vercel AI SDK with the Twitter (X) API
Writing about something you built with TwitterAPI.io? Our community rewards program pays API credits for honest tutorials, build logs and videos.
Stop reading. Start building.
Starter credits cover real testing on real data. Google sign-in, no card, no application queue.
Get an API keyAlready building with TwitterAPI.io? Publish an honest tutorial or build log about it and earn up to $200 a month in API credits.