{"definitionRoot":"0911635e34326a6b1211086f1e1b65529bb05bab148ed0241a4f9a8a97fc66d1","docsPath":"/docs/X402_PAYMENT_REQUIREMENTS_LINT.json","errors":[{"code":null,"description":"The request field is invalid.","status":400},{"code":null,"description":"Payment Required - an x402 v2 offer in the PAYMENT-REQUIRED header and body.","status":402},{"code":null,"description":"The result could not be delivered.","status":422},{"code":null,"description":"The seller or the product quote path is not currently admitting this request.","status":503}],"examples":{"deliverable":null,"detail":"Concrete request/deliverable examples are omitted until real settled evidence supplies them; the no-fake-demand rule forbids inventing sample payloads. The envelope shapes above are exact.","request":null,"state":"OMITTED_UNTIL_REAL_EVIDENCE"},"family":"UTILITY","familyTitle":"Utility","freshness":{"evidenceCutoff":"Every delivered envelope states its own evidenceCutoff; requests may pin evidenceCutoff at or before quote time.","freshnessClass":"CACHEABLE_SNAPSHOT","latencyClass":"FAST","machineVersion":"df8b5c0c","outputDomainKind":null,"provenance":"The deliverable carries its own uncertainty statement; citations are opaque content hashes for the public evidence used."},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"assetDecimals":{"description":"Optional token decimals (USDC: 6) to express amounts in human units.","type":"integer"},"document":{"description":"The x402 JSON object to check: a PaymentRequired (402 body), a PaymentPayload (decoded X-PAYMENT / PAYMENT-SIGNATURE header) or one PaymentRequirements entry; v1 or v2.","type":"object"}},"required":["document"],"type":"object","x-arbiter-contentType":"application/json","x-arbiter-schemaVersion":"1.0.0"},"method":"POST","operationId":"agenthubmachinex402_payment_requirements_lint","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"documentKind":{"description":"PAYMENT_REQUIRED, PAYMENT_PAYLOAD, PAYMENT_REQUIREMENTS or UNRECOGNIZED.","type":"string"},"errorCount":{"description":"Number of ERROR issues.","type":"integer"},"issues":{"description":"Issues: {severity: ERROR|WARNING|INFO, code, path, message}; each message says what to change.","items":{},"type":"array"},"payload":{"description":"For payment payloads: {authorization (normalized), signatureFormat, recoveredSigner, signerMatchesFrom}; otherwise null.","type":"object"},"program":{"description":"Program identity: {id, version, programRoot, registryRoot}.","type":"object"},"provenance":{"description":"Deliverable provenance: {basis: BUYER_SUPPLIED_INPUT_AND_ARBITER_AUTHORED_CODE, thirdPartyData: false, networkAccess: false, inputRoot, programRoot, outputRoot}. inputRoot is hashCanonical of your exact request (keys sorted, strings byte-exact).","type":"object"},"requirements":{"description":"Normalized requirements: {index, scheme, network, networkCaip2, chainId, registryNetwork, asset (EIP-55), assetKnownAs, amountBaseUnits, amountHuman, assetDecimals, payTo (EIP-55), maxTimeoutSeconds, eip712DomainHint}.","items":{},"type":"array"},"schemaValid":{"description":"Whether the @x402/core schema accepted the document.","type":"boolean"},"uncertainty":{"description":"Plain-language limits of this computation.","type":"string"},"valid":{"description":"schemaValid and no ERROR-severity issue.","type":"boolean"},"warningCount":{"description":"Number of WARNING issues.","type":"integer"},"x402Version":{"description":"1, 2 or null.","type":"integer"}},"required":["documentKind","schemaValid","valid","errorCount","warningCount","issues","requirements","program","provenance","uncertainty"],"type":"object","x-arbiter-contentType":"application/json","x-arbiter-schemaVersion":"1.0.0"},"payment":{"admitted":true,"challengeHeader":"PAYMENT-REQUIRED","destination":{"address":"0x63aA5960943865e7d57FDdF0D899eE36B6D2046E","assetContracts":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392","0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","0x754704Bc059F8C67012fEd69BC8A327a5aafb603","0xaf88d065e77c8cC2239327C5EDb3A432268e5831","0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","0x3600000000000000000000000000000000000000","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"bindingVersion":"a2f250e514c4a05c34efc98c49a4f4ac01a67770884883d19ff3a6487972ed90","networks":["eip155:1","eip155:10","eip155:1329","eip155:137","eip155:143","eip155:42161","eip155:43114","eip155:5042","eip155:8453"],"resolvable":true,"source":"x402_seller_configuration.payTo"},"logicalPaymentHeader":"ARBITER-LOGICAL-PAYMENT-ID","payToSource":"the canonical RevenueWalletResolver binding (x402_seller_configuration.payTo); never an environment value and never a literal","paymentIdentifier":{"extension":"payment-identifier","semantics":"Retries carrying the same payment identifier return the cached delivery with the same receipt: no second settlement, no second work, no second delivery credit.","supported":true},"processingSemantics":"A 202 means verification or settlement is still in progress; retry the same call with the same payment and the same payment identifier.","protocol":"X402_V2","protocolVersion":2,"quoteHeader":"ARBITER-QUOTE-ID","scheme":"exact","signatureHeader":"PAYMENT-SIGNATURE"},"pricing":{"currency":"USD","floorUsd":0.001,"mode":"DYNAMIC_QUOTE","ownerCeilingUsd":null,"pricingClass":"CACHEABLE_UNIT","publicStartingPriceUsd":0.001},"productId":"X402_PAYMENT_REQUIREMENTS_LINT","productVersion":"1.0.0","provenance":{"basis":"YOUR_INPUT","protocols":[],"sources":["Your request only, computed by Arbiter's own registered program (no third-party data, no network)"]},"resourceUrl":"https://arbiterverse.com/api/x402/X402_PAYMENT_REQUIREMENTS_LINT","schemaVersion":"1.0.0","summary":"Lints an x402 PaymentRequired (402 body), PaymentPayload (decoded X-PAYMENT / PAYMENT-SIGNATURE) or single PaymentRequirements, v1 or v2: @x402/core schema validity, CAIP-2 networks, base-unit amounts, asset and payTo checksums, timeouts, exact-scheme EIP-712 domain hints, EIP-3009 authorization consistency and signer recovery. Every issue says what to change; requirements come back normalized (CAIP-2, EIP-55, amount in base and, with assetDecimals, human units). Example request: {\"document\":{\"x402Version\":2,\"resource\":{\"url\":\"https://api.example.com/data\"},\"accepts\":[{\"scheme\":\"exact\",\"network\":\"eip155:8453\",\"amount\":\"10000\",\"asset\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\"payTo\":\"0x...\",\"maxTimeoutSeconds\":60,\"extra\":{\"name\":\"USD Coin\",\"version\":\"2\"}}]},\"assetDecimals\":6}. Offline.","title":"x402 payment requirements and payload linter"}