{"openapi":"3.1.0","info":{"title":"SML Verdict Protocol","version":"1.15.0","description":"Decision receipts for agents that manage real capital. POST /decide runs a five-juror Jev jury over a frozen decision capsule (payment alone is enough; an optional X-JEV-API-KEY header lets you bring your own Jev key) and returns an HMAC-signed, persisted receipt; POST /seal seals a capsule without a jury. POST /evidence seals an evidence pack (authorization, payment and delivery as separate sections) at $0.01 USDC per call, and POST /dispute opens a signed dispute receipt at $0.05 USDC per call (both amounts env-configurable). POST /anchor ($0.05 USDC) verifies a Base mainnet settlement that happened on another facilitator from chain evidence and seals an anchored receipt record — one anchor per settlement, unverifiable claims rejected before payment and never charged, read back free at GET /anchor/{anchorId}; POST /anchor/certified ($0.05 USDC) adds a public verification page that re-reads the chain live at view time. The anchored record is a ScriptMasterLabs-signed record, not the SML Settlement Receipt Token. Decision-only: no custody, no order submission, no arbitration, no refunds executed. Jury approval on /decide takes more than a bare majority: it requires a PROCEED majority of at least 3 of 5 jurors, disagreement at most 0.4, and a conviction quorum — at least 3 PROCEED votes each carrying probability >= 0.7 for PROCEED. A unanimous PROCEED majority of weak leans therefore returns approved=false. Every /decide receipt returns the full rule, its thresholds, and the values measured on that call in receipt.jury.approval, alongside the other gates (risk pass, constitution allowed, capsule execution ELIGIBLE, thesis not NEUTRAL).","x-guidance":"Pay per call in USDC on Base or Arc (x402 v2, PAYMENT-SIGNATURE header). POST /decide ($0.005) needs no API key — payment alone is enough; if you send your own Jev API key in the X-JEV-API-KEY header it is used for your call instead of the server's key. POST /seal ($0.005) needs no key. POST /evidence ($0.01) and POST /dispute ($0.05) need no Jev key; their amounts are set by X402_EVIDENCE_AMOUNT_ATOMIC / X402_DISPUTE_AMOUNT_ATOMIC. Body: {capsule:{instrument, regime, thesis, support, contradiction, execution}}. To have an order evaluated, add order:{notional, symbol, hasStop} and portfolio:{dailyPnl, totalEquity, exposureBySymbol, asOf} — order risk runs against the portfolio snapshot you supply and the snapshot is hash-sealed into the signed receipt. Jury approval requires a PROCEED majority (>= 3 of 5 jurors), disagreement <= 0.4, and at least 3 PROCEED votes with probability >= 0.7 (conviction quorum); the receipt's jury.approval object returns these thresholds and the measured values on every call. Settlement fires only after the receipt is stored; replaying an identical signed request returns the same receipt and the same settlement transaction.","contact":{"email":"timothy.walton45@gmail.com","url":"https://scriptmasterlabs.com/verdict-protocol"}},"servers":[{"url":"https://verdict.scriptmasterlabs.com"}],"components":{"securitySchemes":{"SmlApiKey":{"type":"apiKey","in":"header","name":"X-SML-API-KEY","description":"Operator-issued platform key; alternative to x402 pay-per-call."}}},"paths":{"/decide":{"post":{"operationId":"verdictDecide","summary":"Verdict — five-juror Jev decision receipt ($0.005 USDC, payment-only; optional BYOK Jev)","tags":["Verdict Protocol"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"X-JEV-API-KEY","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: your own Jev (Typesafe) API key. When sent, it is used for this call only; when not sent, the server's key serves the call — payment alone is enough."},{"name":"X-SML-API-KEY","in":"header","required":false,"schema":{"type":"string"},"description":"Operator-issued platform API key — alternative to x402 pay-per-call; decisions meter against the journal and are invoiced monthly via Stripe at the same per-call price."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional. Replaying the same key with the same body returns the original receipt without a second charge."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["REQUEST_DECISION"],"default":"REQUEST_DECISION"},"capsule":{"type":"object","properties":{"instrument":{"type":"string","minLength":1,"maxLength":100},"regime":{"type":"string","minLength":1,"maxLength":200},"thesis":{"type":"string","enum":["LONG_CANDIDATE","SHORT_CANDIDATE","NEUTRAL"]},"support":{"type":"number"},"contradiction":{"type":"number"},"execution":{"type":"string","enum":["ELIGIBLE","INELIGIBLE"]},"metadata":{"type":"object"}},"required":["instrument","regime","thesis","support","contradiction","execution"]},"order":{"type":"object","properties":{"notional":{"type":"number","exclusiveMinimum":0},"symbol":{"type":"string","minLength":1},"hasStop":{"type":"boolean"}},"required":["notional","symbol","hasStop"]},"portfolio":{"type":"object","properties":{"dailyPnl":{"type":"number"},"totalEquity":{"type":"number","exclusiveMinimum":0},"exposureBySymbol":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"asOf":{"type":"integer"}},"required":["dailyPnl","totalEquity","exposureBySymbol","asOf"],"description":"Optional portfolio snapshot the order is evaluated against. Order risk is evaluated against the portfolio snapshot you supply: include dailyPnl (today's profit/loss in USD), totalEquity (account equity in USD, must be > 0), exposureBySymbol (current notional exposure per symbol in USD, all values >= 0), and asOf (snapshot time, epoch milliseconds — your declaration of when the snapshot was taken; the snapshot is treated as declared as of the moment the request is evaluated). The exact snapshot you supply is hash-sealed into the signed receipt (portfolioHash), so the receipt discloses precisely what was evaluated. If the operator's own risk context is configured it takes precedence over a supplied snapshot. With no snapshot from either source, the receipt records that order risk was not evaluated and approved stays false."}},"required":["capsule"]}}}},"responses":{"200":{"description":"Sealed verdict receipt","content":{"application/json":{"schema":{"type":"object","properties":{"approved":{"type":"boolean"},"tier":{"type":"string","enum":["verdict","seal"]},"receipt":{"type":"object","properties":{"receiptId":{"type":"string"},"version":{"type":"string","enum":["v1"]},"tier":{"type":"string","enum":["verdict","seal"]},"capsule":{"type":"object","properties":{"version":{"type":"string"},"hash":{"type":"string"},"instrument":{"type":"string"},"regime":{"type":"string"},"thesis":{"type":"string","enum":["LONG_CANDIDATE","SHORT_CANDIDATE","NEUTRAL"]},"support":{"type":"number"},"contradiction":{"type":"number"},"execution":{"type":"string","enum":["ELIGIBLE","INELIGIBLE"]},"timestamp":{"type":"number"}},"required":["hash","instrument","thesis","execution"]},"capsuleHash":{"type":"string"},"receiptHash":{"type":"string"},"policyVersion":{"type":"string"},"signingKeyId":{"type":"string"},"jury":{"type":["object","null"],"properties":{"capsuleHash":{"type":"string"},"votes":{"type":"array","items":{"type":"object","properties":{"juror":{"type":"string","enum":["CAUSAL","HISTORIAN","SKEPTIC","MICROSTRUCTURE","TAIL_RISK"]},"decision":{"type":"string","enum":["PROCEED","WAIT","NO_TRADE"]},"probability":{"type":"number"},"confidence":{"type":"number"},"model":{"type":"string"}},"required":["juror","decision"]}},"majority":{"type":"string","enum":["PROCEED","WAIT","NO_TRADE"]},"disagreement":{"type":"number"},"approved":{"type":"boolean"},"approval":{"type":"object","description":"The full jury approval rule with the thresholds and the values measured on this call. Jury approval requires a PROCEED majority of at least 3 of 5 jurors, disagreement at most 0.4, and a conviction quorum: at least 3 PROCEED votes each carrying probability >= 0.7 for PROCEED. A unanimous PROCEED majority whose votes are mostly below 0.7 probability therefore returns approved=false, and this object shows exactly which term held approval back.","properties":{"rule":{"type":"string"},"proceedVotes":{"type":"number"},"proceedVotesRequired":{"type":"number"},"disagreement":{"type":"number"},"maxDisagreement":{"type":"number"},"convictionVotes":{"type":"number"},"convictionProbability":{"type":"number"},"convictionVotesRequired":{"type":"number"},"approved":{"type":"boolean"}},"required":["rule","proceedVotes","proceedVotesRequired","disagreement","maxDisagreement","convictionVotes","convictionProbability","convictionVotesRequired","approved"]}}},"risk":{"type":"object","properties":{"pass":{"type":"boolean"},"violations":{"type":"array","items":{"type":"string"}}},"required":["pass","violations"]},"constitution":{"type":"object","properties":{"allowed":{"type":"boolean"},"reason":{"type":"string"}},"required":["allowed"]},"timestamp":{"type":"number"},"signature":{"type":"string"}},"required":["receiptId","tier","capsuleHash","risk","constitution","timestamp"]}},"required":["approved","receipt"]}}}},"401":{"description":"Invalid API key"},"402":{"description":"Payment Required"},"403":{"description":"API key not entitled to this tier, or account billing-suspended"},"429":{"description":"Monthly quota exhausted or per-minute rate limit hit"}}}},"/seal":{"post":{"operationId":"verdictSeal","summary":"Seal — signed decision-capsule receipt, no jury ($0.005 USDC)","tags":["Verdict Protocol"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"X-SML-API-KEY","in":"header","required":false,"schema":{"type":"string"},"description":"Operator-issued platform API key — alternative to x402 pay-per-call; decisions meter against the journal and are invoiced monthly via Stripe at the same per-call price."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional. Replaying the same key with the same body returns the original receipt without a second charge."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["REQUEST_DECISION"],"default":"REQUEST_DECISION"},"capsule":{"type":"object","properties":{"instrument":{"type":"string","minLength":1,"maxLength":100},"regime":{"type":"string","minLength":1,"maxLength":200},"thesis":{"type":"string","enum":["LONG_CANDIDATE","SHORT_CANDIDATE","NEUTRAL"]},"support":{"type":"number"},"contradiction":{"type":"number"},"execution":{"type":"string","enum":["ELIGIBLE","INELIGIBLE"]},"metadata":{"type":"object"}},"required":["instrument","regime","thesis","support","contradiction","execution"]},"order":{"type":"object","properties":{"notional":{"type":"number","exclusiveMinimum":0},"symbol":{"type":"string","minLength":1},"hasStop":{"type":"boolean"}},"required":["notional","symbol","hasStop"]},"portfolio":{"type":"object","properties":{"dailyPnl":{"type":"number"},"totalEquity":{"type":"number","exclusiveMinimum":0},"exposureBySymbol":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"asOf":{"type":"integer"}},"required":["dailyPnl","totalEquity","exposureBySymbol","asOf"],"description":"Optional portfolio snapshot the order is evaluated against. Order risk is evaluated against the portfolio snapshot you supply: include dailyPnl (today's profit/loss in USD), totalEquity (account equity in USD, must be > 0), exposureBySymbol (current notional exposure per symbol in USD, all values >= 0), and asOf (snapshot time, epoch milliseconds — your declaration of when the snapshot was taken; the snapshot is treated as declared as of the moment the request is evaluated). The exact snapshot you supply is hash-sealed into the signed receipt (portfolioHash), so the receipt discloses precisely what was evaluated. If the operator's own risk context is configured it takes precedence over a supplied snapshot. With no snapshot from either source, the receipt records that order risk was not evaluated and approved stays false."}},"required":["capsule"]}}}},"responses":{"200":{"description":"Sealed receipt","content":{"application/json":{"schema":{"type":"object","properties":{"approved":{"type":"boolean"},"tier":{"type":"string","enum":["verdict","seal"]},"receipt":{"type":"object","properties":{"receiptId":{"type":"string"},"version":{"type":"string","enum":["v1"]},"tier":{"type":"string","enum":["verdict","seal"]},"capsule":{"type":"object","properties":{"version":{"type":"string"},"hash":{"type":"string"},"instrument":{"type":"string"},"regime":{"type":"string"},"thesis":{"type":"string","enum":["LONG_CANDIDATE","SHORT_CANDIDATE","NEUTRAL"]},"support":{"type":"number"},"contradiction":{"type":"number"},"execution":{"type":"string","enum":["ELIGIBLE","INELIGIBLE"]},"timestamp":{"type":"number"}},"required":["hash","instrument","thesis","execution"]},"capsuleHash":{"type":"string"},"receiptHash":{"type":"string"},"policyVersion":{"type":"string"},"signingKeyId":{"type":"string"},"jury":{"type":["object","null"],"properties":{"capsuleHash":{"type":"string"},"votes":{"type":"array","items":{"type":"object","properties":{"juror":{"type":"string","enum":["CAUSAL","HISTORIAN","SKEPTIC","MICROSTRUCTURE","TAIL_RISK"]},"decision":{"type":"string","enum":["PROCEED","WAIT","NO_TRADE"]},"probability":{"type":"number"},"confidence":{"type":"number"},"model":{"type":"string"}},"required":["juror","decision"]}},"majority":{"type":"string","enum":["PROCEED","WAIT","NO_TRADE"]},"disagreement":{"type":"number"},"approved":{"type":"boolean"},"approval":{"type":"object","description":"The full jury approval rule with the thresholds and the values measured on this call. Jury approval requires a PROCEED majority of at least 3 of 5 jurors, disagreement at most 0.4, and a conviction quorum: at least 3 PROCEED votes each carrying probability >= 0.7 for PROCEED. A unanimous PROCEED majority whose votes are mostly below 0.7 probability therefore returns approved=false, and this object shows exactly which term held approval back.","properties":{"rule":{"type":"string"},"proceedVotes":{"type":"number"},"proceedVotesRequired":{"type":"number"},"disagreement":{"type":"number"},"maxDisagreement":{"type":"number"},"convictionVotes":{"type":"number"},"convictionProbability":{"type":"number"},"convictionVotesRequired":{"type":"number"},"approved":{"type":"boolean"}},"required":["rule","proceedVotes","proceedVotesRequired","disagreement","maxDisagreement","convictionVotes","convictionProbability","convictionVotesRequired","approved"]}}},"risk":{"type":"object","properties":{"pass":{"type":"boolean"},"violations":{"type":"array","items":{"type":"string"}}},"required":["pass","violations"]},"constitution":{"type":"object","properties":{"allowed":{"type":"boolean"},"reason":{"type":"string"}},"required":["allowed"]},"timestamp":{"type":"number"},"signature":{"type":"string"}},"required":["receiptId","tier","capsuleHash","risk","constitution","timestamp"]}},"required":["approved","receipt"]}}}},"401":{"description":"Invalid API key"},"402":{"description":"Payment Required"},"403":{"description":"API key not entitled to this tier, or account billing-suspended"},"429":{"description":"Monthly quota exhausted or per-minute rate limit hit"}}}},"/evidence":{"post":{"operationId":"verdictEvidence","summary":"Evidence pack — sealed authorization, payment and delivery sections","tags":["Verdict Protocol"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"submittedBy":{"type":"string","minLength":1},"authorization":{"type":"object","properties":{"payer":{"type":"string"},"amount":{"type":"string","description":"Atomic integer string"},"asset":{"type":"string"},"network":{"type":"string"},"payTo":{"type":"string"},"payloadDigest":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["payer","amount","asset","network","payTo","payloadDigest"]},"payment":{"type":"object","properties":{"facilitator":{"type":"string"},"transaction":{"type":"string"},"network":{"type":"string"},"receiptTokenId":{"type":"string"}},"required":["facilitator","transaction","network"]},"delivery":{"type":"object","description":"Either {delivered:true, resourceUrl, status, bodyHash, deliveredAt} or {delivered:false, claim}. Kept separate from authorization and payment.","properties":{"delivered":{"type":"boolean"},"resourceUrl":{"type":"string"},"status":{"type":"integer"},"bodyHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"deliveredAt":{"type":"integer"},"claim":{"type":"string"}},"required":["delivered"]}},"required":["submittedBy","authorization","payment","delivery"]}}}},"responses":{"200":{"description":"Sealed evidence pack","content":{"application/json":{"schema":{"type":"object","properties":{"pack":{"type":"object","properties":{"packId":{"type":"string"},"kind":{"type":"string","enum":["evidence_pack"]},"version":{"type":"string","enum":["v1"]},"submittedBy":{"type":"string"},"createdAt":{"type":"integer"},"authorization":{"type":"object"},"payment":{"type":"object","properties":{"facilitator":{"type":"string"},"transaction":{"type":"string"},"network":{"type":"string"},"receiptTokenId":{"type":"string"},"source":{"type":"string","enum":["verdict_journal","submitter_asserted"]},"payer":{"type":"string"}}},"delivery":{"type":"object"},"docHash":{"type":"string"},"signature":{"type":"string"},"signingKeyId":{"type":"string"}},"required":["packId","kind","version","authorization","payment","delivery"]},"tier":{"type":"string","enum":["evidence"]},"replay":{"type":"boolean"}},"required":["pack"]}}}},"402":{"description":"Payment Required"}}}},"/evidence/{packId}":{"get":{"operationId":"verdictEvidenceGet","summary":"Fetch a sealed evidence pack by id","tags":["Verdict Protocol"],"parameters":[{"name":"packId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Sealed evidence pack"},"404":{"description":"Evidence pack not found"}}}},"/dispute":{"post":{"operationId":"verdictDispute","summary":"Dispute receipt — open a signed dispute record (no custody, no arbitration, no refunds executed)","tags":["Verdict Protocol"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"packId":{"type":"string"},"settlementTx":{"type":"string"},"claimant":{"type":"string"},"role":{"type":"string","enum":["payer","seller"]},"claim":{"type":"string"},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["tx","url","hash","document"]},"ref":{"type":"string","minLength":1}},"required":["kind","ref"]}}},"required":["claimant","role","claim"]}}}},"responses":{"200":{"description":"Opened dispute with sealed opening event","content":{"application/json":{"schema":{"type":"object","properties":{"dispute":{"type":"object","properties":{"disputeId":{"type":"string"},"kind":{"type":"string","enum":["dispute"]},"version":{"type":"string","enum":["v1"]},"packId":{"type":"string"},"settlementTx":{"type":"string"},"claimant":{"type":"string"},"role":{"type":"string","enum":["payer","seller"]},"claim":{"type":"string"},"status":{"type":"string","enum":["opened","evidence_attached","closed","expired"]},"closeReason":{"type":"string","enum":["mutual_agreement","withdrawn","authorization_voided"]},"parties":{"type":"array","items":{"type":"string"}},"openedAt":{"type":"integer"},"expiresAt":{"type":"integer"}},"required":["disputeId","kind","settlementTx","claimant","role","claim","status","parties","openedAt","expiresAt"]},"events":{"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string"},"disputeId":{"type":"string"},"seq":{"type":"integer"},"type":{"type":"string","enum":["opened","evidence_attached","closed"]},"actor":{"type":"string"},"at":{"type":"integer"},"data":{"type":"object"},"prevHash":{"type":"string"},"eventHash":{"type":"string"},"signature":{"type":"string"},"signingKeyId":{"type":"string"}},"required":["eventId","disputeId","seq","type","actor","at","prevHash"]}},"tier":{"type":"string","enum":["dispute"]},"replay":{"type":"boolean"}},"required":["dispute"]}}}},"402":{"description":"Payment Required"},"403":{"description":"Claimant is not a party to the referenced pack"}}}},"/dispute/{disputeId}":{"get":{"operationId":"verdictDisputeGet","summary":"Fetch a dispute and its sealed event chain","tags":["Verdict Protocol"],"parameters":[{"name":"disputeId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Dispute with derived status and events"},"404":{"description":"Dispute not found"}}}},"/dispute/{disputeId}/evidence":{"post":{"operationId":"verdictDisputeAttach","summary":"Attach evidence to an open dispute","tags":["Verdict Protocol"],"parameters":[{"name":"disputeId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"actor":{"type":"string"},"evidenceRefs":{"type":"array","minItems":1,"items":{"type":"object","properties":{"kind":{"type":"string","enum":["tx","url","hash","document"]},"ref":{"type":"string","minLength":1}},"required":["kind","ref"]}},"note":{"type":"string"}},"required":["actor","evidenceRefs"]}}}},"responses":{"200":{"description":"Evidence attached; sealed chained event returned"},"403":{"description":"Actor is not a party"},"409":{"description":"Dispute closed or expired"}}}},"/anchor":{"post":{"operationId":"verdictAnchor","summary":"Anchor — verify a Base settlement from another facilitator on-chain and seal an anchored receipt record ($0.05 USDC)","tags":["Verdict Protocol"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"submittedBy":{"type":"string","minLength":1},"facilitator":{"type":"string","description":"Facilitator the settlement is claimed to have run through; recorded as a submitter assertion only — the chain cannot prove it."},"note":{"type":"string"},"settlement":{"type":"object","properties":{"network":{"type":"string","enum":["eip155:8453"],"description":"Only Base mainnet settlements can be anchored in this version."},"transaction":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"logIndex":{"type":"integer","minimum":0,"description":"Required when the transaction carries more than one Transfer of the asset."},"asset":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"ERC-20 asset contract; defaults to Base USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913."},"amount":{"type":"string","description":"Atomic integer string; must equal the on-chain Transfer value."},"payTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"payer":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Optional; when present it must equal the on-chain Transfer sender."}},"required":["network","transaction","amount","payTo"]}},"required":["submittedBy","settlement"]}}}},"responses":{"200":{"description":"Sealed anchored settlement receipt; verificationUrl reads it back free","content":{"application/json":{"schema":{"type":"object","properties":{"anchor":{"type":"object","properties":{"anchorId":{"type":"string"},"kind":{"type":"string","enum":["anchored_settlement_receipt"]},"version":{"type":"string","enum":["v1"]},"claim":{"type":"object"},"chainProof":{"type":"object"},"anchor":{"type":"object"},"docHash":{"type":"string"},"signature":{"type":"string"},"signingKeyId":{"type":"string"}},"required":["anchorId","kind","version","claim","chainProof","anchor"]},"paymentProof":{"type":"object"},"tier":{"type":"string","enum":["anchor","anchor_certified"]},"replay":{"type":"boolean"},"verificationUrl":{"type":"string"},"verificationPage":{"type":"string"}},"required":["anchor"]}}}},"400":{"description":"Invalid request or unsupported network (only eip155:8453 in this version) — no charge"},"402":{"description":"Payment Required"},"422":{"description":"Settlement could not be verified from chain evidence (error names the reason, e.g. settlement_unverifiable:amount_mismatch) — no charge"}}}},"/anchor/certified":{"post":{"operationId":"verdictAnchorCertified","summary":"Anchor (certified) — chain-verified anchor plus a public verification page that re-reads the chain live at view time ($0.05 USDC)","tags":["Verdict Protocol"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"submittedBy":{"type":"string","minLength":1},"facilitator":{"type":"string","description":"Facilitator the settlement is claimed to have run through; recorded as a submitter assertion only — the chain cannot prove it."},"note":{"type":"string"},"settlement":{"type":"object","properties":{"network":{"type":"string","enum":["eip155:8453"],"description":"Only Base mainnet settlements can be anchored in this version."},"transaction":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"logIndex":{"type":"integer","minimum":0,"description":"Required when the transaction carries more than one Transfer of the asset."},"asset":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"ERC-20 asset contract; defaults to Base USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913."},"amount":{"type":"string","description":"Atomic integer string; must equal the on-chain Transfer value."},"payTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"payer":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Optional; when present it must equal the on-chain Transfer sender."}},"required":["network","transaction","amount","payTo"]}},"required":["submittedBy","settlement"]}}}},"responses":{"200":{"description":"Sealed anchored settlement receipt with verificationPage URL","content":{"application/json":{"schema":{"type":"object","properties":{"anchor":{"type":"object","properties":{"anchorId":{"type":"string"},"kind":{"type":"string","enum":["anchored_settlement_receipt"]},"version":{"type":"string","enum":["v1"]},"claim":{"type":"object"},"chainProof":{"type":"object"},"anchor":{"type":"object"},"docHash":{"type":"string"},"signature":{"type":"string"},"signingKeyId":{"type":"string"}},"required":["anchorId","kind","version","claim","chainProof","anchor"]},"paymentProof":{"type":"object"},"tier":{"type":"string","enum":["anchor","anchor_certified"]},"replay":{"type":"boolean"},"verificationUrl":{"type":"string"},"verificationPage":{"type":"string"}},"required":["anchor"]}}}},"400":{"description":"Invalid request or unsupported network — no charge"},"402":{"description":"Payment Required"},"422":{"description":"Settlement could not be verified from chain evidence — no charge"}}}},"/anchor/{anchorId}":{"get":{"operationId":"verdictAnchorGet","summary":"Fetch an anchored settlement receipt and its verification status (free)","tags":["Verdict Protocol"],"parameters":[{"name":"anchorId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Anchored receipt with signature verification result and the anchor-fee payment proof"},"404":{"description":"Anchor not found"}}}},"/anchor/{anchorId}/page":{"get":{"operationId":"verdictAnchorPage","summary":"Public verification page for a certified anchor; re-reads the chain live at view time (free)","tags":["Verdict Protocol"],"parameters":[{"name":"anchorId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"HTML verification page"},"403":{"description":"Verification page requires a certified-tier anchor"},"404":{"description":"Anchor not found"}}}},"/dispute/{disputeId}/close":{"post":{"operationId":"verdictDisputeClose","summary":"Close a dispute (records the parties' assertion; executes no void or refund)","tags":["Verdict Protocol"],"parameters":[{"name":"disputeId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"actor":{"type":"string"},"closeReason":{"type":"string","enum":["mutual_agreement","withdrawn","authorization_voided"]},"note":{"type":"string"},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["tx","url","hash","document"]},"ref":{"type":"string","minLength":1}},"required":["kind","ref"]}}},"required":["actor","closeReason"]}}}},"responses":{"200":{"description":"Dispute closed; sealed closing event returned"},"400":{"description":"authorization_voided requires a tx evidence reference"},"403":{"description":"Actor is not a party"},"409":{"description":"Dispute closed or expired"}}}}}}