{"uid":"cap_1cOvzV7W2-r9HrWyDaSPS","slug":"x402-delivery-status-check-c3f43c4e","name":"X402 Delivery Status Check","description":"X402 Delivery Status Check: X402 Delivery Status Check classifies delivery HTTP status against accepted success codes from bounded caller-supplied values without an external provider. Call X402 Delivery Status Check before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Delivery Status Check as versioned…","url":"https://api.delx.ai/api/v1/x402/x402-delivery-status-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"status":{"type":"integer","description":"Status supplied to X402 Delivery Status Check; used only for this bounded calculation and processed in memory without retention."},"accepted_statuses":{"type":"array","items":{"type":"integer"},"maxItems":256,"description":"Accepted Statuses supplied to X402 Delivery Status Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"status":200,"accepted":true,"accepted_statuses":[200,201]},"schema":"delx/util-x402-delivery-status-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"ec66015a70d65b7a2e71745b867a2956516fe4253c9db40194da8e70462fd249","external_calls":0},"operation":"delivery_contract:x402_delivery_status_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_VmeG7ph-5GSoLJzB7yBsm","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 an HTTP delivery status code is among a caller-supplied set of accepted success codes, returning acceptance or rejection with normalized evidence and mismatch reasons for x402 agent delivery flows.","exampleAgentPrompt":"Before we accept and pay for this x402 delivery, check if the returned HTTP status 200 is valid given our accepted success codes [200, 201, 202] — tell me whether we should accept or reject it and why.","exampleUseCases":[{"title":"Gate payment on delivery success","prompt":"We got back HTTP status 204 from the agent delivery and our contract accepts [200, 201, 204] — can you confirm this delivery status is acceptable before we release the x402 payment?"},{"title":"Reject unexpected redirect status","prompt":"The agent delivery came back with status 302, but our accepted statuses are only [200, 201]. Check if that's a valid delivery or if we should reject it and hold payment."},{"title":"Validate partial-success delivery code","prompt":"Our x402 delivery result returned status 206, and the caller says accepted codes are [200, 206, 207]. Can you run the delivery status check and tell me if there are any mismatch reasons before we finalize acceptance?"}],"resultDescription":"Returns contract-specific validation results including an explicit accept or reject decision, normalized evidence of the status comparison, and a list of mismatch reasons explaining why the status was or was not within the accepted codes. Response is versioned and stateless — no data is retained.","failureModes":["Status integer outside valid HTTP range may yield unexpected classification results","Empty accepted_statuses array will always result in rejection","accepted_statuses array exceeding 256 items will be rejected by schema validation","Non-integer status values will fail input validation","Network error reaching the endpoint returns no validation result"],"whenToPreferThis":"Use this endpoint when you need a deterministic, in-memory, stateless check of an HTTP status code against a caller-defined set of accepted codes within an x402 or agentic delivery pipeline — especially before committing payment or accepting a delivery payload. Prefer this over manual comparisons when you need normalized evidence, mismatch reasons, and an explicit versioned accept/reject verdict suitable for audit trails or contract enforcement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:03:49.072Z","isFirstParty":false}