PurserBuilt onAirwallex Try it
14 Nov (latest) · Airwallex sandbox · test card · test money

Visa track: agent card payments via Airwallex Airi (sandbox, test card)

An agent's card, over the CFO's limit

  1. The spendEUR 45.00Northwind Outdoor test shop (Airwallex sandbox)
  2. Over the CFO's limitEUR 20.00 aloneso the agent waits for the CFO
  3. Face IDThe CFO approves P-0002the signed terms, bound to this one purchase
  4. Paid via AiriSUCCEEDEDint_sgpvspvj9ho57xv5asj 14 Nov record ↗
  • Same credential used again: refusedPURSER_CREDENTIAL_ALREADY_USED
  • EUR 250.00, over the EUR 200.00 hard cap: refusedPURSER_ABOVE_HARD_CAP

Airi's credential on Airi's test card, not a Visa network token. Airwallex sandbox, test money; the run of 14 Nov (vic-5). Claude Haiku chose the rail; Purser's code held the limits.

The card flow

  1. Agentasks to buy; Claude picks the rail
  2. Purserthe CFO's limits, Face ID, the signed terms
  3. Airia single-use credential for those terms
  4. Airwallex checkoutsandbox: pays, the terms read back

The hackathon brief names Visa Intelligent Commerce as Visa tooling ("Visa Intelligence Commerce (VIC)", row V2); Purser uses it through Airwallex's Airi. The brief, quoted ↗
The Airi runs are Purser's entry for the Visa Award.
We have requested Visa Intelligent Commerce Connect access; it is not used here.

The run's three facts, and the evidence tiles

1 paid after Face ID, 4 refused by Purser incl. reused credentials.

The run of 14 Nov (vic-5): Airi's credential on Airi's test card, not a Visa network token; the Airwallex sandbox, test money. Claude was called once, to choose the rail; Purser's code held the limits.

  1. Paid after Face ID: EUR 45.00

    The signed terms read back equal at Airi and Airwallex.

    Payment int_sgpvspvj9ho57xv5asj ↗
  2. Reused credential refused

    PURSER_CREDENTIAL_ALREADY_USED, before any outside call.

    Credential mdt_nlpdlr7dgho57xw5fpd
  3. Over the hard cap: EUR 250.00

    PURSER_ABOVE_HARD_CAP, refused with no outside call.

    Run record vic-5, step C ↗

Visa via Airwallex's Airi, as recorded

All the evidence →

Airwallex sandbox, Airi's test card, test money. Each tile opens its record. Visa is named in text only; no endorsement.

Try Purser's check on this credential

Agent pays with an Airi credential (test card, sandbox; recorded run of 7–14 Nov)

Recorded, not live Airi's credential is the agent's Visa card rail: Airwallex sandbox, test card, test money. Purser adds its checks to every credential.

  1. Signed termsThe agent asks to buy for EUR 45.00 at Northwind Outdoor test shop (Airwallex sandbox). Purser writes the exact terms (vic-5 P-0002).
  2. Face IDAbove the CFO's limit, the CFO signs the SHA-256 of those terms with Face ID.42dfaf8a15f67620…
  3. Airi tapAiri's mandate carries that hash. Purser reads it back, equal, before a tap in Airi releases the credential.mdt_nlpdlr7dgho57xw5fpd
  4. PaidThe credential pays on Airwallex's checkout. SUCCEEDEDint_sgpvspvj9ho57xv5asjSandbox only: a headless browser in the agent's process typed the test card into Airwallex's hosted page.

Then the same credential, misused: Purser refuses it before any Airwallex call.

  • Another amount (40.00 EUR): PURSER_CREDENTIAL_AMOUNT_MISMATCH
  • A second use: PURSER_CREDENTIAL_ALREADY_USED
  • Another merchant: PURSER_CREDENTIAL_MERCHANT_MISMATCH in code and tests since 14 Nov, not in the recorded run.

the run record ↗ the check ↗ its tests ↗

What is not proven yet

What is not proven yet

  • A Visa-provisioned agentic token or cryptogram: the runs use the Airi credential (test card) in the Airwallex sandbox.
  • A real card or real money: Airi's test card, test money only.
  • Registration with Visa as an agent, or a Visa Payment Passkey: the passkey is the CFO's, in Purser.
  • Signals to Visa: outcomes go to Airi and to our records.
