LeverageIQ
All 5 Knowledge Hub Domains

Domain 02: Deterministic Quote & Checkout Execution | /.well-known/acp/config.json

ACP: Agentic Commerce Protocol (ACP) Hub

Agentic Commerce Protocol (ACP) governs how external buyer agents and internal sales agents configure multi-service scopes, compute rules-based quotes via PostgreSQL, and execute idempotent checkout sessions.

Canonical Answer-First Definition

Agentic Commerce Protocol (ACP) exposes /.well-known/acp/config.json, /api/acp/negotiate, and /api/acp/checkout endpoints so AI agents can submit scope parameters, receive zero-hallucination quotes signed with ES256, and initiate settlement.

Core Architectural Capabilities

  • Public /.well-known/acp/config.json declaring supported currencies, settlement rails, and high-ticket thresholds
  • Deterministic POST /api/acp/negotiate evaluating service slugs, locations, volume, and bundle discounts
  • Automatic ES256 JWS cryptographic attestation attached to every generated quote response
  • Idempotent POST /api/acp/checkout issuing verifiable AP2 Cart Mandates and settlement instructions

Production Implementation Checklist

  • Extract all pricing tiers, location multipliers, volume surcharges, and bundle rules out of prompts into TypeScript/PostgreSQL.
  • Enforce strict settlement rail governance (ACH debit or commercial wire required for engagements >= $25,000 USD).
  • Sign every quote calculation with your AP2 ECDSA P-256 private key so quotes cannot be tampered with.
  • Persist checkout mandates in an isolated PostgreSQL table with rate limiting and audit logging.

ACP Technical Specification Matrix

ACP EndpointMethodInput PayloadDeterministic Output
/.well-known/acp/config.jsonGETNoneSupported settlement rails, currency, and threshold rules
/api/acp/negotiatePOST{ serviceSlugs, locations, monthlyInquiries, expeditedLaunch }Itemized quoteId, bundleDiscountPct, totals + ES256 JWS
/api/acp/checkoutPOST{ principalEmail, principalCompany, serviceSlugs, locations }Signed AP2 cart_mandate persisted in PostgreSQL + treasury rail
/api/acp/healthGETNoneReal-time protocol engine and database health status

Corresponding LeverageIQ Implementation Modules

ACP Engineering FAQ

Can an external AI agent prompt-inject a lower price through ACP?

No. The ACP negotiation endpoint accepts only typed parameters (service slugs, integer location counts, integer inquiry volume, boolean expedite flag) and computes totals inside deterministic server code.

How does ACP connect to human sales teams?

Quotes exceeding your custom enterprise threshold automatically flag executive review while locking a priority briefing slot on the principal calendar.