Early access. Product screens use synthetic demo data; accounts and bank imports are not open yet. What is live today

Research

Smart Commerce Layer: research into safer AI-assisted payment journeys

Independent research · concept and prototype. We are studying whether an AI shopping assistant can help a consumer check out with a euro-area merchant while a deterministic policy — never the AI — decides what is allowed, and every step leaves privacy-minimised evidence that the merchant can reconcile.

Consent-to-receipt, step by step

Choose a scenario. The flow runs on synthetic data in your browser: mandate → AI proposal → policy decision → receipt → delivery evidence or human review → invoice match.

RESEARCHResearch simulation — synthetic data. Not a digital euro wallet, not a payment service, not affiliated with the ECB.

The AI proposes exactly what the consumer approved. Policy passes, receipt is issued, delivery is confirmed.

Mandate (pseudonymous)
mdt-7f3a91c2
Approved merchant
merchant-example-books-001
Item
Paperback: Example Field Guide
Maximum
€24.90
AI proposes
€24.90

Preparing simulation…

Research questions we want to test

These are hypotheses, not results. Each needs a measurable demonstration and comparison with existing work.

H1

One provider-neutral event envelope can link intent, consent, payment status, receipt, delivery, refund and bookkeeping — without giving the AI any authority to approve.

H2

Privacy-minimised, selectively disclosed receipts can support reconciliation and disputes with less personal data than a full shared commerce record.

H3

A rail-independent design can use today's PSP evidence while keeping any future digital euro adapter behind defined, unimplemented interfaces.

H4

Plain-language approval explanations reduce unwanted purchases compared with a baseline chat-to-checkout flow.

Milestones and status

Research milestones
MilestoneStatus
Event schema and hash-chained synthetic logDemo Demo available
Policy engine rejecting out-of-mandate AI changesDemo Demo available
Baseline comparison: payment link + CSV reconciliation vs consent-to-receiptResearch Research
User study on approval explanations (H4)Research Research
Adapter to a licensed PSP's test environmentPlanned Future — needs partner agreement
Digital euro adapterPlanned Future — depends on official standards and access

What this is not

  • Not a digital euro wallet or payment service.
  • Not connected to any ECB or Eurosystem system.
  • Not a claim of first-of-its-kind or patented technology — conditional payments and agent spending controls already exist elsewhere.
  • Not a submitted or approved ECB application.

The digital euro is designed primarily for retail payments, and the ECB's own innovation work already covers conditional payments. Our contribution, if any, is the combination of consent, policy enforcement and evidence — to be tested, not assumed.

Related reading

Cooperation enquiries will open with a privacy-reviewed contact form. DIGITAL EUR is not affiliated with the ECB; no partner logos or endorsements are implied.

Short answer

The DIGITAL EUR Smart Commerce Layer is an independent research prototype, not a payment product. It asks whether an AI shopping assistant can prepare a euro checkout while a deterministic policy engine, never the AI, checks payee, amount, item, currency and expiry, and every step is recorded in a privacy-minimised, hash-chained log a merchant can reconcile. No real money moves.

The sections above show the simulation, the four hypotheses and the milestone table. This section documents the research design behind them: the problem, how it relates to existing work, what the event envelope actually contains, the threats we test against, how we plan to measure results, and where the approach stops. Status as of 5 November 2026: research only, synthetic data only, no ECB affiliation, and no application to any ECB programme is claimed here.

What research problem does the Smart Commerce Layer study?

AI assistants are starting to take part in buying decisions. Card networks, payment providers and protocol groups are building ways for software agents to pay on a person's behalf. The hard part is not moving the money; licensed providers already do that well. The hard part is consent: showing, after the fact, that what was paid for is what the person actually agreed to, and doing so without collecting more personal data than the purchase needs.

Our research question is narrow:

Can a human-controlled flow, in which an AI only proposes and a deterministic rule set decides, produce evidence that a consumer, a merchant and a bookkeeper can each rely on, with fewer avoidable errors and less personal data than a baseline chat-to-checkout flow?

