Skip to content

Document AgentCard checkout origin matching - #652

Open
hiroTamada wants to merge 2 commits into
mainfrom
hypeship/agentcard-checkout-origin
Open

hiroTamada wants to merge 2 commits into
mainfrom
hypeship/agentcard-checkout-origin

Conversation

@hiroTamada

@hiroTamada hiroTamada commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Document optional AgentCard checkout_origin matching for non-prepared checkout authorizations, including canonical origin requirements and prepared checkout behavior.
  • Add TypeScript, Python, and CLI examples, and explain the caller-supplied origin trust boundary and autopilot approval limitations.
  • Add a changelog entry.

Validation

  • git diff --check
  • Mintlify preview started; AgentCard guide and changelog both returned HTTP 200 with the updated content rendered.

Testing

  • No separate docs test or build command is configured; the Mintlify preview is the documented validation.

Note

Low Risk
Documentation-only changes with no runtime or API behavior modified in this PR.

Overview
Documents the optional checkout_origin field on AgentCard vault card specs and how it affects non-prepared checkout authorizations.

The AgentCard guide now shows checkout_origin in create/update examples (TypeScript, Python, CLI), adds canonical origin rules (HTTPS shop origin or http://localhost), and clarifies that Kernel forwards the caller-supplied value to AgentCard for autopilot rule matching—not as payment approval—and that prepared checkout still uses preparation merchant_origin. It also notes full-spec updates must re-include the field, autopilot matches can still fall back to user approval, and Kernel does not verify the origin against the browser page (apps must set it from trusted checkout context).

The changelog gets a September 30 entry for the product capability and these doc updates.

Reviewed by Cursor Bugbot for commit 99d998e. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
Kernel 🟢 Ready View Preview Oct 1, 2026, 2:23 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Comment thread integrations/wallets/agentcard.mdx Outdated
@hiroTamada
hiroTamada marked this pull request as ready for review September 30, 2026 19:35

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 99d998e. Configure here.

`merchant_origin` from its preparation instead of this field. Card updates
replace the full `spec`, so include `checkout_origin` again when you want to
keep using it. An autopilot match doesn't guarantee processor acceptance or
payment success.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packed checkout origin caveats paragraph

Low Severity

The checkout_origin paragraph now combines origin format, non-prepared versus prepared behavior, omit semantics, full-spec replace rules, and separate autopilot-approval caveats in one run of prose. Those are distinct constraints that are hard to scan together.

Fix in Cursor Fix in Web

Triggered by learned rule: Use bullet lists when covering multiple distinct points in guides

Reviewed by Cursor Bugbot for commit 99d998e. Configure here.

This branch was successfully deployed

1 active deployment
staging — 99d998ea Deployed Oct 1, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant