Ucp payment authentication

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Ucp payment authentication is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Implement the UCP Payment Authentication extension (`dev.ucp.common.payment.authentication`) — browser-surface actions for device data collection and 3DS challenge during a payment attempt, including the ready/done handshake and origin validation. Use when adding 3-D Secure or strong customer authen

How to use this skill

Skill file

UCP Payment Authentication Extension

Before writing code

Fetch live spec: Web-search site:ucp.dev specification payment extensions authentication and fetch the extension page plus the two action pages (device-data-collection, three-ds-challenge) for the exact action config fields and handshake message names. This extension touches payment security — do not implement it from memory.

Conceptual Architecture

What it does, and what it does not

The extension standardizes the browser-surface interactions a platform may need to process while a payment attempt is underway. It extends the checkout capability with namespace dev.ucp.common.payment.authentication.

It deliberately does not replace EMV 3DS protocol details. UCP carries where the surface lives and when to show it; the 3DS protocol itself remains between the issuer, the network, and the payment handler.

Two actions

| Action | Namespace | Surface |

|--------|-----------|---------|

| Device Data Collection | dev.ucp.common.payment.device_data_collection | Invisible, browser-capable — collects device fingerprinting data |

| 3DS Challenge | dev.ucp.common.payment.three_ds_challenge | Buyer-facing — presents the authentication challenge |

Device data collection is invisible by design. Rendering it visibly, or skipping it because "nothing shows", breaks the authentication that follows.

Action occurrence fields

Each emitted action carries:

Sequencing

The business emits device data collection first (if needed), waits for completion, then emits the 3DS challenge in a subsequent checkout response. These are two round-trips, not one payload. A platform that tries to render both at once has misread the flow.

The ready handshake

Both surfaces follow the same three-step handshake:

  1. Surface sends action.ready
  2. Platform confirms
  3. Surface signals action.done or action.error

The confirmation step exists so the platform can guarantee the surface is mounted and isolated before the authentication flow starts.

Platform responsibilities

Implementation Guidance

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.