Validate an IBAN (mod-97) + extract bank code (paid $0.001)
validate_ibanValidate any IBAN by checking ISO 13616 length and mod-97 checksum, then get the country, grouped IBAN, and bank identifier where available.
Instructions
PAID $0.001 (x402, USDC on Base). Validate an IBAN: give {iban} and get ISO 13616 length + mod-97 checksum validation, the country, the human-formatted grouping, and the bank identifier (e.g. German Bankleitzahl, UK bank code + sort code) extracted from the BBAN where derivable. Pure-offline. Without payment returns the x402 challenge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | Yes | The IBAN (spaces/dashes tolerated), e.g. DE89 3704 0044 0532 0130 00. | |
| x_payment | No | x402 payment payload (base64) for this PAID validation. If supplied it is forwarded as the X-PAYMENT header to settle the call and return the real result instead of a 402 challenge. Omit to get the price challenge first. |