kra_pin_ke_validate $0.001 per call

Offline structural validator for a Kenyan KRA PIN (tax identification number). Normalizes input (uppercase, strips spaces/dashes) and checks it matches ^[A-Z]\d{9}[A-Z]$ (leading taxpayer-type letter, 9 digits, trailing check letter). Does not verify the checksum, as KRA's algorithm is unpublished.

For AI agents: call kra_pin_ke_validate
POST https://toll402.dev/v1/t/kra_pin_ke_validate
{
 "pin": "a123456789z"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "pin": {
   "type": "string",
   "description": "KRA PIN to validate, e.g. A123456789Z"
  }
 },
 "required": [
  "pin"
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI