sa_id_validate $0.001 per call
Offline validator for a South African National ID (13-digit): parses YYMMDD as date of birth, extracts gender sequence (0000-4999 female, 5000-9999 male), citizenship digit (0=citizen,1=permanent resident), checks the 12th digit is 8 or 9, and verifies the final digit via a Luhn mod-10 checksum.
For AI agents: call sa_id_validate
POST https://toll402.dev/v1/t/sa_id_validate
{
"id": "8001015009087"
}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": {
"id": {
"type": "string",
"description": "13-digit South African ID number, spaces allowed"
}
},
"required": [
"id"
]
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}