# Agent Buyer Identity Preflight | x402 Purchase Governance (Sumsub Counterparty Compliance Bundle)

> Agent Buyer Identity Preflight | x402 Purchase Governance (Sumsub Counterparty Compliance Bundle) is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Runs a counterparty compliance check on an AI agent buyer before it purchases an x402-gated API, dataset, or tool, returning a risk score and flags via Sumsub identity verification.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/sumsub/counterparty-compliance-bundle
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-buyer-identity-preflight-x402-purchase-governance-sumsub-d23c4c5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9SQibWoCFbNDebYYLYJ6d

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 agent-buyer-identity-preflight-x402-purchase-governance-sumsub-d23c4c5b
```

Example prompt: Before my agent buys that x402-gated dataset, run a Sumsub counterparty compliance preflight on applicant ID 'agent-7x2kZ9' in jurisdiction US and tell me the risk level and any flags.

## When to prefer this

Choose this endpoint when an AI agent or autonomous buyer needs a compliance pre-authorization step before executing an x402 micropayment purchase, particularly when the product is sensitive, jurisdiction-restricted, or subject to approval policies. It is the right choice when Sumsub is your identity/KYC provider and you need a bundled risk score plus flags rather than a raw identity lookup. Prefer it over generic KYC endpoints when operating within the x402 payment ecosystem on Base (EVM chain 8453).

## Known failure modes

- Missing required applicant_id returns a 400 or validation error
- Invalid applicant_id format (non-alphanumeric or too long) rejected by schema pattern
- Unknown jurisdiction code returns an error or unrecognized result
- Sumsub backend unavailable causes a 502/503 upstream error
- Insufficient USDC balance or x402 payment failure blocks the call entirely
- Rate limiting or repeated identical calls may return cached or throttled responses

## How this service works

Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.

## Output

Returns a JSON object containing the network (e.g. eip155:8453), product identifier (sumsub-counterparty-compliance-bundle), and an assessment block with risk_level (e.g. 'low'), numeric risk_score, and an array of flags. May also include identity, activity, and provenance sub-objects for detailed compliance context.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "applicant_id"
     ],
     "properties": {
      "case_id": {
       "type": "string",
       "pattern": "^[A-Za-z0-9._:-]{1,128}$"
      },
      "applicant_id": {
       "type": "string",
       "pattern": "^[A-Za-z0-9._:-]{1,128}$"
      },
      "jurisdiction": {
       "type": "string",
       "pattern": "^[A-Z]{2}$"
      },
      "counterparty_reference": {
       "type": "string",
       "pattern": "^[A-Za-z0-9._:-]{1,128}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "network": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "activity": {
       "type": "object"
      },
      "identity": {
       "type": "object"
      },
      "assessment": {
       "type": "object"
      },
      "provenance": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "eip155:8453",
  "product": "sumsub-counterparty-compliance-bundle",
  "assessment": {
   "flags": [],
   "risk_level": "low",
   "risk_score": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-buyer-identity-preflight-x402-purchase-governance-sumsub-d23c4c5b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-agent-preflight.bytoken2023.workers.dev](https://www.zero.xyz/host/base-agent-preflight.bytoken2023.workers.dev/llms.txt)
