# x402trustlayer.xyz Quality Escrow Settlement

> x402trustlayer.xyz Quality Escrow Settlement is a paid API for AI agents from x402trustlayer.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-20).

Settles a quality escrow payment for a verified API access interaction, releasing or withholding funds based on quality score evaluation.

## Facts

- Endpoint: POST https://x402trustlayer.xyz/api/quality-escrow/settle?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402trustlayer-xyz-quality-escrow-settlement-b53a6724
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VjoAUzbyU4zBN2T3KZrx7

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 x402trustlayer-xyz-quality-escrow-settlement-b53a6724 -d '<json body>'
```

Example prompt: Settle the quality escrow for that last GET API interaction — the escrow ID came back from the initial payment, and I need you to finalize whether the quality score met the release threshold so the USDC gets released.

## When to prefer this

Use this endpoint when you need to programmatically finalize an escrow arrangement tied to a quality-gated API interaction — specifically after a GET, HEAD, or DELETE HTTP interaction has been completed and you need to determine whether the quality score meets the release threshold to disburse USDC. Prefer this over generic payment endpoints when the settlement decision depends on a quality evaluation signal rather than simple confirmation.

## Known failure modes

- Missing required 'type' or 'method' fields in input returns a validation error
- Using a POST method value in the 'method' field (only GET, HEAD, DELETE are allowed) returns a schema violation
- Escrow ID not found or already settled may return a conflict or not-found error
- Quality score below release threshold may result in escrow held rather than released
- Network or chain unavailability may cause settlement to fail with a timeout or service error

## How this service works

Settles quality escrow payments for verified API access.

## Output

Returns a structured result including the escrow ID, current escrow status (e.g. settled, held, released), a numeric quality score, the release threshold that was evaluated against, the USDC amount involved, a boolean indicating whether the action was allowed, a decision string, an action taken, a human-readable summary, and an array of reasons explaining the outcome.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "ok",
      "allowed",
      "summary",
      "action",
      "escrowId",
      "escrowStatus",
      "decision",
      "qualityScore",
      "releaseThreshold",
      "amountUsdc",
      "reasons"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "action": {
       "type": "string"
      },
      "status": {
       "type": "string"
      },
      "allowed": {
       "type": "boolean"
      },
      "reasons": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": "string"
      },
      "decision": {
       "type": "string"
      },
      "escrowId": {
       "type": "string"
      },
      "amountUsdc": {
       "type": "number"
      },
      "escrowStatus": {
       "type": "string"
      },
      "qualityScore": {
       "type": "number"
      },
      "releaseThreshold": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402trustlayer-xyz-quality-escrow-settlement-b53a6724/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402trustlayer.xyz](https://www.zero.xyz/host/x402trustlayer.xyz/llms.txt)
