{"uid":"cap_G5kNx6RAHpnNRWJJJKtuo","slug":"delx-commerce-x402-settlement-amount-check-6e7d4ed1","name":"Delx Commerce X402 Settlement Amount Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/x402-settlement-amount-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"settled_raw":{"type":"string","maxLength":8192,"description":"Settled Raw supplied to X402 Settlement Amount Check; used only for this bounded calculation and processed in memory without retention."},"accepted_raw":{"type":"string","maxLength":8192,"description":"Accepted Raw supplied to X402 Settlement Amount Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"drift_raw":"0","actual_raw":"1000","expected_raw":"1000","within_tolerance":true},"schema":"delx/util-x402-settlement-amount-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"7a76b790f88a7769934e943afa794eaf1387220dd60021c92aba4d959a6a1cff","external_calls":0},"operation":"delivery_contract:x402_settlement_amount_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jsBcM9IY9atMEkHcqknmw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a settled USDC payment amount matches the expected amount within acceptable tolerance for x402 protocol transactions","exampleAgentPrompt":"Check whether the x402 settlement amount matches what was accepted — here's the settled_raw value '1000' and the accepted_raw value '1000', and tell me if it's within tolerance.","exampleUseCases":[{"title":"Post-payment settlement audit","prompt":"I just received an x402 USDC payment and want to verify the settled amount '950' matches the accepted amount '1000' — can you run a settlement check and tell me if the drift is within tolerance?"},{"title":"Agent payment delivery verification","prompt":"My AI agent completed an x402 transaction — validate that the settled_raw '1000' matches the accepted_raw '1000' so I have cryptographic proof the payment was delivered correctly."},{"title":"Debugging a payment mismatch","prompt":"Something looks off with this x402 payment — settled_raw is '980' but accepted_raw was '1000'. Can you check the settlement amount and tell me the drift and whether it passes?"}],"resultDescription":"Returns a JSON object with: status ('pass' or 'fail'), drift_raw (numeric difference between settled and expected amounts), actual_raw (the actual settled amount), expected_raw (the expected amount), within_tolerance (boolean), plus evidence fields including input_sha256 for auditability, retained (always false, no data stored), and external_calls count (always 0, fully in-memory).","failureModes":["Invalid or non-numeric settled_raw/accepted_raw values causing parse errors","Payload exceeding 8192 character maxLength for either field","Network timeout on POST request","Missing required fields resulting in validation error","Payment amount outside tolerance returning within_tolerance: false with non-zero drift_raw"],"whenToPreferThis":"Use this endpoint when you need a verifiable, auditable check that an x402 protocol USDC payment settlement amount matches the accepted amount. Prefer it over manual comparison when you need a signed evidence record (input_sha256) confirming the check was performed in-memory with no data retention and no external calls — ideal for autonomous agent payment pipelines requiring trustless settlement verification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:08:57.949Z","isFirstParty":false,"canonicalSlug":"delx-commerce-x402-settlement-amount-check-6e7d4ed1"}