Skip to content

Merge "pay with multiple cards" into "pay with card" - #780

Open
hiroTamada wants to merge 2 commits into
mainfrom
hypeship/merge-multiple-cards-page
Open

hiroTamada wants to merge 2 commits into
mainfrom
hypeship/merge-multiple-cards-page

Conversation

@hiroTamada

@hiroTamada hiroTamada commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Every KERNEL wallet holds multiple cards now, so a separate Pay with multiple cards page made multi-card support look like an optional add-on. This PR removes that page and moves its content into Pay with card.

Pay with card now has:

  • Connect a card: available_operations gating, how to handle the enrollment link, and expiry/retry behavior
  • Manage cards: per-wallet limits, List payment methods (with the status table and legacy default card), and Remove a card (with the error table)
  • Make a purchase → Choose a card for a purchase (binding, the default-card fallback, payment_request) and Check the card funding a purchase (funding_status)
  • New Permissions and Events sections

I left out content that repeated what the page already had: the empty-wallet example and the second purchase example.

Other changes

  • Removed the page from the nav, and redirected /integrations/wallets/pay-with-multiple-cards (plus .md) and the older kernel-payment-methods redirect to pay-with-card
  • Pointed links in overview, payments, enable-payments, embedded card capture, and push cards to the new anchors

mint broken-links passes.


Note

Low Risk
Documentation-only reorganization with redirects; no product or API behavior changes.

Overview
Consolidates KERNEL wallet multi-card docs into a single Pay with card guide, since every KERNEL wallet can hold multiple cards. The standalone pay-with-multiple-cards.mdx page is removed.

Pay with card now includes the former multi-card content: Manage cards (limits, list/remove payment methods), purchase sections for choosing a card and funding_status, plus Permissions and Events. Redundant empty-wallet and duplicate purchase examples were dropped.

Navigation and URLs: the page is removed from docs.json nav; pay-with-multiple-cards and kernel-payment-methods redirect to pay-with-card. Cross-links in payments, overview, enable-payments-in-browser-agent, embedded-card-capture, and push-cards point at pay-with-card anchors instead.

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

@mintlify

mintlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
Kernel 🟢 Ready View Preview Nov 23, 2026, 7:40 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.

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 51ce922. Configure here.

</CodeGroup>

a wallet can hold several cards. to add more, list them, or remove one, see [pay with multiple cards](/integrations/wallets/pay-with-multiple-cards).
a connected wallet advertises `add_payment_method` and, once it holds a card, `remove_payment_method` in `available_operations`. invoke them only when they're advertised.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing stub for moved heading

Low Severity

#add-a-card from the removed pay-with-multiple-cards page now lives under Connect a card, but pay-with-card.mdx has no hidden stub for that id. The page redirect keeps the old fragment, so inbound links do not land on the enrollment section. The same applies to #create-an-empty-wallet.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 51ce922. Configure here.

@priscilla-kernel priscilla-kernel 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.

looks good, thanks

This branch was successfully deployed

1 active deployment
staging — 51ce922b Deployed Nov 23, 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.

2 participants