{"openapi":"3.1.0","info":{"title":"GI Evidence API","version":"0.2.0","description":"Exact decimal record reconciliation. Internal x402 settlement test succeeded; customer demand unproven. Chain evidence routes paused."},"servers":[{"url":"https://gi-evidence-api.sw-video.chatgpt.site"}],"paths":{"/api/v1/reconcile":{"post":{"operationId":"reconcileRecords","summary":"Compare expected and actual records by ID","description":"Sums duplicate IDs, compares exact six-decimal amounts, reports missing/unexpected/mismatched rows and totals. Supplied records only; no authenticity or settlement verification. Maximum body 128 KiB.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected":{"type":"array","maxItems":1000,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":120},"amount":{"type":"string","pattern":"^[0-9]{1,20}([.][0-9]{1,6})?$"}},"required":["id","amount"]}},"actual":{"type":"array","maxItems":1000,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":120},"amount":{"type":"string","pattern":"^[0-9]{1,20}([.][0-9]{1,6})?$"}},"required":["id","amount"]}}},"required":["expected","actual"]},"example":{"expected":[{"id":"invoice-1","amount":"1.00"}],"actual":[{"id":"invoice-1","amount":"0.90"}]}}}},"security":[{"x402":[]}],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}},"responses":{"200":{"description":"Reconciliation result; payment settled","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid input; no settlement"},"402":{"description":"x402 payment required: 0.01 native USDC on Base"},"413":{"description":"Body too large"},"503":{"description":"Payment facilitator unavailable"}}}}},"components":{"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 v2 exact USDC on eip155:8453. Obtain terms from HTTP 402."}}}}