/acp-agentic-commerce:acp-delegated-paymentfrom acp-agentic-commerce
Implements the ACP delegated payment flow and SharedPaymentToken (SPT) provisioning. Provides guidance for integrating with Stripe, handling SPT lifecycle, and building payment completion flows.
Ships in acp-agentic-commerce. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetch live docs:
https://developers.openai.com/commerce/specs/payment/ for the delegated payment specificationhttps://docs.stripe.com/agentic-commerce/concepts/shared-payment-tokens for SPT implementation detailssite:docs.stripe.com agentic-commerce delegate payment for Stripe integration guidesite:github.com agentic-commerce-protocol spec openapi delegate for the delegate payment OpenAPI specThe agent facilitates purchases but must never see raw card data. Delegated payment creates a secure intermediary:
complete callBuyer → Agent: "Buy this"
Agent → PSP: POST /agentic_commerce/delegate_payment (credentials + constraints)
PSP → Agent: SharedPaymentToken (single-use, scoped)
Agent → Merchant: POST /checkout_sessions/{id}/complete (with SPT)
Merchant → PSP: Charge using SPT
PSP → Merchant: Payment confirmation
Merchant → Agent: Session status = completed + order
Each SharedPaymentToken is scoped with:
"one_time" for single-use checkout tokens)If any constraint is violated, the charge fails.
When the merchant returns authentication_required:
complete again with authentication_result containing:
three_ds_cryptogramelectronic_commerce_indicatortransaction_idversion| Event | Recipient | Purpose |
|---|---|---|
shared_payment.granted_token.used | Merchant | Confirms SPT was consumed |
shared_payment.granted_token.deactivated | Merchant | SPT revoked or expired |
shared_payment.issued_token.used | Agent | Payment was processed |
shared_payment.issued_token.deactivated | Agent | SPT invalidated |
/delegate_payment integration may affect PCI DSS scopemax_amount to the session total (not higher)Fetch the delegated payment OpenAPI spec and Stripe SPT docs for exact endpoint, request/response schemas, and error codes before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin acp-agentic-commerce17 skills in this plugin
/acp-affiliate-attributionImplement ACP affiliate attribution — privacy-preserving affiliate tracking without cookies using token-based first-touch and last-touch attribution. Use when building affiliate programs, referral tracking, or partnership attribution./acp-capability-negotiationImplement ACP capability negotiation — dynamic discovery of mutually supported capabilities, extensions, payment handlers, and interventions. Use when building multi-feature merchant servers or agents that adapt to merchant capabilities./acp-cartImplement the ACP Cart API — the pre-checkout REST surface for collecting line items without payment configuration, covering create, retrieve, full-replacement update, and cancel, plus estimated totals, `continue_url`, and expiry. Use when building ACP cart sessions ahead of an agentic checkout./acp-checkout-mcpImplement ACP checkout as an MCP server, exposing checkout operations as MCP tools. Use when building an MCP-based commerce server for AI agents that use tool-calling to complete purchases./acp-checkout-restImplement the ACP REST checkout API — create, update, retrieve, complete, and cancel checkout sessions. Use when building merchant-side checkout endpoints, handling the checkout session state machine, or integrating with AI agent checkout flows./acp-conformanceValidate an ACP implementation against the protocol specification — schema validation, flow testing, error handling, idempotency, security checks, and production readiness. Use when preparing for launch or certifying compliance.Other plugins' skills for the same job