# Delx Commerce — Base Payment Deadline Check

> Delx Commerce — Base Payment Deadline Check is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Validates whether a given epoch timestamp falls within an acceptable lead-time window relative to a blockchain payment deadline on Base

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/base-payment-deadline-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-base-payment-deadline-check-11767b06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__5zwB7W2AB4AtQW3uNNzL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-base-payment-deadline-check-11767b06 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-base-payment-deadline-check-11767b06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
