{"openapi":"3.1.0","info":{"title":"ChangeMandate API","version":"1.0.0","description":"Authorization-diff primitive for post-purchase changes in agentic commerce."},"servers":[{"url":"https://changemandate.xguardgate.com"}],"paths":{"/v1/authorize-order-change":{"post":{"operationId":"authorizeOrderChange","summary":"Evaluate whether a post-purchase modification is covered by the original authorization","parameters":[{"in":"header","name":"X-Request-Id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Change-Nonce","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["original","proposed"]}}}},"responses":{"200":{"description":"Deterministic authorization-diff decision"},"409":{"description":"Replay conflict"}}}},"/healthz":{"get":{"responses":{"200":{"description":"Healthy"}}}},"/pricing":{"get":{"responses":{"200":{"description":"Per-operation prices"}}}}}}