# X402 Settlement Amount Check

> X402 Settlement Amount 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-10-17).

Compares a settled raw payment amount against an accepted challenge amount to validate x402 payment settlement correctness

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/x402-settlement-amount-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-settlement-amount-check-d0fcc12a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uk89BaqLQHQHZj12TZfyM

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 x402-settlement-amount-check-d0fcc12a -d '<json body>'
```

Example prompt: Before I accept this x402 agent delivery, check whether the settled raw amount '1000000' actually matches the accepted challenge amount '1000000' — tell me if there's a mismatch and whether I should accept or reject it.

## When to prefer this

Use this endpoint when operating an x402 payment flow and needing a fast, in-memory, no-external-dependency check that a settled payment amount exactly matches the originally accepted challenge amount before releasing content, fulfilling agent deliveries, or advancing a pipeline step. Prefer this over manual comparison logic when you need normalized evidence and structured mismatch reasoning rather than a simple boolean.

## Known failure modes

- Invalid or non-numeric settled_raw value causes parsing failure
- Malformed accepted_raw string exceeding 8192 characters rejected
- Missing required fields returns validation error
- Amounts that are structurally valid but semantically mismatched result in explicit rejection status with mismatch reasons

## How this service works

X402 Settlement Amount Check: X402 Settlement Amount Check compares settled raw amount with the accepted challenge amount from bounded caller-supplied values without an external provider. Call X402 Settlement Amount 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 Settlement Amount Check as ve…

## Output

Returns a structured response including: an explicit accept or reject status, contract-specific validation checks, normalized evidence derived from the two input amounts, and detailed mismatch reasons if the settled amount does not equal the accepted challenge amount.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-settlement-amount-check-d0fcc12a/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)