Three practical problems sit underneath that question:

  1. Drift between intent and execution. A person asks for one paperback from one bookshop for up to €24.90. An assistant that "helpfully" picks a hardcover edition, a lookalike seller or a higher price has changed the deal. The person may only notice when the statement arrives.
  2. Evidence that cannot be reconciled. Merchants reconcile payments against invoices. If the agent's reasoning, the approval and the receipt sit in different systems with different identifiers, a human ends up matching them by hand. This is the same problem our existing euro reconciliation demo addresses for ordinary bank transfers.
  3. Over-collection. The easiest way to make a dispute provable is to log everything: names, emails, account numbers, the full chat. That is the opposite of data minimisation, and it creates a store of personal data that has to be protected for years.

This is human-in-the-loop payment automation research in a specific sense. The human is not asked to approve every step; the human approves a mandate once, and a rule set enforces it. A person comes back into the loop only when the rules say so: when evidence is missing, when a dispute is opened, or when a bookkeeping match needs confirming.

How does this relate to existing work?

We ran a prior-art review before writing this page. The honest conclusion is that the Smart Commerce Layer is not a novel payment technology. Spending mandates for agents, consent tokens, conditional release of funds, electronic receipts and capture-after-delivery all exist already, in production or in published specifications. The table summarises what we found and checked on 5 November 2026.

