Skip to content
In the news TRM Labs × Finray: audit-ready crypto transaction monitoring for banking
Finray

See how an AI agent pays, one step at a time

Set the limits, the merchants and the assets an agent may use, then run five purchases. Each step lights up in the scene, with the data it carries. Some purchases pass the rules and some are declined, and you see why.

Simulation with synthetic data. No blockchain, no real money.

The scene: an agent, the Corebanq planet with the ledger and the rules, the XZiel planet for monitoring, and six merchants. The step panel describes each step in words.

Not started. Run the 5 purchases, then step through them or let them play.

Step panel

Each step shows its data here

Press “Run the 5 purchases”. Every step then lights one part of the path between the bodies, and this panel shows what travels along it.

Rules the institution sets

The customer institution sets the limits and approvals for agent-initiated payments itself, in the Corebanq Configurator.

Delegate tokens below the account or card, with caps, merchant and country limits, an expiry and instant revoke; a store of signed mandates, with references on every posting and hold; sub-ledgers for micro-payments with batch settlement; and real-time events for limit declines and budget thresholds. In Corebanq these primitives are rolling out, planned for January 2027.

Limits are in the token’s own units, with no conversion between USDC and EURC.

Allowed assets

Allowed merchants

Ledger

Approved payments and declined attempts, kept in this page’s memory only.

Time (UTC)AgentMerchantAssetAmountResult
No entries yet.

Checked in your browser. Nothing you type is sent, stored or put in the address bar.

How it works

An agent that pays over x402 meets a merchant that asks for money, checks the ask against the rules it was given, signs, and gets the resource. Simulation with synthetic data. No blockchain, no real money. The headers are shaped like x402 version 2, so you can read them in a decoder.

StepWhat happensWhere it is written
1. Request The agent asks a merchant for a paid resource. It has not paid yet. x402 v2 specification
2. 402 The merchant answers 402 Payment Required. The PAYMENT-REQUIRED header, base64 of JSON, lists what it accepts: scheme, network, amount, asset, payTo and maxTimeoutSeconds. x402 v2 HTTP transport; x402 v2 specification
3. Rule check Before the agent signs, the ask is held against the rules the institution set: the asset, the merchant, the limit per payment and the limit per day. This step is the playground's picture of those rules. It is not part of the x402 protocol. The playground's own rules
4. Signature The agent signs an authorization with from, to, value, validAfter, validBefore and a nonce, and asks again with the PAYMENT-SIGNATURE header. x402 exact scheme on EVM; x402 v2 HTTP transport
5. Settlement The merchant answers 200. The PAYMENT-RESPONSE header carries success, payer, transaction, network and amount. x402 v2 HTTP transport; x402 v2 specification
6. Ledger and flags Each approved payment and each declined attempt is written to a ledger with its reason. Example monitoring rules then look at the attempt: velocity, a new merchant, an amount far above the agent's usual. The playground's own rules

The five purchases

The same agent, agent-demo-01, makes five purchases within one minute. They are scripted so that the default rules approve some and decline others. Change the rules and the outcome changes with them.

#MerchantAmountWith the default rulesExample flag
1Atlas Maps0.40 USDCApprovedNone
2Borealis Data9.00 USDCDeclined: 9.00 USDC is above the per-payment limit of 5.00.amount above usual
3Ember Search0.30 USDCDeclined: Ember Search is not on the allowed merchants list.new merchant
4Cirrus Compute1.20 EURCDeclined: EURC is not an allowed asset.None
5Delta Weather0.25 USDCApprovedvelocity

What the playground does not do

Simulation with synthetic data. No blockchain, no real money. Every address, signature and transaction hash is made up. Nothing is sent to a network, nothing is signed, and Finray holds no funds in it.

The flags are examples of the kind of rule XZiel runs. Their thresholds are made up: 5 attempts within 60 seconds, a merchant the agent has not paid before, an amount more than 10 times the agent's usual. Limits are counted in the token's own units, with no currency conversion.

The signature step is not a signature. The headers have the shape of the x402 version 2 objects, with made-up values, so the decoder can read them. Each authorization is valid for 10 minutes, as its maxTimeoutSeconds says.

Examples

Each button sets the rules above and clears the run. The outcome shown is what the five purchases do under those rules.

  • The default rules

    The playground's defaults

    Rules
    Per payment 5.00, per day 12.00. Assets: USDC. Merchants: Atlas Maps, Borealis Data, Cirrus Compute, Delta Weather, Fjord Translate.

    Approved: purchase 1, purchase 5. Declined: purchase 2, purchase 3, purchase 4.

  • Allow EURC as well

    Defaults, with EURC ticked

    Rules
    Per payment 5.00, per day 12.00. Assets: USDC, EURC. Merchants: Atlas Maps, Borealis Data, Cirrus Compute, Delta Weather, Fjord Translate.

    Approved: purchase 1, purchase 4, purchase 5. Declined: purchase 2, purchase 3.

  • Allow Ember Search

    Defaults, with Ember Search ticked

    Rules
    Per payment 5.00, per day 12.00. Assets: USDC. Merchants: Atlas Maps, Borealis Data, Cirrus Compute, Delta Weather, Fjord Translate, Ember Search.

    Approved: purchase 1, purchase 3, purchase 5. Declined: purchase 2, purchase 4.

  • A low daily limit

    Defaults, with EURC ticked and a daily limit of 0.50

    Rules
    Per payment 5.00, per day 0.50. Assets: USDC, EURC. Merchants: Atlas Maps, Borealis Data, Cirrus Compute, Delta Weather, Fjord Translate.

    Approved: purchase 1. Declined: purchase 2, purchase 3, purchase 4, purchase 5.

  • A strict per-payment limit

    Defaults, with a per-payment limit of 0.30

    Rules
    Per payment 0.30, per day 12.00. Assets: USDC. Merchants: Atlas Maps, Borealis Data, Cirrus Compute, Delta Weather, Fjord Translate.

    Approved: purchase 5. Declined: purchase 1, purchase 2, purchase 3, purchase 4.

Where Finray does this for you

Corebanq

AI agents can initiate payments through Corebanq.

The customer institution sets the limits and approvals for those payments itself, in the Corebanq Configurator.

XZiel monitors fiat and crypto transactions in one platform.

Sources

Last verified

  1. x402 specification, version 2
  2. x402 version 2 HTTP transport: the PAYMENT-REQUIRED, PAYMENT-SIGNATURE and PAYMENT-RESPONSE headers
  3. x402 exact scheme on EVM: the signed authorization

The rule check, the ledger and the three flags are the playground's own illustration of what an institution could set and see. They are not a statement of what any x402 server or any Finray product does today.

In the briefing we walk through your problem with the platform that handles it.

Book a Corebanq briefing
Certificate of Registration NQA · UKAS Management Systems
ISO/IEC 27001:2022 Certificate of Registration issued by NQA to Finray Technologies Ltd, certificate number 215646, valid 21 October 2025 to 21 October 2028
Search
Type to search across Finray, products, company, and journal.

    Press Esc to close · ↵ to open the highlighted result.

    Book a briefing Step 1 of 3

    What you need

    Which platforms are in scope.

    For example a licence application, an audit or a ledger build-out.

    Prefer email? Write to partnership@finray.tech

    What happens after you book

    • A team member will respond within one business day with availability windows.
    • Corebanq runs as Cloud SaaS, Private SaaS or an Enterprise Licence.
    • After the briefing, the full Corebanq and XZiel API references are issued with test-environment access.
    • Due-diligence documents, such as a summary of the April 2026 independent penetration test, are available under NDA.