What Visa Intelligent Commerce asks for, and how Purser meets it

What Visa Intelligent Commerce asks for

  1. Agent identity: the agent is registered with Visa, and Visa checks its signatures. Visa's page ↗
  2. Payment credential: a Visa token stands in for the card number, with a cryptogram that is used once. Visa's page ↗
  3. Consumer authentication: a Visa passkey on the consumer's own device. Visa's page ↗
  4. Intent, consent and limits: the consumer's instruction sets the limits, and the agent buys only within them. Visa's page ↗

Visa's developer pages, read 14 Nov 2026: the source table ↗

How Purser meets each one: the live run of 14 Nov

vic-5: Airwallex sandbox, Airi's test card, test money. 2026-11-14-vic-5.md ↗

  • Agent identityNot done yet in the Airi runs. A separate run signs the agent's checkout per TAP (below, outside the entry).visa-tap-live-2026-11-02.json ↗
  • Payment credentialBound to one purchase by Purser: another amount, PURSER_CREDENTIAL_AMOUNT_MISMATCH; a second use, PURSER_CREDENTIAL_ALREADY_USED; before any Airwallex call. The Airi credential (test card), not a Visa agentic token.2026-11-14-vic-5.json ↗ 2026-11-12-vic-3.md ↗
  • Consumer authenticationAbove the CFO's limit, the CFO's passkey (Face ID) signs the SHA-256 of the exact terms; for B (EUR 45.00) Airi's mandate and Airwallex's PaymentIntent held the same hash. Purser's passkey, not a Visa Payment Passkey.2026-11-14-vic-5.md ↗
  • Intent, consent and limitsIn Purser's code: up to EUR 20.00 alone, 3 a day; over the hard cap PURSER_ABOVE_HARD_CAP; a merchant not listed PURSER_MERCHANT_NOT_ALLOWED; no outside call. Each step in Purser's hash-chained audit log (34 rows).2026-11-14-vic-5.md ↗

A reused credential: reuse left to the integrator; Purser enforces it

Airi/Airwallex sandbox (12 Nov)

Another amount, then a second use: both accepted (SUCCEEDED).

2026-11-12-vic-3.md ↗

Purser (14 Nov)

Both refused before any Airwallex call: PURSER_CREDENTIAL_AMOUNT_MISMATCH, PURSER_CREDENTIAL_ALREADY_USED.

2026-11-14-vic-5.md ↗
  1. The agent asks to buy
  2. Purser's policy check

Within the CFO's limit

  1. Confirmed in Airi
  2. Airi credential (test card)
  3. Airwallex PaymentIntent
  4. Paid

None in this run.

Over the limit

  1. CFO's Face ID
  2. Then the same path
  3. PaidBEUR 45.00

Refused

  1. Stopped before any call; nothing chargedCEUR 250.00over the hard capDEUR 5.00merchant not allowedF1EUR 40.00credential for another amountF2EUR 45.00credential used a second time

Sandbox only: a headless browser in the agent's process typed the test card into Airwallex's hosted page; the sandbox refuses a direct confirm. Airi's instructions give the agent a tokenised card number, expiry and CVV for one checkout; how a production checkout differs is not documented in what we could read.

The 4 Visa runs: 6 paid, 2 not confirmed in Airi

RunPaidNot confirmed in AiriRefused by PurserRecord
7 Nov · vic-1201airi-run.json ↗
12 Nov · vic-31132026-11-12-vic-3.json ↗
13 Nov · vic-42152026-11-13-vic-4.json ↗
14 Nov · vic-51042026-11-14-vic-5.json ↗

Not confirmed in Airi: the owner did not tap in Airi within 5 minutes; Purser cancelled the mandate and nothing was charged. Airwallex sandbox, Airi's test card, test money. Not counted: vic-2, a control test of Purser's own checks.

All the details: the runs, the flow, every id

First the CFO's limit, then an Airi credential (test card) Purser binds to one purchase.

