Skip to content

Add KERNEL card path to the browser-agent payments walkthrough - #735

Open
hiroTamada wants to merge 1 commit into
mainfrom
hypeship/kernel-card-agent-walkthrough
Open

hiroTamada wants to merge 1 commit into
mainfrom
hypeship/kernel-card-agent-walkthrough

Conversation

@hiroTamada

@hiroTamada hiroTamada commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

The "enable payments in a browser agent" walkthrough only covered Link and AgentCard, and the wallets overview pointed KERNEL card users there anyway. A KERNEL card user had no end-to-end path from a verified purchase through fill, submission, and reporting the outcome. This adds that path.

  • browsers/enable-payments-in-browser-agent:
    • New KERNEL card tab in step 4 (first, matching the wallets overview order):
      • create the purchase with merchant_url set to the top-level checkout page, since fill is locked to that url's exact origin
      • authorize with no browser or page parameters, presenting any returned spend_approval action through the controller (Visa approval, or the fresh security code for cards without network tokens)
      • wait for ready
      • fill number, expiration / exp_month + exp_year, and cvc. Notes: 403 destination_denied off-origin, no stored billing fields (billing_* returns field_unavailable), fill only visible fields
      • submit promptly, before the one-time code expires
      • report the merchant outcome once with confirm_transaction when advertised
      • TypeScript, Python, and CLI examples
    • "Before you start" covers KERNEL card's checkout requirement, and wallet setup links to the KERNEL card guide.
    • New KERNEL card prompt under "Try with a coding agent", parallel to the Link and AgentCard prompts.
  • integrations/wallets/overview: "Next step" now includes KERNEL card in the walkthrough's scope.
  • browsers/payments: "How payments work" step 4 describes KERNEL card authorization alongside Link and AgentCard.
  • integrations/wallets/kernel: links the walkthrough from its reference list.

This documents the default single-card wallet flow. It doesn't depend on the payment-methods docs, and choosing a card with payment_method_id can be linked in once that page lands.

Testing

  • Snippet typecheck against the published SDKs (v0.136.0):
    • TypeScript: every TS block in the new tab through tsc --strict --noEmit against @onkernel/sdk. 0 errors.
    • Python: every Python block through pyright against kernel. 0 errors.
    • The snippets were typechecked, not executed against the live API.
  • mint broken-links: no broken links.
  • mint broken-links --check-anchors: no broken anchors in the changed files. The remaining reports are pre-existing on other pages.
  • mint validate: build and validation passed.
  • git diff --check: clean.
  • Not rendered locally (mint dev couldn't start in this environment). Check the Mintlify preview for tab rendering.

Note

Low Risk
Documentation-only changes to Mintlify MDX; no application code, auth, or payment processing logic is modified.

Overview
The browser-agent payments walkthrough previously covered only Link and AgentCard; this PR adds a KERNEL card end-to-end path and threads it through related docs.

In enable-payments-in-browser-agent, prerequisites now call out live-only use, merchant_url origin locking for fill, and verified card field selectors. Wallet setup links to the KERNEL card connect guide. Step 4 gains a new KERNEL card tab (first among providers) covering pre-checkout authorize (no browser/page params), optional spend_approval, waiting for ready, fill with origin and billing constraints, single submit before the one-time code expires, and optional confirm_transaction—with TypeScript, Python, and CLI samples. A matching KERNEL card coding-agent prompt was added under “Try with a coding agent.”

payments, integrations/wallets/overview, and integrations/wallets/kernel were updated so the overview lifecycle and “next step” include KERNEL card alongside Link and AgentCard, and the KERNEL card reference page links back to the walkthrough.

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

@mintlify

mintlify Bot commented Oct 29, 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 29, 2026, 9:20 PM

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

This branch was successfully deployed

1 active deployment
staging — 9eb66185 Deployed Oct 29, 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