Skip to main content
Loading…
AS Albert Schaper
  • 01Home
    • Profile & Career
    • Expertise
    • Overview
    • Results
    • Technical Depth
  • 04Projects
  • 05Contact
  • 06Insights
  • 07Tools
AS

Albert Schaper

01Home
Profile & CareerExpertise
OverviewResultsTechnical Depth
04Projects05Contact06Insights07Tools

AI · Finance · Entrepreneur

Home / Insights / When AI Agents Pay: Approvals, Fees and Preventing Duplicate Payments
Insights

When AI Agents Pay: Approvals, Fees and Preventing Duplicate Payments

From purchase request to reconciled receipt: what payment protocols address, how tiny payments can become economical, and what to do after a timeout.

By Albert Schaper AI Expert & Entrepreneur
11 September 2026 ·Updated 10 November 2026 AI AgentsCrypto
Auf Deutsch lesen LinkedIn X
The short version, in 30 seconds
  • A purchase has more states than “paid” and “not paid”. After a timeout the status is initially unknown; only reconciliation settles it.
  • x402, AP2 and ACP address different parts: proof of payment over HTTP, provable mandates and the purchase flow with the merchant.
  • A protocol name does not answer questions on delivery, disputes or refunds. With a known supplier, an ordinary API account is often enough.
  • Micro-amounts need a full fee calculation, and a budget must also cover parallel jobs.
  • Measure the pilot on delivered results, not on executed payments.
Contents
  • A purchase has more states than “paid” and “unpaid”
  • x402, AP2 and ACP address different parts
  • Tiny payments need a complete fee calculation
  • After a timeout, the status initially remains unknown
  • A budget must account for concurrent requests
  • Measure a pilot by delivered outcomes
  • Further reading by level
  • Sources
  • Read next

An AI agent is buying a dataset. It finds an offer, pays, and waits for the file. Then the connection drops because nothing comes back. May it pay again?

The file is missing. The money may already be gone. An agent allowed to pay needs an approval you can check later, a payment status you can trust, and a match between the amount and what was delivered. A payment call that returns “ok” settles none of that. Protocol sources reviewed on October 10, 2026; the numerical examples are fictional.

A purchase has more states than “paid” and “unpaid”

These steps still have to happen before you can call the purchase done:

StepQuestion to answerRecorded evidence
RequestWhat service is required, on what terms?Business request ID, service description, price cap
ApprovalMay this request spend money now?Policy decision and human approval where required
PaymentHas payment merely been requested, authorized or settled?Payment ID and status at the payment service or on-chain
DeliveryWas the agreed service received?Response, delivery record, acceptance result
ReconciliationDo the request, payment and delivery match?Accounting entry and documented discrepancies

A card authorization is not yet a settled charge. A confirmed blockchain transaction does not prove that delivery succeeded. Read the status words the way the payment method defines them. Authorization, capture and settlement are three different moments.

x402, AP2 and ACP address different parts

In the dataset purchase above, several parties have to work together. The supplier quotes a price, the agent needs approval, and a payment method has to move the money. x402, AP2 and ACP often show up in the same sentence. They sit in different parts of the process.

x402 ties a payment requirement and a proof of payment to HTTP access. That fits an API selling a single dataset. AP2 covers, among other things, cryptographically verifiable mandates. The current specification is v0.2 and uses SD-JWT-based Checkout and Payment Mandates: what was the agent allowed to do, and which purchase was approved? ACP describes the exchange with the merchant, particularly checkout and the payment steps that go with it.

Which payment methods are supported depends on the version and the implementation. You also have to settle what happens if delivery fails, a dispute comes up, or a refund is due. A protocol name on a product page does not answer that.

With an established supplier, an ordinary API account with invoicing can already be enough. Individual payments become interesting when each service has its own price and there is no billing relationship yet. Integration and reconciliation decide whether that is worth the trouble.

Tiny payments need a complete fee calculation

Suppose a fictional payment costs €0.01 fixed plus 1% of the amount. On a purchase of €0.05:

Fee = €0.01 + 0.01 × €0.05 = €0.0105

That is 21% of the purchase price. The fixed part alone is already a fifth of €0.05; the one percent sits on top. One hundred such payments produce €1.05 in fees on €5 of goods. One batched payment of €5 costs €0.06 under the same assumed formula, or 1.2%.

These are not the current fees of any particular network or provider. On a €0.05 purchase, the fixed charge sets the price. Batching can require pre-funding, a balance held with the supplier, and an extra internal record of who consumed what. Currency conversion, network fees, withdrawals and operating costs can sit on top of that.

Count the total cost of each service that arrived and that you accepted. A cheap payment for an unusable answer is still a failed purchase.

After a timeout, the status initially remains unknown

“No response received” means the response is missing. It does not mean no money moved. Give the job a stable business ID before the first payment attempt. If the payment service supports idempotency, repeat the request with the same key, inside the rules it documents. You need to know how long that promise lasts and what it covers.

When the outcome is unclear, look up the payment ID or the transaction hash first. Keep the reserved budget tied up while the status stays open. A second attempt with a new payment ID can pay for the same purchase again.

On a blockchain, broadcasting the same signed transaction again and creating a new payment are two different operations. Nonce and replacement rules depend on the network. The Transaction Decoder shows what a signed raw transaction contains. A generic retry button treats those two operations as one.

A workable exception path distinguishes at least these cases: payment failed, payment still open, paid and delivered, paid without delivery. The last one needs a fresh delivery attempt or its own refund process. If you mark it as failed, the outflow disappears from the books.

A budget must account for concurrent requests

A fictional daily budget of €20 does little if ten jobs run at once and each of them sees the same untouched remainder. Approval has to check the budget and reserve the amount as one indivisible step. Once a job has reserved money, the others must already see that amount as taken. When the job finishes, reconcile the reservation against the actual cost. Fees belong in the reservation. An unknown payment status must not release the budget early.

Add a cap per purchase, a list of approved merchants, allowed currencies or tokens, and an escalation when the recipient is new. Those rules have to run outside the language model. A prompt that says “spend no more than €20” is not a spending lock.

Measure a pilot by delivered outcomes

For a start, one bounded service from an approved supplier in a test environment is enough. Deliberately run delayed responses, duplicate calls, unusable deliveries, concurrent purchases and refunds.

Count accepted deliveries, total cost, duplicate charges, open reconciliation cases and human interventions. Transaction counts tell you how often money moved. Whether anyone outside is paying for the service, and whether the delivery was usable, shows up in the accepted results and in reconciliation. Reconciliation is what puts the purchase into the books.

Further reading by level

SourceTypeLevelWhat for
x402: how it worksDocumentation (Coinbase)BeginnerThe flow of request, proof of payment and repeated request over HTTP 402.
x402 repositorySpecification and codeAdvancedProtocol details and implementations; check version and payment paths.
AP2 specificationSpecification (Google and others)AdvancedMandates as provable authorisation of the agent.
Agentic Commerce ProtocolSpecificationAdvancedThe flow of a purchase between agent and merchant.
Stripe and OpenAI: Instant Checkout and ACPPress releaseBeginnerThe protocol as placed by the parties involved; vendor perspective.
Stripe: Idempotent requestsAPI documentationIntermediateAvoiding duplicate payments after a timeout.
OWASP: Excessive AgencySecurity standardBeginnerWhy payment rights must be limited.
Model Context ProtocolSpecificationIntermediateHow agents integrate payment tools.
Building effective agentsVendor guideBeginnerWhen autonomy in payments justifies the effort.

For custody and limits: AI Agent Wallets: Protect Keys and Enforce Spending Limits. For stablecoins and regulation in the background: Learning Bitcoin and Web3: The Big Reading and Link Atlas.

Sources

  • x402 Foundation (originally Coinbase): x402 protocol and implementations.
  • AP2 project: Agent Payments Protocol.
  • ACP project: Agentic Commerce Protocol.

Read next

  • AI Agent Wallets: Protect Keys and Enforce Spending Limits — constrain spending before signing.
  • What an AI agent actually costs — calculate cost per accepted outcome.
  • Geld 2.0 — foundations of digital value and payments.
More Insights
  • AI Agents

    AI Agent Wallets: Protect Keys and Enforce Spending Limits

    Protecting a key does not prevent a bad payment. A practical architecture, spending policy, adversarial tests and incident-response sequence.

  • AI Agents

    Hermes or OpenClaw: The Agent That Stays On

    You want an agent on a machine that stays on. OpenClaw is the gateway. Hermes is the worker runtime, with an optional hosted agent. Hosting, skills and day-to-day checks differ.

  • Crypto

    How Calldata Is Laid Out: Selector, Arguments, and Offsets

    After the selector's four bytes, arguments follow in 32-byte words. Static values sit in place, dynamic values point onward with an offset measured without the selector.

Albert Schaper
About the author

AI expert and entrepreneur with a finance background and a focus on execution. I support companies as a partner and partly with own capital, mainly on strategy, financing and sales, and advise teams on putting AI to work. LinkedIn

← All Insights
AS

AI · Finance · Entrepreneur

Navigation

HomeAboutExpertiseProjectsContactInsightsTools

Projects

Best-AI.orgBitAutorGeld 2.0Pharmaceutical company

Tools

ETH Unit ConverterAddress ValidatorQR Code GeneratorSeed Phrase ValidatorWallet Generator

© Albert Schaper. All rights reserved.

Privacy / Imprint