Every purchase, as it ended

  • Paid after Face ID: 1
  • Refused by Purser: 4
  1. BEUR 45.00Paid after Face ID
  2. CEUR 250.00over the hard cap
  3. DEUR 5.00merchant not allowed
  4. F1EUR 40.00credential for another amount
  5. F2EUR 45.00credential used a second time

1 paid in the 14 Nov run (6 paid across 4 Visa runs).

The hash the CFO signed for B, read back

  1. Pursersigned with Face ID (vic-5 P-0002)42dfaf8a…6ea5
  2. Airithe mandate, before the credential42dfaf8a…6ea5equal
  3. Airwallexthe PaymentIntent's metadata42dfaf8a…6ea5equal

Both read-backs equal to the signed hash (SHA-256 42dfaf8a15f67620a9acfe4106d4ef21fb71e28200dfa6a2dd617fa1442c6ea5).

Latest live run, 14 Nov

Claude picked the Airi rail for each purchase it was asked about (B); Purser's code enforced the limit.

We also tried reusing a credential, for a different amount and a second time (F1, F2). Purser's credential check refused both, with 0 calls to Airi or Airwallex.

Each purchase, with its ids

Rail chosen by claude-haiku-5-5 from 3 · request req_011Ch2HVkPuB… ↗

  • B: EUR 45.00 after the CFO's Face ID. 1 of 3 purchases paid.
  • C, D, F1, F2 refused by Purser with 0 calls.
  • B · EUR 45.00 · paid (SUCCEEDED) · rail chosen by claude, request req_011Ch2HVkPuB9GdeMH24quSP · mandate mdt_nlpdlr7dgho57xw5fpd · PaymentIntent int_sgpvspvj9ho57xv5asj · mandate read-back equal · PaymentIntent read-back equal · calls: Anthropic 1, Airwallex 3, Airi 4
  • C · EUR 250.00 · refused, PURSER_ABOVE_HARD_CAP · calls: Anthropic 0, Airwallex 0, Airi 0
  • D · EUR 5.00 · refused, PURSER_MERCHANT_NOT_ALLOWED · calls: Anthropic 0, Airwallex 0, Airi 0
  • F1 · EUR 40.00 · refused, PURSER_CREDENTIAL_AMOUNT_MISMATCH · mandate mdt_nlpdlr7dgho57xw5fpd · calls: Anthropic 0, Airwallex 0, Airi 0
  • F2 · EUR 45.00 · refused, PURSER_CREDENTIAL_ALREADY_USED · mandate mdt_nlpdlr7dgho57xw5fpd · calls: Anthropic 0, Airwallex 0, Airi 0

