/ap2-agentic-payments:ap2-challenge-stepupfrom ap2-agentic-payments
Implements AP2 challenge and step-up authentication flows including 3DS2, OTP verification, and redirect challenges for agentic payment processing. Use when adding additional authentication steps during payment transactions.
Ships in ap2-agentic-payments. 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://ap2-protocol.org/ap2/specification/ for challenge flow specificationsite:github.com google-agentic-commerce AP2 challenge OTP 3DS step-up for implementation exampleshttps://ap2-protocol.org/ap2/security_and_privacy_considerations/ for security contextap2 protocol 3DS2 OTP challenge redirect for integration detailsChallenges are additional authentication steps that any participant in the payment ecosystem can require during an AP2 transaction. They provide an extra layer of security beyond the mandate signatures.
Any ecosystem participant may trigger a challenge:
The challenge catalogue has grown across AP2 releases, so verify the supported set against the version you are targeting before implementing — fetch the live spec rather than relying on the list below.
The durable pattern is the redirect challenge: the user is sent to a trusted surface — never the agent — to resolve the challenge, and control returns with a result the processor can verify. Challenge types built on that pattern include:
Newer releases add challenge kinds beyond redirect and tighten the human-present vs human-not-present rules around them; treat the two above as the baseline, not the ceiling.
1. Payment processing initiated
2. Network/Issuer determines challenge required
3. Challenge request returned to MPP
4. MPP sends challenge to Merchant Agent
5. Merchant Agent forwards to Shopping Agent (via A2A)
6. Shopping Agent redirects user to trusted surface
7. User completes challenge (enters OTP, completes 3DS)
8. Trusted surface confirms completion
9. Shopping Agent receives confirmation
10. Flow resumes from where the challenge was triggered
The redirect challenge follows this pattern:
Why redirect? Agent conversations are not trusted surfaces for authentication. The challenge must happen on a system controlled by the challenging entity.
Why A2A messaging? The challenge request and completion notification flow through the A2A protocol, keeping the multi-agent orchestration consistent.
Duplicate prevention: The protocol ensures that if one entity has already challenged the user, others are informed to avoid duplicate challenges.
The reference sample implements OTP:
For 3DS2 (Strong Customer Authentication):
AP2 challenges are backward compatible with existing systems:
Fetch the specification for exact challenge message formats, redirect protocols, and completion callback schemas before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin ap2-agentic-payments19 skills in this plugin
/ap2-a2a-extensionImplement AP2 as an A2A extension — mandate DataParts in A2A messages, Agent Card AP2 capabilities, payment-specific task flows, and inter-agent payment communication. Use when integrating AP2 payment capabilities into A2A multi-agent systems./ap2-agent-authorizationImplement the AP2 Agent Authorization Framework — open vs closed mandates, the two-phase delegation/authorization process, the cryptographic authorization chain, Key Binding JWTs, and human-present vs human-not-present signing. Use when designing how a user authorizes an agent to act, before touching any specific mandate type./ap2-Other plugins' skills for the same job