Help us improve
Share bugs, ideas, or general feedback.
From acp-agentic-commerce
Implements ACP delegated payment flow with Stripe SharedPaymentTokens for secure token provisioning, lifecycle management, and checkout completion in agentic commerce.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin acp-agentic-commerceHow this skill is triggered — by the user, by Claude, or both
Slash command
/acp-agentic-commerce:acp-delegated-paymentThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs**:
Manages Stripe Shared Payment Token (SPT) lifecycle in MPP: creation, usage via PaymentIntents, deactivation, webhook events, and reconciliation for fiat/card payments.
Implements ACP payment handlers for tokenized cards via Stripe SPT, seller-backed methods (gift cards, points, store credit), and negotiation protocols. Use when adding pluggable payment methods.
Implements AP2 Payment Mandate VDC to signal AI involvement and user authorization in payments. Guides schema fetch, construction for merchant processors in auth flows, tokenization.
Share bugs, ideas, or general feedback.
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.