01 For agents
Publish a key once. Verified everywhere.
Install one package and sign with whichever protocol your platform
speaks: Web Bot Auth, Visa Trusted Agent Protocol, Google AP2,
or AVA's own TAP-style profile. Keys resolve through a federated chain of the
ecosystem's roots of trust: Visa's directories, Web Bot
Auth key directories, and the AVA directory. If you already
publish a Web Bot Auth key card, AVA Pay merchants verify you
today, with no separate registration.
npm install @ava-pay/agent # 0.3.0 or later
import { signWithWebBotAuth } from "@ava-pay/agent";
const request = signWithWebBotAuth({
method: "GET",
url: "https://shop.example.com/products/tool-1234",
signatureAgent: "https://your-agent.example",
privateKey,
});
// merchants verify it in single-digit milliseconds
- Audience
- Agent builders and issuers
- Standards
- IETF Web Bot Auth, Visa TAP (RFC 9421), Google AP2 v0.2 (SD-JWT delegation), Ed25519 / RSA-PSS
02 For merchants
One verdict. Your policy.
Add AVA Pay through the API, the open source WooCommerce plugin,
or the Shopify app. Install it from the
Shopify App Store
or the
WordPress.org plugin directory, or build against the API directly. Every agent request
returns one protocol-agnostic verdict: who the agent is, plus the
buyer-scoped mandate behind the purchase when the protocol
carries one. Identity and spend authority are different things, and
AVA Pay never confuses them: verified-identity traffic is admitted,
but discounts and offers unlock only for mandate-backed requests
unless you explicitly say otherwise. Replay-protected, fail-closed,
rate-limited: the checks a trust layer should run on itself.
- Verdict
- Trusted, rejected, or could not check, each with a typed reason, in single-digit milliseconds
- Audience
- Merchants and commerce platforms