From ap2-agentic-payments
Applies AP2 development patterns for multi-agent payment architecture, UCP integration, x402 crypto payments, mock provider testing, and production deployment in agentic payment systems.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin ap2-agentic-paymentsThis skill is limited to using the following tools:
**Fetch live docs**:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
Fetch live docs:
https://ap2-protocol.org/specification/ for the latest protocol detailshttps://ap2-protocol.org/topics/ap2-and-ucp/ for UCP integration patternshttps://ap2-protocol.org/topics/ap2-and-x402/ for x402 crypto integrationsite:github.com google-agentic-commerce AP2 samples for reference architecturesThe standard AP2 architecture involves four agents communicating via A2A:
┌──────────────────────────────────────────────────┐
│ User │
│ (trusted device surface) │
└──────────┬───────────────────────────────────────┘
│ intent + signatures
┌──────────▼───────────────────────────────────────┐
│ Shopping Agent (SA) │
│ Orchestrator — coordinates the full flow │
└──┬──────────────┬────────────────────────────────┘
│ │
│ A2A │ A2A
│ │
┌──▼──────┐ ┌───▼──────────┐
│ Merchant │ │ Credentials │
│ Agent │ │ Provider │
│ │ │ │
│ catalog │ │ payment │
│ cart │ │ methods │
│ signing │ │ tokenization │
└────┬─────┘ └──────────────┘
│
│ (Merchant → MPP)
│
┌────▼─────────────┐
│ Merchant Payment │
│ Processor (MPP) │
│ │
│ authorization │
│ settlement │
│ Payment Mandate │
│ challenges │
└────────┬──────────┘
│
┌────▼──────────┐
│ Network/Issuer │
│ (Visa, MC, │
│ banks) │
└────────────────┘
Important: The SA communicates with the Merchant and the CP via A2A. The Merchant communicates with the MPP. The SA does not directly communicate with the MPP.
UCP (Universal Commerce Protocol) operationalizes AP2:
checkout_mandate is distinct from (but related to) AP2's Cart Mandate — checkout_mandate is a UCP-specific concept that wraps the commerce checkout authorization, while AP2's Cart Mandate is the cryptographically signed VDC binding user consent to specific transaction terms/complete_checkout API = AP2's payment authorization stepUse UCP when you need the full commerce checkout flow (catalog, cart, checkout, orders) with AP2's payment security.
AP2 supports emerging digital payment methods via x402:
github.com/google-agentic-commerce/a2a-x402Development testing without real money:
AP2 agents can be built with any framework:
The protocol doesn't mandate a specific framework — only A2A compliance.
Shopping Agents can query multiple merchants:
On the V1.x roadmap:
Fetch the latest specification, roadmap, and sample implementations for current capabilities and patterns before implementing.