# x402 Trust Layer Buyer Gate

> x402 Trust Layer Buyer Gate is a paid API for AI agents from x402trustlayer.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-03).

Validates whether a buyer is authorized to proceed through the certified seller gate before initiating an x402 payment

## Facts

- Endpoint: POST https://x402trustlayer.xyz/api/trust-network/buyer-gate?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-trust-layer-buyer-gate-6ece88dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ub258XrYoP45PqpnSsL6_

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-trust-layer-buyer-gate-6ece88dc -d '<json body>'
```

Example prompt: Before I send the x402 payment to this certified seller API, can you run a buyer gate check to confirm I'm allowed to proceed and that there are no trust violations?

## When to prefer this

Use this endpoint when an AI agent or automated workflow needs to verify buyer eligibility and seller certification status before committing to an x402 micropayment transaction. Prefer this over generic compliance checks when working within the x402 trust infrastructure ecosystem, especially when interacting with APIs in the certified seller network.

## Known failure modes

- Buyer not authorized: allowed=false with violations array populated explaining the block
- Seller not certified: certifiedSeller=false causing gate to deny passage
- Malformed request: missing required 'type' or 'method' fields returns validation error
- Unsupported HTTP method: method not in [GET, HEAD, DELETE] enum causes rejection
- Payment failure: $0.03 USDC x402 payment not completed results in 402 response
- Service unavailable: trust network infrastructure down returns 5xx error

## How this service works

68 paid x402 trust infrastructure APIs: guard, semantic escrow, mandate diff, certified seller network, KYM, mandates, compliance, disputes, and orchestration.

## Output

Returns a JSON object with: ok (boolean overall success), allowed (boolean whether the buyer may proceed), certifiedSeller (boolean confirming the seller is in the certified network), summary (human-readable explanation), and violations (array of any blocking issues found).

## 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": [
      "ok",
      "allowed",
      "certifiedSeller",
      "summary",
      "violations"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "allowed": {
       "type": "boolean"
      },
      "summary": {
       "type": "string"
      },
      "violations": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "certifiedSeller": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "allowed": true,
  "summary": "Buyer passes certified seller gate — proceed to x402 payment",
  "violations": [],
  "certifiedSeller": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-trust-layer-buyer-gate-6ece88dc/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)
