{"uid":"cap_34NYq9MFQNyLdmo2RNh0e","slug":"toll402-trn-validate-cc077fca","name":"Toll402 TRN Validate","description":"The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.","url":"https://toll402.dev/v1/t/trn_ae_validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"TRN to validate, digits optionally separated by spaces or dashes"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EItCXon-nhz7vHfNjGU9p","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Tax Reference Number (TRN) string, checking format correctness with or without spaces or dashes","exampleAgentPrompt":"Can you check if this TRN is valid: 123-456-789?","exampleUseCases":[{"title":"Pre-submission TRN format check","prompt":"Before I submit this tax form, can you validate that the TRN '123 456 789' is correctly formatted?"},{"title":"Batch onboarding data quality check","prompt":"I'm onboarding a new vendor and their TRN is 987654321 — can you confirm it's a valid tax reference number before I save it to our records?"},{"title":"User-entered TRN verification in a form","prompt":"A user just entered '12-34-567' as their tax reference number in our signup form — is that a valid TRN?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating whether the provided TRN string is valid according to format rules; digits may be separated by spaces or dashes.","failureModes":["Invalid or missing 'value' field in body returns validation error","Non-string input causes schema rejection","Malformed JSON body results in 400-level error","TRN with unsupported separators may return ok: false","Payment not included or insufficient USDC results in 402 response"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost ($0.001 USDC) per-call TRN format validation without managing API keys or accounts. Ideal for agent workflows that need to verify tax reference numbers on-the-fly via the x402 payment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T12:35:48.543Z","isFirstParty":false,"canonicalSlug":"toll402-trn-validate-cc077fca"}