Repository navigation
Document KERNEL wallet payment methods and payment requests - #728
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
hiroTamada
marked this pull request as ready for review
October 29, 2026 21:13
yummybomb
reviewed
Oct 30, 2026
yummybomb
left a comment
Contributor
There was a problem hiding this comment.
lgtm. v0.133.0 is published for all three SDKs now—remove the release blocker and rerun the snippet checks against the published packages.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents KERNEL wallet payment methods and
payment_requestitems, which just shipped in the API. Both are enabled per organization and are off by default. The API reference is generated from the live spec, so it isn't edited here.New page
integrations/wallets/kernel-payment-methods(added to nav after KERNEL Card):connectedwalletsadd_payment_method: the single-usecard_enrollmentlink, sharing it privately with the cardholder,capture_tokenfor embedded capture, and the 30-minute expiry409expand=payment_methodsand method statuses (pending_enrollment,active,removal_pending,recovery_required)payment_method_id, andcardvspayment_requestitemsstate.payment_method_idandfunding_statusremove_payment_methodwith its409 purchase_unresolved,409 provider_revocation_pending, and429 provider_rate_limitedvaults:writerequirement, and the wallet and purchase eventsThe page states that this needs enablement ("contact support"). It also states that organizations without it keep the single-card wallet, which starts in
pending_authorizationwith default methodcard.integrations/wallets/kernel: a note pointing to payment methods. The purchase steps now say that omittingpayment_method_idselects the default cardcard, and thatstate.payment_method_id/funding_statusare reported. The single-card flow is unchanged.integrations/wallets/embedded-card-capture: keeps the walletaction.capture_tokenpath and adds the payment-methods path, where the token comes fromadd_payment_method'spayment_method.action.capture_token. Completion and token-lifetime guidance now covers both paths.info/api-key-permissions:add_payment_method/remove_payment_methodneedvaults:writein addition tovaults:use. Without it a key gets403 insufficient_scopeand the wallet doesn't advertise either operation.browsers/payments,integrations/wallets/overview,vaults/overview: mentionpayment_requestalongsidecardfor Link and KERNEL purchases. AgentCard stayscard. Also link the new page.New examples are TypeScript and Python only. The CLI doesn't support these operations yet (it's on SDK v0.131.0), so there are no CLI tabs. No CLI reference page documents vault commands.
Testing
@onkernel/sdkandkernelv0.139.0; v0.133.0, which first ships these operations, is published for all three SDKs):tsc --strict --noEmit, and theKernelCardCaptureJSX against@onkernel/vault-react0.4.0. The only error is the pre-existingwalletredeclaration between two separate sections of the embedded-capture page.pyrightagainstkernel. 0 errors.mint broken-links: no broken links.mint broken-links --check-anchors: 7 broken anchors, all pre-existing onmainand none in the files changed here.mint validate: build passed.git diff --check: clean.mint dev: all seven changed pages return 200 and render the new content. Preview the new page locally athttp://localhost:3000/integrations/wallets/kernel-payment-methods(README:mintlify dev). Once deployed it's athttps://kernel.sh/docs/integrations/wallets/kernel-payment-methods.Additional Notes
add_payment_method,remove_payment_method, andpayment_request. The CLI is still onkernel-go-sdkv0.131.0.Note
Low Risk
Documentation-only changes with no runtime or auth logic modified; main risk is doc drift until SDK v0.133.0 is published and examples match released types.
Overview
Adds a KERNEL Payment Methods guide and wires it through the Payments nav and related wallet docs so integrators can use multi-card wallets,
payment_requestitems, and the right scoped-key permissions.The new page covers empty
connectedwallets,add_payment_method/remove_payment_method,expand=payment_methods, choosing a card viapayment_method_id,cardvspayment_request, limits, error codes,funding_status, events, and the org enablement requirement. Embedded card capture now documents two paths forcapture_token(single-card wallet vs per-method enrollment). API key permissions notes that adding or removing cards needsvaults:write. Overview pages (payments, wallets, vaults) mentionpayment_requestfor Link/KERNEL and link to the new guide; KERNEL card stays the default single-card flow with pointers outward.Reviewed by Cursor Bugbot for commit 4c5631a. Bugbot is set up for automated code reviews on this repo. Configure here.