# Delx Commerce Approval Route API

> Delx Commerce Approval Route API is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Determines the appropriate approval route (e.g., security_and_finance) for a transaction or action based on risk level and amount, indicating whether human review is required.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/approval-route?utm_source=zero.xyz
- Price: $0.003/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-approval-route-api-144565c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C8FnkOqrAJA6iTEmNEULq

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-approval-route-api-144565c5 -d '<json body>'
```

Example prompt: I need to make a $250 payment that's been flagged as high risk — can you tell me which approval route I should use and whether a human needs to sign off on it?

## When to prefer this

Use this endpoint when an AI agent needs to programmatically determine the correct approval workflow for a transaction or action based on risk and amount, especially in agentic pipelines where spend governance and human-in-the-loop decisions must be automated. Prefer this over hardcoded routing logic when risk levels and amounts vary dynamically and you want a verifiable, pay-per-result determination with no signup overhead. Best suited for agents managing financial actions that must comply with authorization policies.

## Known failure modes

- Missing required fields (risk or amount) — likely returns a 4xx validation error
- Invalid risk value not matching expected enum — may return an error or fallback route
- Payment failure via x402 — 402 response if USDC payment not included or insufficient
- Service unavailable — 5xx response if backend is down
- Ambiguous or borderline risk/amount combinations may produce unexpected routing recommendations

## 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 containing the original risk level and amount, the recommended approval_route string (e.g., 'security_and_finance'), a boolean human_required flag indicating whether human review is needed, an advisory message reminding the caller they remain responsible for their own authorization policy, and a schema identifier (e.g., 'delx/util-approval-route/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "risk": {
   "type": "string",
   "description": "Input field: risk."
  },
  "amount": {
   "type": "number",
   "description": "Input field: amount."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risk": "high",
  "amount": 250,
  "schema": "delx/util-approval-route/v1",
  "advisory": "Caller remains responsible for its authorization policy.",
  "approval_route": "security_and_finance",
  "human_required": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-approval-route-api-144565c5/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)
