Repository navigation
Document AgentCard amount authority, charge fields, and checkout events - #759
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
yummybomb
approved these changes
Nov 12, 2026
yummybomb
left a comment
Contributor
There was a problem hiding this comment.
LGTM with one fix:
- "other processors only record
checkout_response_replayed" isn't right. The held request's response is recorded for every processor: prod hascredential_tokenizedalongsidecheckout_response_replayedon Shopify and Square, andpayment_unknownon Razorpay. Only the follow-up payment correlation is Stripe-only. Maybe: "for other processors, events cover only the held request's response; the follow-up payment isn't observed."
Optional nits:
display_only: every stored value came from AgentCard's create response (all have a provider approval URL, Sep 4–8), not Kernel recovery (same note as kernel/kernel#5457).- The table could say it lists processor events only;
checkout_authorization_*andcheckout_preparation_*events also appear on the item.
Contributor
Author
|
Thanks, fixed in 5614a6e:
kernel/kernel#5457 is already in the merge queue, so its spec description still has the old |
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.
Summary
The AgentCard page told readers to expect
amount_authority: 'display_only'andcharged_kindfrom every checkout. In practice:amount_authorityasprocessor,agent,page, ornone.display_onlyappears only on authorizations Kernel recovers itself.agentand have noamount_verifiedorcharged_*fields, even when the payment succeeds.payment_succeeded, withprovider_status/provider_payment_status. Those events weren't documented.Changes:
amount_authorityvalue and states when thecharged_*fields are absent.datafields they can carry.payment_succeededas supporting evidence.Matches the spec change in kernel/kernel#5457.
Not previewed with
mintlify dev.Note
Low Risk
Documentation-only changes to the AgentCard MDX page with no runtime or API behavior impact.
Overview
Updates the AgentCard integration docs so authorization and reconciliation guidance match real checkout behavior instead of assuming every flow exposes
display_onlyand charge fields.The authorization field table now documents all
amount_authorityvalues (processor,agent,page,none, legacydisplay_only), whenamount_verifiedandcharged_*are absent, and whatcharged_kindmeans for token-only flows.New prose explains that tokenization holds (e.g. Stripe card tokens) often show
amount_authority: 'agent'with no charge proof on the item—the merchant charges later, so integrators should lean on item events and merchant orders.A Checkout item events section lists processor-facing events (
payment_succeeded, declines,credential_tokenized,payment_unknown, etc.), notes Stripe-specific follow-up payment observation, and documents commondatafields. Reconciliation text now calls outpayment_succeededas supporting evidence alongside authorization and replay fields.Reviewed by Cursor Bugbot for commit 5614a6e. Bugbot is set up for automated code reviews on this repo. Configure here.