acp-checkout-rest

acp-checkout-rest is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 49 tokens per session (1,022 once invoked), scanned A, original, MIT.

A guide for implementing the ACP checkout API, the web interface that creates and manages purchase sessions. It covers creating, changing, viewing, completing, and cancelling a checkout.

In plain words
What is it for?
Use it to build merchant checkout endpoints and handle checkout session transitions such as not ready for payment, ready for payment, completed, in progress, and cancelled.
Why use it?
It provides the operations and session states needed to keep an agent-assisted checkout moving from an unfinished purchase to completion or cancellation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the acp-agentic-commerce plugin — 15 skills, 1 agent shipped together

Good fit Use it to build merchant checkout endpoints and handle checkout session transitions such as not ready for payment, ready for payment, completed, in progress, and cancelled.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/acp-checkout-rest
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OrcaQubits/agentic-commerce-skills-plugins --skill acp-checkout-rest
Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install acp-agentic-commerce, the plugin that ships this one along with the rest of its 15 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for acp-checkout-rest

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/acp-checkout-rest/github.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/acp-checkout-rest)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/acp-checkout-rest"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/acp-checkout-rest/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for acp-checkout-rest

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/acp-checkout-rest"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/acp-checkout-rest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01022
Opus 5 $0.00024 $0.00511
Sonnet 5 $0.00010 $0.00204
Haiku 4.5 $0.00005 $0.00102

Measured 10d ago against content hash 539ebfef0e8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

acp-checkout-rest scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

acp-agentic-commerce/skills/acp-checkout-rest/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ACP Checkout — REST Binding

Before writing code

Fetch live docs:

  1. Fetch https://developers.openai.com/commerce/specs/checkout/ for the canonical checkout specification
  2. Web-search site:github.com agentic-commerce-protocol spec openapi checkout for the latest OpenAPI YAML
  3. Fetch https://developers.openai.com/commerce/guides/key-concepts/ for data model details
  4. Web-search site:docs.stripe.com agentic-commerce protocol specification for Stripe's merchant-side reference

Conceptual Architecture

Five Checkout Operations

Operation Method Path Success
Create POST /checkout_sessions 201
Update POST /checkout_sessions/{id} 200
Retrieve GET /checkout_sessions/{id} 200
Complete POST /checkout_sessions/{id}/complete 200
Cancel POST /checkout_sessions/{id}/cancel 200

Session State Machine

not_ready_for_payment → ready_for_payment → completed
         |                      |                |
         +──────────────────────+→ canceled ←────+
                                |
                           in_progress
                                |
                      authentication_required

The five core status enum values are: not_ready_for_payment, ready_for_payment, completed, canceled, in_progress. Note that authentication_required is a transitional/conditional state (returned during 3DS flows), not one of the five core status values.

The merchant controls status transitions. The agent reads the status and reacts.

Required Headers (Every Request)

  • Authorization: Bearer <token> — REQUIRED
  • API-Version: YYYY-MM-DD — REQUIRED
  • Idempotency-Key: <UUID> — REQUIRED on all POST
  • Content-Type: application/json

Core Data Objects

  • CheckoutSession — The central primitive: ID, status, currency, line items, fulfillment options, totals, messages, links, payment provider
  • Itemid + quantity (sent by agent in create/update)
  • LineItem — Merchant's expanded view: base amount, discount, subtotal, tax, total, name, description, images
  • Total — Typed breakdown: items_base_amount, items_discount, subtotal, discount, fulfillment, tax, fee, total
  • FulfillmentOption — Shipping/digital/pickup/local delivery with pricing and windows
  • Address — Buyer's fulfillment address
  • Buyer — First name, last name, email, optional phone

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 107 lines · 49 tokens per session scan A 539ebfef0e8d

Subscribe to this mod's changes

acp-checkout-rest is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 1,022 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

archestra-dev-interactions-migrations

Use BEFORE writing or running any Drizzle migration that touches the interactions table (or any other very large, write-hot table). The interactions table is the platform's biggest, append-heavy table — every LLM proxy call writes a row — so a careless migration can take a write-blocking lock and stall the proxy.…

archestra-ai/archestra · 118 tokens

archestra-dev-llm-providers

Use when adding an LLM provider, changing proxy adapters or provider routes, fixing streaming/tool-call translation bugs, editing model fetchers or model handling, or touching provider credentials/enums and model constants.

archestra-ai/archestra · 49 tokens

archestra-dev-backend

Use when adding or changing Archestra backend routes, models, services, API request/response schemas, endpoint permissions, or OpenAPI/codegen for the generated API client.

archestra-ai/archestra · 40 tokens

debridge

Complete deBridge Protocol SDK for building cross-chain bridges, message passing, and token transfers on Solana. Use when building cross-chain applications, bridging assets between Solana and EVM chains, or implementing trustless external calls.

internet-court/internet-court-skill · 48 tokens

mppx

TypeScript SDK for the Payment HTTP Authentication Scheme. Handles 402 Payment Required flows with Tempo, Stripe, and other payment methods. Use when integrating payments or mppx into a client or server application.

internet-court/internet-court-skill · 45 tokens

near-intents

Cross-chain token swap integration using NEAR Intents 1Click API. Use when building swap widgets, bridge interfaces, or multi-chain transfers across EVM, Solana, NEAR, TON, Stellar, and Tron.

internet-court/internet-court-skill · 49 tokens