Source: docs/runs/2026-11-14-vic-5.json. live: airi-cli and the Airwallex sandbox (test money, Airi's test card); checkout: Airwallex sandbox Hosted Payment Page, filled by the agent like a shopper (our own test shop; test money). · run log ↗

The first live run, 7 Nov, follows below.

How it works: purchase B

Airwallex sandbox · test card · test money

  1. ScriptAsks to buyPurser's script as the Sourcing agent; no Claude callEUR 45.00
  2. PurserPurser's policyLimit EUR 20.00, allowed merchants; above it, the CFO's Face ID on the exact termsP-0002 · terms 8bbfffc9…

    ✕ Refused by Purser — 0 Airi callsPurchase C, a disallowed merchant

  3. AiriAiri mandateAmount, merchant and items, for this one purchasemdt_nlpdgv8gqhnxvxcjxbv
  4. AiriCardholder confirmsPasskey in AiriOnce
  5. Airi · VICAiri credential (test card)From Airwallex's Airi wallet; Purser binds it to this purchaseAiri's receipt: DPAN · test card
  6. AirwallexAirwallex hosted checkoutOur own sandbox merchantint_sgpvzc9hjhnxvxc26ie
  7. PurserResult read backReported to AiriSUCCEEDED
  • The credential is a test credential, from Airi's test card.
  • One person played both the CFO and the cardholder.
  • In production no card number would enter the agent's process: the merchant would get a network token via the Connect access above.
  • The merchant is Purser's own sandbox account.

Purchase B: signed, sent, charged

Signed by the CFOSent to AiriCharged
Amount✓ signed = chargedSigned by the CFOEUR 45.00Sent to AiriEUR 45.00from the signed termsChargedEUR 45.00
RecordSigned by the CFOP-0002 · terms 8bbfffc9…Sent to Airimdt_nlpdgv8gqhnxvxcjxbvChargedint_sgpvzc9hjhnxvxc26ie

Purser builds the mandate from the signed terms only; this record holds the mandate's id, not Airi's copy of the amount. Charged: Airwallex's own record, read 12 Nov. record ↗

The first live run (7 Nov): every purchase, check and id

The paid run

Visa Intelligent Commerce via Airwallex's Airi: a live run (7 Nov)

A separate run · Airwallex sandbox, test card, test money

A scripted run, no Claude call: paid with an Airi credential (test card) that Purser binds to one purchase, each purchase confirmed by the cardholder's passkey: within Purser's limit with no Purser approval, above it only after the CFO's Face ID; a disallowed merchant was refused by Purser first.

  • ✓ Within the limit EUR 12.00 (Purser's limit: EUR 20.00). Within Purser's limit, no Purser approval is needed. Airi itself asks the cardholder to confirm each purchase with a passkey.
  • ✓ Paid after Face ID EUR 45.00, above the limit: Purser asked Airi only after the CFO's Face ID on the exact terms.
  • ✕ Refused by Purser EUR 5.00 at a merchant the CFO does not allow: refused before Airi was asked (0 Airi calls).
Every check passes ↗
Details

The five checks

  • ✓ A ran with no Purser approval: succeeded
  • ✓ The checkout answered for A (accepted), reported to Airi
  • ✓ B waited for the CFO: P-0002
  • ✓ B after the CFO: EXECUTED, SETTLED, SUCCEEDED, mandate mdt_nlpdgv8gqhnxvxcjxbv, PaymentIntent int_sgpvzc9hjhnxvxc26ie
  • ✓ C: refused PURSER_MERCHANT_NOT_ALLOWED, 0 Airi call(s)

Every step and id

  • EUR 12.00 at Northwind Outdoor test shop (Airwallex sandbox), within Purser's limit of EUR 20.00 for this rail: no CFO approval. The cardholder still confirmed it once in Airi with a passkey, and the Sourcing agent received a card credential from Airwallex's Airi wallet, bound by Purser to one purchase (Airi's test card; mandate mdt_nlpdgv8gqhnxvpbv09m). The agent paid on Airwallex's hosted checkout page: PaymentIntent int_sgpvzc9hjhnxvpblt2r SUCCEEDED, reported to Airi.
  • EUR 45.00, above that limit: P-0002 waited for the CFO's Face ID on its exact terms (terms hash 8bbfffc9…). Only then did the runner ask Airi for mandate mdt_nlpdgv8gqhnxvxcjxbv; the cardholder confirmed it in Airi with a passkey, and PaymentIntent int_sgpvzc9hjhnxvxc26ie SUCCEEDED: P-0002 EXECUTED.
  • EUR 5.00 at a merchant the CFO does not allow: refused by Purser, PURSER_MERCHANT_NOT_ALLOWED, with 0 Airi calls.
  • The record and the run log hold ids, order hashes and codes only: no one-time Airi link, no card number, no credential.
  • The second attempt in this world: the first stopped on a purchase not confirmed in Airi in time and a reused order reference before any card was used. The reference is fixed; both are in the run log.

6 Airwallex API calls · our own sandbox merchant on Airwallex's hosted checkout page · docs/demo/airi-run.json · run log ↗

Control test of Purser's own checks, not a Visa run (7 Nov)

Nothing bought: 0 Airi and 0 Airwallex calls

  • ✕ Changed after Face ID: refused EUR 30.00 approved with Face ID; our own labelled test then changed it to EUR 190.00. Refused: not what the CFO signed.
  • ✕ Shop locked by the CFO: refused After the CFO's Face ID blocked the test shop, EUR 12.00 within the limit was refused before Airi was asked.
  • ✓ Unlocked: offered again A second Face ID lifted the block; the run stopped there.
Every check passes ↗

run log ↗

The 3 attempts that failed first

1 of 4 attempts that day paid.

  • 12:51 UTC, stopped: Airi's answer came in another spelling (AIRI_OUTPUT_UNRECOGNISED). Nothing charged.
  • 12:56 UTC, failed: the sandbox refused a direct confirm (validation_error); the cardholder did not confirm in time (PURSER_NO_TAP). Nothing charged.
  • 13:30 UTC, failed: the cardholder did not confirm in time (PURSER_NO_TAP); an order reference was reused (duplicate_request). Nothing charged.

Each cause in full: run log ↗

As reported by the Airwallex sandbox

Airwallex's own record of the Airi run's 2 payments, SUCCEEDED. Each value stands under Airwallex's field name, as it came back.

Airwallex's fieldPurchase A · EUR 12.00Purchase B · EUR 45.00
statusPurchase ASUCCEEDEDPurchase BSUCCEEDED
latest_payment_attempt.statusPurchase ASETTLEDPurchase BSETTLED
card.brandPurchase AvisaPurchase Bvisa
card.card_typePurchase ADEBITPurchase BDEBIT
card.number_typePurchase APANPurchase BPAN
card.last4Purchase A1111Purchase B1111
authorization_codePurchase A539054Purchase B373714
provider_original_response_codePurchase A00Purchase B00
provider_original_response_descriptionPurchase AAuthorized successfullyPurchase BAuthorized successfully
cvc_resultPurchase AmatchedPurchase Bmatched
ds_data.sca_exemptionPurchase AONE_LEG_OUTPurchase BONE_LEG_OUT
fraud_data.actionPurchase AACCEPTPurchase BACCEPT

Airwallex returned no field for a cryptogram, a token or a 3-D Secure result. Airi's receipt named the credential's type DPAN (a token that stands in for the card number); Airwallex's record says number_type PAN (the card number itself). Both payments show the same BIN and last four, so this record cannot show that the single-use numbers differed.

GET /pa/payment_intents/{id}, read 12 Nov, sandbox, test money · 3 calls · docs/runs/airwallex-vic-payment-intents-2026-11-12.json ↗

The CFO's policy next to Visa's VIC rules

A comparison with Visa's published rules, not an implementation of them: Purser does not call Visa's API. It reached Visa Intelligent Commerce through Airwallex's Airi.

RuleThe CFO's policy in PurserVisa Intelligent Commerce (v2), as Visa describes it
AmountPurserUp to EUR 20.00 with no Purser approval. Above it the CFO signs the exact amount with Face ID. Never above EUR 200.00.Ran: purchase B, P-0002 · code ↗VisaEach mandate carries a limit, its decline threshold.
MerchantPurserOnly merchants the CFO allows. Any other is refused before Airi is asked.Ran: purchase C, PURSER_MERCHANT_NOT_ALLOWED, 0 Airi calls · code ↗VisaA mandate can name the merchant.
How long an approval lastsPurserAn approval lapses after 30 minutes.code ↗VisaA mandate has an end time, and an instruction expires.
A change after approvalPurserThe CFO signs a hash of the exact terms. Changed terms no longer match it and are refused; a change needs a new approval.Ran: the control test, EUR 30.00 changed to EUR 190.00, refused · code ↗VisaNo edits: cancel it and create a new one.
Total spendPurserOne approval covers one purchase. Without Face ID, at most 3 purchases a day.code ↗VisaVisa adds up every purchase made under an instruction.
Who approvesPurserAbove the limit the CFO approves each purchase with Face ID. In the run the cardholder also confirmed every purchase in Airi.Ran: purchases A and B, each confirmed in Airi · code ↗VisaA person approves each purchase, or the agent buys within approved bounds.

The checks on the left are Purser's own. Whether Airi or Visa enforce the rules on the right for this credential was not tested.

Visa's rules: Visa Intelligent Commerce: Concepts (Controls and rules, Lifecycles, Purchase types), developer.visa.com, read 12 Nov 2026. Visa has since taken that page down, so it is named, not linked; Visa's live page: Visa Intelligent Commerce ↗.

Card data: not a network-tokenised checkout, no PCI attestation

This is not a network-tokenised checkout. In a sandbox test run, a headless browser types the Airi credential (test card) into Airwallex's hosted card page, as Airi's instructions say: like a normal card. How that credential relates to a Visa network token is not documented. There is no PCI attestation.

In plain words: a browser without a window, driven by the agent's code, fills in the card form the way a shopper would. No assessor has checked this against the card industry's security standard (PCI DSS). Sandbox and a test card only.

  • The credential is one file, alone in a fresh folder that only its owner can open (mode 0700). A file anyone else could read is refused unread.
  • Purser removes the file and the folder when the checkout ends, paid or not. A leftover from a crash is removed at the next start.
  • The browser types the card only into a page on checkout.sandbox.airwallex.com. It takes no screenshot, trace or video.
  • The full card number, the expiry and the security code are not written to the ledger or to a run record. Text kept from Airi or the checkout loses every run of 12 or more digits.

Code: src/airi/credential.ts ↗ · src/airi/hostedCheckout.ts ↗ · src/airi/purchase.ts ↗ · held by test/airi-card-data.test.ts ↗

All the proof

Outside the entry: Visa TAP

Visa TAP: built and verified against Visa's public reference verifier; not part of this entry.

What the TAP run showed, and what it did not
  • The Sourcing agent's checkout request was signed per TAP; Visa's reference proxy (commit 16d59bd) verified the signature and the merchant accepted it.
  • A second purchase over the card's limit was declined by Airwallex (LIMIT_EXCEEDED).
  • Not proven: the registry was Visa's reference registry, self-hosted, with a test key; not Visa's directory, and Visa has not approved the agent. The merchant is ours.

TAP run · 2 Nov · test money. visa-tap-live-2026-11-02.json ↗

Re-run on 19 Nov

All the evidence →

Run on our machine against Visa's public reference; nothing bought, no money moved.

The TAP run in full: the picture, the card, every check Visa TAP · 2 NovThe agent signs its checkout Bothsignatures acceptedEUR 19.99approvedEUR 45.00declined (LIMIT_EXCEEDED) Visa reference verifiercommit 16d59bd Our merchant (simulated) · Airwallex sandbox authorisations
Replay of the main run, 3 Nov 11:16–11:33 UTC · test money · real Claude decisions

Visa: the Sourcing agent signs its card checkout with Visa's Trusted Agent Protocol (TAP), so a merchant can check which agent is buying. Visa's public reference verifier accepted the signatures in a separate test on 2 November; the merchant is ours.

The live proof

  • In this run: the Sourcing agent (Haiku) bought the packwise-pro plan at Packwise, EUR 45.00; our layer verified both TAP signatures (verified, verified); the agent's Airwallex card ····1423 was approved by Airwallex Airwallex 01a1a12f…
  • TAP run · 2 Nov · test money: the Sourcing agent (Haiku) picked the card rail: Visa's reference proxy answered 200, our layer verified both signatures (verified, verified); the Airwallex card (brand as Airwallex returns it: VISA) was approved, EUR 19.99 Airwallex 01a19bfa… · read back with GET: PENDING
  • TAP run · 2 Nov · test money: code tried one purchase over the card's limit: Visa's reference proxy answered 200, our layer verified both signatures (verified, verified); the Airwallex card (brand as Airwallex returns it: VISA) was declined by Airwallex (over the card's limit), EUR 45.00 Airwallex 01a19bfa… · read back with GET: FAILED

What this is, and is not

  • In the TAP run, Packwise is a merchant we run (simulated); its checkout is served by our code behind Visa's reference proxy.
  • Signature 1 follows Visa's Trusted Agent Protocol as Visa's reference proxy (github.com/visa/trusted-agent-protocol, commit 16d59bd, unmodified) reads it; signature 2 (body integrity over Content-Digest), the tag, window and payment checks are our own layer.
  • In the TAP run, the agent registry is Visa's reference registry, self-hosted on localhost, with a test key made for this run: not Visa's directory, no approval by Visa of this agent.
  • Card payments are Airwallex sandbox simulated authorisations.
  • In the separate TAP run (2 November) no approval was asked for or given. In the main run the card buy came after the CFO approved P-0006 with Face ID, which raised the card's limit per purchase from EUR 30.00 to EUR 46.00.

Source: docs/demo/main-run.json (the main run); the card run from docs/runs/visa-tap-live-2026-11-02.json.