Conversation
…emoving minimum on shared amount Restore minimum: 0 on amount.json and introduce signed_amount.json for places that genuinely need negative values. Adjustment totals now inline their schema with signed_amount refs, keeping total.json and all other amount.json consumers non-negative. Addresses review feedback from @igrigorik on #254.
…unt override Align with the composition pattern in PR #261 (totals contract): allOf total.json base + signed_amount.json override, rather than inlining the schema.
Add synchronous GET endpoint for order retrieval, complementing the
existing webhook push mechanism. Both return the same current-state
snapshot shape - webhooks deliver proactively to avoid polling, GET
provides on-demand access for reconciliation and conversational use.
Authorization model:
Who - MUST authenticate (non-negotiable, any UCP mechanism)
What - MAY scope access (platform credentials -> own orders,
buyer authorization -> buyer's orders, or custom policies)
MAY omit or redact fields based on context or business policy
When - MAY enforce data availability (retention, erasure)
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
Add synchronous GET endpoint for order retrieval, complementing the
existing webhook push mechanism. Both return the same current-state
snapshot shape - webhooks deliver proactively to avoid polling, GET
provides on-demand access for reconciliation and conversational use.
Authorization model:
Type of change
Checklist