Acp delegate authentication

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

Acp delegate authentication is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Implement the ACP Delegate Authentication API — delegating 3D Secure (3DS2) consumer authentication to merchant-specified providers, covering session creation, fingerprint and challenge actions, the authenticate call, and status handling. Use when adding strong customer authentication or 3DS to an A

How to use this skill

Skill file

ACP Delegate Authentication (3DS)

Before writing code

Fetch live spec — this API arrived in the 2026-04-17 release:

  1. Fetch https://github.com/agentic-commerce-protocol/agentic-commerce-protocol/releases for the current spec version.
  2. Fetch spec/<version>/openapi/openapi.delegate_authentication.yaml — authoritative for paths, request fields, statuses, and headers.
  3. Fetch spec/<version>/json-schema/schema.delegate_authentication.json for the schemas.
  4. Read acp-delegated-payment alongside this — authentication and payment delegation are separate but adjacent flows.

This API handles card data and authentication outcomes. Implement it from the live spec, never from memory or an example found elsewhere.

Conceptual Architecture

What it delegates

Consumer authentication — specifically 3D Secure 2 browser-based flows — to a merchant-specified authentication provider. The agent does not perform 3DS itself; it drives a provider that does, and carries the result back into checkout.

Note the server in the spec is the authentication provider, not the seller. This is a distinct party from the merchant endpoints in acp-checkout-rest.

Endpoints

| Method | Path | Operation |

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

| POST | /delegate_authentication | createAuthenticationSession — 201 |

| POST | /delegate_authentication/{authentication_session_id}/authenticate | authenticateSession |

| GET | /delegate_authentication/{authentication_session_id} | getAuthenticationSession |

Session statuses

| Status | Meaning |

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

| action_required | The provider needs a browser-side action performed — see below |

| pending | In progress; no action needed from the caller yet |

| not_supported | The card is not enrolled in 3DS |

| authenticated | Authentication succeeded |

| not_authenticated | Authentication failed |

not_supported is not a failure. It means the card is not enrolled and the flow should continue without 3DS — treating it as a decline will reject good transactions.

Two action types

The sequence is fingerprint first (when required), then challenge if the issuer asks for one. A session may return action_required more than once.

Request contents

Creating a session carries, broadly:

Headers

Required: Authorization (Bearer API key), Content-Type, API-Version.

Optional but meaningful: Idempotency-Key, Request-Id, Accept-Language, User-Agent, and — notably — Signature and Timestamp for request signing. Check the live spec for the signing scheme and whether your provider requires it; see acp-dev-patterns for ACP's signature conventions.

Idempotency-Key and Request-Id are echoed back as response headers on creation.

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.