{"uid":"cap__XKdsqqKlus1EvYveQNht","slug":"agent402-uk-sort-code-validator-840d291f","name":"Agent402 UK Sort Code Validator","description":"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.","url":"https://agent402.co.uk/v1/validate/uk-sort-code","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sort_code":{"type":"string","description":"6-digit sort code"}}},"responseSchema":{"type":"json","example":{"digits":"200000","formatted":"20-00-00","valid_format":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_XQTUiQezPpxgSftc64hmM","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 and normalises a UK bank sort code into ##-##-## format, confirming digit structure without performing a bank lookup.","exampleAgentPrompt":"Before sending this UK bank transfer, can you validate and format the sort code 200000 into the proper ##-##-## format so I know it's structurally correct?","exampleUseCases":[{"title":"Pre-payment sort code sanitisation","prompt":"I've got a sort code entered by a user — '200000' — can you validate it and reformat it to the standard ##-##-## style before I pass it to the payout system?"},{"title":"Bulk payout data quality check","prompt":"We're about to run a batch of UK bank payouts. Can you check that the sort code 401234 is correctly formatted and structurally valid before we submit?"},{"title":"User input validation in checkout flow","prompt":"A customer just entered '60-16-13' as their sort code during checkout — can you confirm it's valid and give me back the normalised digit and formatted versions?"}],"resultDescription":"Returns a JSON object with three fields: 'digits' (the 6-digit raw sort code string), 'formatted' (the sort code in ##-##-## hyphenated format), and 'valid_format' (a boolean indicating whether the input is structurally valid as a 6-digit sort code).","failureModes":["Input with fewer or more than 6 digits returns valid_format: false","Non-numeric characters beyond hyphens may cause invalid format response","Missing sort_code field in request body may return a 400 or validation error","This endpoint does not verify the sort code exists at a real bank — only format is checked"],"whenToPreferThis":"Use this endpoint when you need a lightweight, fast, format-only check on a UK sort code before passing it to a payout rail or storing it. It does not perform a live bank lookup (e.g. verifying the sort code belongs to a real institution), so pair it with a bank verification service if full validation is required. Prefer this over general-purpose regex checks when you want a standardised, paid-quality normalisation step in an automated agent pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:42.925Z","isFirstParty":false}