{"uid":"cap__5zwB7W2AB4AtQW3uNNzL","slug":"delx-commerce-base-payment-deadline-check-11767b06","name":"Delx Commerce — Base Payment Deadline 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/base-payment-deadline-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"now_epoch":{"type":"integer","description":"Now Epoch supplied to Base Payment Deadline Check; used only for this bounded calculation and processed in memory without retention."},"deadline_epoch":{"type":"integer","description":"Deadline Epoch supplied to Base Payment Deadline Check; used only for this bounded calculation and processed in memory without retention."},"maximum_lead_seconds":{"type":"integer","description":"Maximum Lead Seconds supplied to Base Payment Deadline Check; used only for this bounded calculation and processed in memory without retention."},"minimum_lead_seconds":{"type":"integer","description":"Minimum Lead Seconds supplied to Base Payment Deadline Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"lead_seconds":300,"within_window":true,"maximum_lead_seconds":3600,"minimum_lead_seconds":30},"schema":"delx/util-base-payment-deadline-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"59c678732bd73042e4f51cbf240f3f49ced22b5675207daf3f54360d261c4acb","external_calls":0},"operation":"evm_preflight:base_payment_deadline_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_yMaYcb07QG-RobLyepZCk","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 given epoch timestamp falls within an acceptable lead-time window relative to a blockchain payment deadline on Base","exampleAgentPrompt":"Before I submit this USDC payment on Base, check whether right now (epoch 1717200000) is within the valid submission window for a deadline at epoch 1717203600, with a minimum lead of 30 seconds and a maximum lead of 3600 seconds.","exampleUseCases":[{"title":"Pre-submission payment timing check","prompt":"I'm about to send a USDC payment on Base — the deadline epoch is 1717203600, the current time epoch is 1717200000, and I want a minimum lead of 30 seconds and maximum of 3600 seconds. Can you confirm whether we're in the valid window before I submit?"},{"title":"Agent payment orchestration preflight","prompt":"My agent is orchestrating an on-chain payment and needs to do a timing preflight: current epoch is 1717201800, deadline epoch is 1717202100, minimum lead is 30 seconds, maximum lead is 600 seconds — is the window valid?"},{"title":"Deadline window debugging for failed payment","prompt":"A Base payment submission was rejected and I'm trying to figure out if it was a timing issue — the deadline was epoch 1717200000 and we tried to submit at epoch 1717196200 with a minimum lead of 60 seconds and maximum lead of 3600 seconds. Was we outside the acceptable window?"}],"resultDescription":"Returns a JSON object with: the computed lead_seconds between now and the deadline, a within_window boolean indicating whether timing is acceptable, echoed maximum and minimum lead second bounds, a pass/fail status string, the operation name (evm_preflight:base_payment_deadline_check), and a tamper-evident evidence object including an input SHA-256 hash, a retained:false flag confirming no data is stored, and a count of zero external calls made.","failureModes":["Missing required epoch fields returns a validation error","now_epoch greater than deadline_epoch yields within_window:false and status:fail","lead_seconds outside the min/max bounds yields within_window:false","Malformed integer types in input fields may return a schema validation error","Payment (0.001 USDC on Base via x402) failing due to insufficient funds blocks the call"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a lightweight, pay-per-call, no-signup preflight check specifically for Base EVM payment deadline timing. It is ideal when you want verifiable, tamper-evident output (SHA-256 input hash, no data retention) confirming whether the current moment falls within a valid submission window before committing a blockchain transaction. Prefer it over custom time-diff logic when auditability and standardized pass/fail evidence for EVM payment orchestration are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:57.455Z","isFirstParty":false,"canonicalSlug":"delx-commerce-base-payment-deadline-check-11767b06"}