Existing work What it does (as described by its publisher) Overlap with our prototype
ECB digital euro innovation platform, first round (2025) Tested conditional payments, such as releasing funds after the buyer confirms delivery, in a simulated digital euro environment; also explored e-receipts Delivery-conditioned flow and receipts; the ECB's work is on payment infrastructure, ours is on consent evidence
ECB call of 28 September 2026 Exploration focus area on AI-enabled payment experiences and AI agents; experimentation on e-receipts and conditional payments, evaluated against privacy by design Same themes; we do not claim participation
Agent Payments Protocol (AP2), announced by Google in September 2025 Signed "mandates" record what the user authorised (checkout and payment, each in an open and a closed stage) and chain into an audit trail Very close to our mandate → proposal → decision chain; AP2 uses cryptographic signatures, our prototype does not
Mastercard Agent Pay (April 2025) Agentic tokens extend card tokenisation; agents are registered and verified; consumers set what an agent may buy Consumer-set limits on agent purchases
Sardis Package listings describe agent wallets with spending policies (per-transaction and daily caps, vendor allow-lists) checked before funds move Policy-before-payment enforcement
AgentPay (name used by several projects; e.g. Alchemy's open beta, April 2026) Alchemy's AgentPay is a protocol-agnostic proxy that lets businesses accept agent payments and states that it never holds funds Non-custodial positioning; it does not, per its announcement, focus on consent records
Adyen manual and delayed capture Funds are authorised first and captured later, for example once goods are delivered Delivery-conditioned settlement already exists in card acquiring
IMF Note 2026/004, "How Agentic AI Will Reshape Payments" Argues that authorisation and settlement should stay deterministic while probabilistic AI operates upstream; calls for traceability and explainability Our core design principle; the IMF note frames it at system level

We also searched for "Quaestrum", which appears in our internal competitor list. We could not find a public page for it on 5 November 2026, so we make no claim about it.

What, if anything, is different here?

Not the parts. Possibly the combination, and that is what we want to test rather than assert:

  • Evidence for bookkeeping, not only for authorisation. Most agent-payment work stops at "was this payment authorised?". Our log continues to delivery evidence, human review and an invoice-match suggestion, because a micro-merchant's real cost is often the reconciliation afterwards.
  • Explicit, enumerable rejection reasons. Each refusal carries a fixed reason code with a plain-language explanation. That makes refusals countable in an evaluation and explainable to the consumer.
  • Privacy budget per party. We try to measure, field by field, what each party receives, rather than describing a design as "privacy-preserving" in general terms.
  • Rail independence. Nothing in the envelope depends on cards, SEPA transfers or a future digital euro. Any adapter to a real rail is future work that would require a licensed partner.

If a reviewer shows that this combination is already published, we will say so on this page and narrow our claims. The ECB innovation opportunities explained page covers the official programme separately; the two pages are deliberately distinct.

What does the event envelope contain?

Every step in the simulation is written as one event. The fields below are exactly those defined in the prototype's TypeScript code (LogEvent in the research module); nothing is added for presentation.

Field Type Purpose
seq integer, starting at 1 Order of events; a gap or swap breaks verification
type one of 8 event types What happened (see next table)
at ISO 8601 timestamp When it happened (synthetic times in the demo)
actor CONSUMER, AI_AGENT, POLICY_ENGINE, MERCHANT, CARRIER or SYSTEM Who produced the event
status RECORDED, APPROVED, PROPOSED, REJECTED, ISSUED, CONFIRMED, HUMAN_REVIEW, MATCH_SUGGESTED or HELD Outcome of the step
summary short text Human-readable explanation
payload JSON object Step-specific data (minimised, see below)
label always "SIMULATED" Prevents a demo log being mistaken for a real record
prevHash 64 hex characters Hash of the previous event; the first event uses 64 zeros
hash 64 hex characters SHA-256 of the canonical JSON of all fields above

The eight event types follow the journey in order: INTENT_CAPTURED, CONSUMER_APPROVAL, CHECKOUT_PROPOSED, POLICY_DECISION, SYNTHETIC_RECEIPT, then either DELIVERY_EVIDENCE or DISPUTE_HUMAN_REVIEW, and finally INVOICE_MATCH. A rejected proposal stops after POLICY_DECISION; no receipt is created.

Which rules does the policy engine apply?

The policy engine is a pure function: the same mandate, approval and proposal always give the same decision. It returns APPROVED only if no rule fires, with the single reason WITHIN_MANDATE. Otherwise it returns REJECTED with every reason that applies.

Reason code Fires when
APPROVAL_NOT_BY_CONSUMER The mandate approval did not come from the consumer
AI_CANNOT_APPROVE The AI's proposal claims it may approve itself
PAYEE_CHANGED Proposed merchant identifier differs from the mandate
CURRENCY_CHANGED Proposed currency is not EUR
INVALID_AMOUNT Amount is not a positive whole number of cents
AMOUNT_ABOVE_MANDATE Amount exceeds the approved maximum
MANDATE_EXPIRED Proposal time is at or after the mandate expiry, or a timestamp is unreadable
ITEM_CHANGED Item text differs from the approved item after trimming, lower-casing and collapsing spaces

What does the hash chain prove, and what does it not?

Each event's hash covers its own content and the previous event's hash, using JSON with sorted keys so that property order cannot change the result. A verifier walks the chain and reports the first event whose sequence number, link or content does not match. The prototype's automated tests check that altering any single event, dropping the first event or swapping two events is detected.

What the chain does not prove: it is not signed, so anyone able to rewrite the entire log can produce a new, internally consistent chain. Tamper-evidence therefore depends on the final hash being stored somewhere the writer cannot change, such as a copy held by the consumer or the merchant. Signatures and external anchoring are open research items, not features.

A worked example from the simulation

The baseline scenario uses a clearly fictional bookshop. The consumer approves one item, "Paperback: Example Field Guide", from merchant-example-books-001, up to 2,490 cents (€24.90), valid until 12:00 UTC.

  1. The AI proposes the same item and merchant at €24.90. No rule fires: APPROVED, a receipt is issued, carrier evidence arrives, and the invoice for €24.90 produces MATCH_SUGGESTED. A person still confirms the match in bookkeeping.
  2. The AI proposes €34.90 instead. AMOUNT_ABOVE_MANDATE fires: REJECTED, no receipt, nothing proceeds.
  3. The AI proposes €19.90 for the same item. This is approved, because a lower price is still within consent. Whether that is always right is itself a research question: a much lower price can signal a different edition or a counterfeit listing, which the item rule only partly catches.
  4. Delivery evidence never arrives. The chain records DISPUTE_HUMAN_REVIEW, and the invoice match is HELD until a person resolves it.

Which threats does the design address?

We model the AI assistant as untrusted but not malicious by default: it can make mistakes, be manipulated by a web page (prompt injection) or be optimised for something other than the consumer's interest. The policy engine never reads the AI's reasoning; it compares structured fields only. That is deliberate, because text that persuades a model cannot persuade a string comparison.

Threat What the prototype does today Known gap
AI changes the payee (e.g. a lookalike shop) PAYEE_CHANGED on any identifier mismatch Relies on a trustworthy merchant identifier; display names are not verified
AI raises the amount AMOUNT_ABOVE_MANDATE; non-integer or zero amounts give INVALID_AMOUNT Fees, shipping and tax must be inside the approved maximum; not modelled separately
AI swaps the item ITEM_CHANGED on normalised text mismatch Exact text matching is brittle; a real catalogue needs stable product identifiers
AI changes the currency CURRENCY_CHANGED EUR only by design
AI "approves" on the consumer's behalf AI_CANNOT_APPROVE; approval must be recorded as coming from the consumer In a real system this must be enforced by a separate approval channel, not a flag
Stale or expired consent MANDATE_EXPIRED Clock trust is assumed
Replay (reusing one mandate for a second purchase) Not handled. The mandate is not marked as used Single-use or counted mandates are a required next step
Tampering with the log Chain verification detects edits, reordering and broken links Unsigned; a full rewrite needs an external anchor to detect
Privacy leakage Name, email and account identifier stay outside the log and receipt Item text, delivery reference and free-text dispute reasons could carry personal data

Cybersecurity, fraud prevention and key management are outside what this prototype can demonstrate. The ECB's 2026 call also lists those topics as outside the scope of its AI exploration work, which is one reason we treat them as open problems rather than claims.

How will the research be evaluated?

None of the hypotheses has been tested yet. The protocol below is what we intend to run, written before any data is collected so that the metrics cannot be chosen after seeing results.

Baseline and treatment

  • Baseline: a chat-to-checkout flow in which the assistant produces a payment link and the merchant later reconciles a CSV bank export against invoices, as in our reconciliation lab.
  • Treatment: the consent-to-receipt flow, with a mandate, deterministic policy decision, minimised receipt and hash-chained log feeding the same reconciliation step.

Both run on synthetic merchants, items and prices. No real payment accounts are used.

Protocol

  1. Define a fixed scenario set: valid purchases plus deliberate deviations (payee, amount, item, currency, expiry, missing delivery, dispute), with the expected decision written down for each.
  2. Run every scenario through both flows and record each event.
  3. For the user study (H4), show participants the approval screen and the rejection explanation, then ask what they approved and why a proposal was refused.
  4. Compute the metrics below per scenario and in aggregate.
  5. Publish the scenario set, the expected outcomes and the raw counts, including scenarios where the treatment performs worse.

Metrics

Metric Definition Why it matters
Steps to complete Consumer actions from intent to confirmed purchase Safety that adds too much friction will be bypassed
False positives Legitimate purchases the policy rejects Over-strict rules erode trust and conversions
False negatives Out-of-mandate proposals that are approved The core safety measure; the target is zero
Consent errors Cases where a participant's stated intent differs from what they approved Tests whether the approval screen is understood (H4)
Data disclosed Count of personal-data fields reaching each party (merchant, log, bookkeeping) Tests the privacy claim (H2)
Reconciliation effort Manual matching actions per purchase Tests the bookkeeping value (H1)
Explanation comprehension Share of participants who correctly restate a rejection reason Tests whether reason codes help people

Small samples and synthetic tasks limit what any result can show. We will report confidence ranges, not headline percentages, and we will not publish numbers until the study has run.

How does the design minimise personal data?

The prototype separates a consumer profile (synthetic name, email and account identifier) from everything that is logged. The profile is an input to the simulation but is never written to an event or a receipt. The mandate is referenced by a pseudonymous identifier that is not derived from the name or email.

Data Consumer device Event log Receipt Merchant invoice match
Name, email, account identifier Yes No No No
Mandate identifier (pseudonymous) Yes Yes Yes Via receipt
Merchant identifier Yes Yes Yes Yes
Exact item text Yes In approval and proposal events No (category only) No
Amount and currency Yes Yes Yes Yes
Delivery reference No Yes No No

This follows the EU data protection principles of data minimisation and data protection by design (Articles 5 and 25 of the General Data Protection Regulation). It also mirrors the ECB's stated aim, in its 2026 call, of evaluating e-receipt approaches in line with privacy by design. The table also shows the weak points: item text and delivery references can reveal more than intended, and reducing them is part of H2. For the separate question of how the digital euro itself would handle privacy, see our digital euro privacy guide.

What is the regulatory context?

This is general information, not legal advice; the author is not a lawyer.

  • Strong customer authentication (PSD2). Under PSD2 and its technical standards (Commission Delegated Regulation (EU) 2018/389, Article 5), remote payments need "dynamic linking": the payer is shown the amount and the payee, the authentication code is specific to both, and any change to either invalidates it. Our policy rules on payee and amount follow the same logic one step earlier, at the consent stage. They do not replace authentication by a licensed payment provider.
  • Payment Services Regulation (PSR) and PSD3. The Council and Parliament reached a provisional agreement on 27 November 2025 covering fraud prevention, payee verification and liability. At the time of our check we could not confirm publication in the Official Journal, so we treat its detailed provisions as not yet applicable.
  • AI Act human oversight. Article 14 requires high-risk AI systems to be designed so that people can understand, monitor, override and stop them, and to counter automation bias. After the 2026 "AI Omnibus" amendment, these obligations apply to Annex III systems from 2 December 2027. A shopping assistant does not appear to be an Annex III category on our reading, so we use Article 14 as a design reference, not as a legal requirement we claim to meet. The transparency duty to tell people they are interacting with an AI system (Article 50) applies more broadly.
  • Licensing. The prototype does not hold, transfer or initiate payments, so it is not a payment service. Any connection to a real payment rail would have to run through a licensed provider.
  • Digital euro. The digital euro has not been issued and its legislation is still being negotiated. A digital euro adapter appears in the milestones only as dependent on official standards and access. For what the proposal could mean commercially, see digital euro implications for merchants.

What are the limitations?

  • Synthetic only. Every merchant, item, price and timestamp is invented. Results from synthetic tasks may not transfer to real shopping.
  • Rules, not judgement. A deterministic engine can only enforce what the mandate expresses. Mandates that are too narrow cause false rejections; mandates that are too broad permit unwanted purchases.
  • No replay protection yet, no signatures and no external anchoring of the hash chain.
  • String identifiers. Payee and item checks compare text. Real deployments need verified merchant identities and product identifiers.
  • One currency, one item, one merchant. Baskets, split payments, refunds and subscriptions are not modelled.
  • No independent review yet. The design has not been audited by a payment provider, security researcher or data protection specialist.
  • Small team, no partners. The project is run by the operator of this site, a small Bulgarian company, and has no payment, merchant or research partner at the time of writing.

How can you cooperate on this research?

We are interested in hearing from:

  • Licensed payment service providers with a test environment, to evaluate whether the envelope can carry real authorisation and capture evidence;
  • Merchants and bookkeepers willing to describe how they reconcile agent-assisted or link-based payments today;
  • Researchers in human-computer interaction, security or data protection who could review the evaluation protocol or co-design the user study;
  • Consumer organisations interested in how approval screens are understood.

A privacy-reviewed contact form is planned. Until it is available, the operator's details are on the imprint. We will not list partner names or logos unless a partner has agreed in writing, and cooperation does not imply any relationship with the ECB or the Eurosystem. How we handle corrections is described in our editorial policy.

Frequently asked questions

Is the Smart Commerce Layer a digital euro product?

No. It is an independent research prototype that runs on synthetic data in the browser. The digital euro has not been issued, and nothing here connects to ECB or Eurosystem systems.

Can the AI assistant spend money on its own?

No. In the design, the AI can only propose a checkout. A deterministic policy compares the proposal with the consumer's mandate, and any proposal in which the AI claims to approve itself is refused. In the current prototype no money moves at all.

Has this been submitted to or selected by the ECB?

This page claims no submission, selection or endorsement. Some themes overlap with the ECB's published focus areas, such as e-receipts, conditional payments and AI in payments, but that reflects shared interest, not an official relationship.

Why not let the AI decide when a small change is reasonable?

Because a probabilistic model can be wrong or manipulated, and a payment decision needs to be repeatable and explainable. The IMF note on agentic payments makes a similar argument for keeping authorisation deterministic. If a change is reasonable, the consumer can approve a new mandate.

What happens if the parcel never arrives?

The log records that delivery evidence is missing, the case goes to a person, and the invoice match is held. Nothing is settled automatically.

How is this different from Mastercard Agent Pay or AP2?

Those are payment-network and protocol initiatives that move or authorise real payments. Our prototype moves nothing; it studies the consent and evidence trail around a purchase and how that trail feeds bookkeeping. AP2's signed mandates are more advanced than our unsigned log.

Will the results be published?

Yes, including results that do not support the hypotheses. Scenario sets, expected outcomes and metrics will be published once the evaluation has run; there are no results yet.

Sources