# Agent402 UK Pre-Action Validation Kit

> Agent402 UK Pre-Action Validation Kit is a paid API for AI agents from agent402.co.uk, paid per call via x402, $0.003/call, status down (last checked 2026-09-15).

Validates email, IBAN, phone, UK VAT, UK company number, Vocalink bank modulus (sort code + account number), and currency/country codes in a single batch call before payout or CRM entry

## Facts

- Endpoint: POST https://agent402.co.uk/v1/validate/pre-action
- Price: $0.003/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-uk-pre-action-validation-kit-a7525f33
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J7NV2Tvqb1I4nCj26iksB

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 agent402-uk-pre-action-validation-kit-a7525f33 -d '<json body>'
```

Example prompt: Before we send this payment out, validate all the recipient details in one go: email is jane@acme.co.uk, IBAN is GB29NWBK60161331926819, phone is +447911123456, UK VAT number is GB123456789, sort code 60-16-13, account number 31926819, and company number 12345678.

## When to prefer this

Use this endpoint when an agent needs to validate multiple payment and identity fields in a single atomic call before initiating a payout, writing to a CRM, or onboarding a supplier — especially in UK-centric workflows requiring Vocalink modulus checks, UK VAT, or Companies House number validation. Prefer this over calling separate validation services for each field, as it reduces latency and cost to a single $0.003 call.

## Known failure modes

- Invalid IBAN checksum — field marked as failed in summary
- Vocalink modulus check fails for sort code / account number combination
- Malformed email syntax — validation fails without sending any message
- UK VAT number does not pass format check
- Missing both sort_code and account_number when modulus check is intended — partial input may be skipped or error
- Network timeout from upstream service — retry recommended
- Payment required (402) if USDC balance is insufficient

## How this service works

Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.

## Output

Returns a JSON object with a kit identifier ('pre-action-validate'), an all_ok boolean, and a summary object containing total fields checked, number passed, and number failed — allowing the agent to gate downstream actions on a single boolean.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "iban": {
   "type": "string",
   "description": "IBAN"
  },
  "email": {
   "type": "string",
   "description": "Email syntax"
  },
  "phone": {
   "type": "string",
   "description": "Phone"
  },
  "uk_vat": {
   "type": "string",
   "description": "UK VAT"
  },
  "sort_code": {
   "type": "string",
   "description": "With account_number for modulus"
  },
  "account_number": {
   "type": "string",
   "description": "With sort_code for modulus"
  },
  "company_number": {
   "type": "string",
   "description": "UK company number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kit": "pre-action-validate",
  "all_ok": true,
  "summary": {
   "total": 3,
   "failed": 0,
   "passed": 3
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-uk-pre-action-validation-kit-a7525f33/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.co.uk](https://www.zero.xyz/host/agent402.co.uk/llms.txt)
