# Delx Commerce X402 Amount Budget Check

> Delx Commerce X402 Amount Budget 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).

Checks whether a given raw payment amount falls within a specified maximum budget limit for x402 micropayment flows

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/x402-amount-budget-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-x402-amount-budget-check-648ea816
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O5uoyVLtV_qi41NqT-xT7

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-x402-amount-budget-check-648ea816 -d '<json body>'
```

Example prompt: Before making this x402 payment, check whether the raw amount of 1000 is within my maximum budget of 2000 raw units — I want to make sure we're not overspending.

## When to prefer this

Use this endpoint when an AI agent needs a lightweight, privacy-preserving, verifiable budget guard before executing an x402 micropayment — particularly when you need cryptographic evidence (SHA256 of inputs) that no data was retained and no external calls were made. Prefer this over custom logic when operating in x402-native payment pipelines on Base or Solana where auditability and verifiability matter.

## Known failure modes

- Missing or malformed amount_raw or maximum_raw strings may cause a validation error
- Non-numeric string values may result in computation failure
- Payment failure via x402 if USDC balance is insufficient to cover the $0.001 call fee
- Network or service unavailability returning a non-200 response

## 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 confirming whether the provided amount_raw is within the maximum_raw budget, including the original inputs, a boolean within_budget flag, a pass/fail status, and a verifiable evidence block containing an input SHA256 hash, a retained=false flag confirming no data retention, and an external_calls count of 0.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Amount Raw supplied to X402 Amount Budget Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Maximum Raw supplied to X402 Amount Budget Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "amount_raw": "1000",
   "maximum_raw": "2000",
   "within_budget": true
  },
  "schema": "delx/util-x402-amount-budget-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "95ec59ab3108f4c8d18b157c563dcdebd3f620f744be1691dbc78948f24b6667",
   "external_calls": 0
  },
  "operation": "delivery_contract:x402_amount_budget_check"
 }
}
```

## More

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