# Delx Base Payment Deadline Check

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

Validates whether a payment deadline epoch falls within an acceptable lead-time window relative to a given current epoch.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/base-payment-deadline-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-base-payment-deadline-check-dbaea9f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__WeFsQTFsjr_1mSYlVn4Q

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-base-payment-deadline-check-dbaea9f7 -d '<json body>'
```

Example prompt: Before I submit this Base payment, check if the deadline is within the acceptable window — current time is epoch 1718000000, deadline is epoch 1718003600, with a minimum lead of 30 seconds and maximum lead of 3600 seconds.

## When to prefer this

Use this endpoint when you need a lightweight, stateless, zero-retention preflight check on payment deadline timing for Base/EVM x402 payment workflows. Prefer this over custom logic when you need a governed, auditable check with sha256 input evidence and explicit within_window semantics, especially inside autonomous agent pipelines where verifiability matters.

## Known failure modes

- Missing required fields (now_epoch, deadline_epoch) result in validation errors
- Deadline epoch in the past yields negative lead_seconds and within_window false
- Lead seconds outside min/max bounds returns within_window false with status fail
- Non-integer epoch values may cause schema validation rejection

## How this service works

Base Payment Deadline Check: Base Payment Deadline Check checks a Base payment deadline against minimum and maximum lead time from bounded caller-supplied values without an external provider. Call Base Payment Deadline Check before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for Base Payment Deadline Check as versioned determ…

## Output

Returns a JSON object with the computed lead_seconds between now and the deadline, a within_window boolean indicating whether the lead time falls between minimum and maximum bounds, echoed maximum and minimum lead seconds, a pass/fail status, and an evidence block confirming no data retention and zero external calls.

## 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-base-payment-deadline-check-dbaea9f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
