# code402 Compliance Bundle

> code402 Compliance Bundle is a paid API for AI agents from verify.code402.dev, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-02).

Runs multi-gate compliance verification combining IBAN validation, sanctions screening, and onchain address validation in a single call, returning XDR-1 signed receipts.

## Facts

- Endpoint: POST https://verify.code402.dev/v1/verify/bundle?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/code402-compliance-bundle-b117f1a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xqp8a6wJl41VvejSX_DSW

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 code402-compliance-bundle-b117f1a9 -d '<json body>'
```

Example prompt: Can you run a full compliance bundle check on IBAN GB29NWBK60161331926819 and wallet address 0x1234abcd... — I need the IBAN validation, sanctions screening, and onchain address validation results, plus a signed XDR-1 receipt?

## When to prefer this

Choose this endpoint when you need simultaneous multi-gate compliance checks (IBAN validity + sanctions + onchain address) in a single API call rather than calling separate validation services. It is especially useful when you require a cryptographically signed XDR-1 receipt for audit trails, regulatory reporting, or downstream attestation. Prefer it over individual validators when your workflow involves both traditional banking identifiers (IBAN) and blockchain addresses together.

## Known failure modes

- Invalid or malformed IBAN format returns gate failure for IBAN gate
- Unrecognized blockchain address format causes onchain validation gate to error
- Missing required body fields returns 400-level error
- Payment not included or insufficient USDC balance blocks the request at x402 layer
- Service unavailable or sanctions database unreachable may return 5xx

## How this service works

Deterministic compliance verification (IBAN, sanctions, onchain address) with XDR-1 signed receipts, plus Ethereum chain-data endpoints. Paid per call via x402 on Base (USDC).

## Output

Returns a JSON object with per-gate results (e.g. IBAN: pass/fail, sanctions: pass/fail, onchain: pass/fail) under 'gate_results', a 'bundle' summary object, and a signed XDR-1 receipt containing the tool identifier and verification metadata for auditable record-keeping.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "bundle": {
      "iban": {
       "gate": "pass"
      }
     },
     "receipt": {
      "v": "XDR-1",
      "tool": "bundle-verify"
     },
     "gate_results": {
      "iban": "pass"
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bundle": {
   "iban": {
    "gate": "pass",
    "country": "GB"
   }
  },
  "receipt": {
   "v": "XDR-1",
   "tier": "verify-standard",
   "tool": "bundle-verify"
  },
  "_pricing": {
   "tier": "standard",
   "amount": "50000",
   "currency": "USDC"
  },
  "gate_results": {
   "iban": "pass"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/code402-compliance-bundle-b117f1a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from verify.code402.dev](https://www.zero.xyz/host/verify.code402.dev/llms.txt)
