You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add vaults payment-tokens create with browser/page checkout context and server-owned merchant binding
remove mutable card updates and the explicit authorize invocation flow
make items invoke ... fill accept guarded card bindings or selector-free payment-token fills
surface connected-wallet descriptions and value-free fill instructions in human and safe JSON output
expose card fallback only for the definitive lpt_not_supported response
Dependency
Depends on kernel/kernel#3950 being deployed. Raw request/response overrides keep this branch compatible with the currently released SDK while #3950's typed SDKs proceed through release.
Validation
make test
verified against kernel/kernel#3950's generated Go SDK preview
What failed:make test never got past go vet — the replace directive pointing github.com/kernel/kernel-go-sdk at github.com/kernel/kernel-go-sdk-staging is unresolvable from CI, so every package importing the SDK failed to load.
The fix: drops the staging replace and builds against the released kernel-go-sdk v0.101.0, which is the switch the PR description already flags as required before merge. Three staging-only symbols were reworked using the raw-JSON techniques these files already rely on:
kernel.FillVaultItemOperationRequestParam → param.Override[kernel.VaultItemPerformOperationParams] on the request body, mirroring how CreatePaymentToken builds its upsert params
the fill result is read from result.RawJSON(), so printVaultOperationResult still sees the real response payload
item.Description → a small vaultItemDescription helper reading description from the raw response, since the released SDK does not model that field
Behavior is unchanged: make test passes and all existing vault tests, including the fill request-payload and JSON output assertions, pass untouched.
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
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.
Summary
vaults payment-tokens createwith browser/page checkout context and server-owned merchant bindingitems invoke ... fillaccept guarded card bindings or selector-free payment-token fillslpt_not_supportedresponseDependency
Depends on kernel/kernel#3950 being deployed. Raw request/response overrides keep this branch compatible with the currently released SDK while #3950's typed SDKs proceed through release.
Validation
make test