{"service":"wever-dispute-resolution-rail","version":"1.0.0","schemas":{"dispute-open":{"type":"object","additionalProperties":false,"properties":{"escrow_id":{"type":"string","pattern":"^esc_[a-f0-9]{64}(?![\\s\\S])"},"order_id":{"type":"string","pattern":"^wo_[a-f0-9]{64}(?![\\s\\S])"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9._:-]{8,128}(?![\\s\\S])"},"claim":{"type":"object","additionalProperties":false,"properties":{"reason_code":{"enum":["non_delivery","quality","scope","payment","other"]},"statement_sha256":{"type":"string","pattern":"^[a-f0-9]{64}(?![\\s\\S])"},"uri":{"type":"string","minLength":1,"maxLength":512,"description":"HTTPS, ipfs, or ar reference. No raw evidence, personal data, credentials, query strings, or fragments."}},"required":["reason_code","statement_sha256"]}},"required":["idempotency_key","claim"],"oneOf":[{"required":["escrow_id"]},{"required":["order_id"]}]},"dispute-submit-evidence":{"type":"object","additionalProperties":false,"properties":{"dispute_id":{"type":"string","pattern":"^dp_[a-f0-9]{64}(?![\\s\\S])"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9._:-]{8,128}(?![\\s\\S])"},"references":{"type":"array","minItems":1,"maxItems":4,"uniqueItems":true,"items":{"type":"object","additionalProperties":false,"properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}(?![\\s\\S])"},"uri":{"type":"string","minLength":1,"maxLength":512,"description":"HTTPS, ipfs, or ar reference. No raw evidence, personal data, credentials, query strings, or fragments."}},"required":["sha256","uri"]}}},"required":["dispute_id","idempotency_key","references"]},"dispute-resolve":{"type":"object","additionalProperties":false,"properties":{"dispute_id":{"type":"string","pattern":"^dp_[a-f0-9]{64}(?![\\s\\S])"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9._:-]{8,128}(?![\\s\\S])"},"action":{"enum":["resolve","extend"]},"outcome":{"enum":["release","refund","split"]},"payee_amount_atomic":{"type":"string","pattern":"^(0|[1-9][0-9]{0,8})(?![\\s\\S])"},"payer_amount_atomic":{"type":"string","pattern":"^(0|[1-9][0-9]{0,8})(?![\\s\\S])"},"reason_sha256":{"type":"string","pattern":"^[a-f0-9]{64}(?![\\s\\S])"},"reason_uri":{"type":"string","minLength":1,"maxLength":512,"description":"HTTPS, ipfs, or ar reference. No raw evidence, personal data, credentials, query strings, or fragments."},"operator_authorization":{"type":"string","minLength":1,"maxLength":8192}},"required":["dispute_id","idempotency_key","action","reason_sha256","operator_authorization"],"allOf":[{"if":{"properties":{"action":{"const":"resolve"}}},"then":{"required":["outcome","payee_amount_atomic","payer_amount_atomic"]},"else":{"not":{"anyOf":[{"required":["outcome"]},{"required":["payee_amount_atomic"]},{"required":["payer_amount_atomic"]}]}}}]},"dispute-status":{"type":"object","additionalProperties":false,"properties":{"dispute_id":{"type":"string","pattern":"^dp_[a-f0-9]{64}(?![\\s\\S])"}},"required":["dispute_id"]}},"pricing":{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","scheme":"exact","x402Version":2,"pricesAtomic":{"/api/dispute-open":"100000","/api/dispute-submit-evidence":"100000","/api/dispute-resolve":"100000","/api/dispute-status":"100000"},"freeTier":{"calls":10,"windowDays":30,"scope":"all_paid_endpoints","walletProofMaxAgeSeconds":300},"principal_funding":"none_existing_locked_funds_only"},"max_dispute_atomic":"25000000","daily_cap_atomic":"100000000","daily_cap_window":"UTC calendar day; uncertain settlements retain capacity until reconciled","expiry_seconds":1209600,"extension_seconds":1209600,"max_extensions":1,"wallet_proof":{"header":"X-Wever-Wallet-Proof","every_call":true,"body_and_api_path_bound":true},"opening":"Either immutable escrow party may open against confirmed locked funds. escrow_id or order_id is required. Opening atomically pauses release and refund, including automatic escrow recovery. No new principal enters this rail.","evidence":"Both parties share a bounded history of hashes and reference URIs. Never submit raw personal information or encode personal information into a URI. The service does not fetch reference content. Closed and expired disputes reject new evidence.","resolution":"Only a valid operator authorization can choose release, refund or split. Explicit payee_amount_atomic and payer_amount_atomic must sum to the locked total. Release has zero payer amount; refund has zero payee amount; split has two positive amounts. Deterministic persisted EIP-3009 nonces settle each leg at most once.","expiry":"After 14 days, the recovery schedule refunds the payer and records an operator-signed timeout receipt. The operator may extend once by 14 days before expiry. Pending chain confirmation or exhausted daily capacity delays settlement; funds remain frozen until confirmed.","operator":{"issuer":"https://weverlabs.com/api/trust-contract","key_id":"wever-trust-20261001","public_jwk":{"crv":"Ed25519","x":"PG6bYTJfqh-Y7YEMzxNVhMsFkrO1XnX7djPUvNi9g_U","kty":"OKP"},"token_header":{"alg":"EdDSA","typ":"wever-dispute-authorization+jwt","kid":"wever-trust-20261001"},"token_claims":{"type":"wever.dispute-authorization.v1","issuer":"https://weverlabs.com/api/trust-contract","audience":"wever-dispute-resolution-v1","dispute_id":"request.dispute_id","action":"request.action","intent_sha256":"SHA-256 of canonical JSON {domain:\"wever-dispute-resolution-v1\",command:<complete request with operator_authorization omitted>}","issued_at":"Unix seconds at signing","expires_at":"Unix seconds after issued_at and no more than 900 seconds later"},"signature_input":"base64url(canonical(header)) + \".\" + base64url(canonical(claims)); recursive sorted object keys, array order retained, UTF-8, no base64 padding","max_authorization_seconds":900,"authorization":"Domain-bound Ed25519 authorization, separately supplied by the operator. See the documented authorization payload and canonical digest. API fee payment and party wallet proof do not grant resolution authority."},"receipts":"The full durable chain contains operator-signed opening, evidence, extension and terminal resolution or timeout receipts, with each receipt bound to its predecessor hash. Signed receipts attest the recorded claim and verified settlement, not the truth of submitted evidence.","status":"Party-authenticated read-only lookup. Status does not sign, change dispute state, reconcile or submit transactions. API billing remains separate.","capacity":{"evidence_submissions":12,"references_per_submission":4},"custody_security_audit":"pending","attribution":"Company-authored. Synthetic acceptance moves no real USDC."}