Sao Tome and Principe (ST) IBAN & Bank Routing Validator
A Sao Tome and Principe (ST) IBAN is 25 characters long: the country code ST, two MOD-97 check digits, then a 21n BBAN. Transfers settle in STN.
⚡ Live Sao Tome and Principe (ST) IBAN & Bank Routing Validator Interactive Workbench
Test real-time validation and schema parsing for Sao Tome and Principe (ST) IBAN & Bank Routing Validator directly in your browser. Runs in sub-5ms with zero setup.
{
"status": "Click RUN VALIDATION to execute on the Cloudflare edge..."
}
Quick Summary: Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for Sao Tome and Principe (ST) bank accounts. Validates strictly against ISO 13616 / ISO 7064 MOD-97-10 with sub-5ms in-memory response times.
Specification & Structural Breakdown
Technical Summary: Validates strictly against ISO 13616 / ISO 7064 MOD-97-10. Payloads are parsed in memory and return clean, typed JSON in milliseconds with zero data logged.
In Sao Tome and Principe, the International Bank Account Number (IBAN) has a fixed length of 25 alphanumeric characters starting with the two-letter ISO 3166-1 alpha-2 country code 'ST', followed by two MOD-97 check digits.
The National Basic Bank Account Number (BBAN) follows the official pattern: 21n. The national bank code is located at BBAN character offset [0:4]. The branch identifier is at offset [4:8].
National IBAN transfers in Sao Tome and Principe (ST) are settled in STN.
Validation computes the ISO 7064 Modulo-97-10 checksum by transposing the first 4 characters to the end, converting letters to numeric digits (A=10, ..., Z=35), and calculating arithmetic integer modulo 97 (must equal 1).
| Attribute | Value | Description |
|---|---|---|
| Country Code | ST | ISO 3166-1 alpha-2 |
| Total IBAN Length | 25 characters | Fixed standard length |
| BBAN Format | 21n | National structure (n=numeric, a=alpha, c=alphanumeric) |
| SEPA Zone | No | SEPA compliance status |
| Currency (ISO 4217) | STN | National settlement currency |
| Bank Code Position | BBAN Offset 0 (4 chars) | National clearing code |
| Branch Code Position | BBAN Offset 4 (4 chars) | Branch identification |
Parsed JSON Response Model
The edge microservice transforms input payloads into strongly-typed hierarchical JSON envelopes with sub-5ms latency:
{
"valid": true,
"iban": "ST00...",
"countryCode": "ST",
"countryName": "Sao Tome and Principe",
"length": 25,
"bban": "21n",
"sepa": false,
"checksumValid": true,
"bankCode": "XXXX"
}
Copy-Paste Integration Code (6 Languages)
Integrate Sao Tome and Principe (ST) IBAN & Bank Routing Validator directly into your production application with native, zero-dependency code snippets in cURL, Node.js, Python, Go, C#, and a ready-to-paste Claude prompt. Get a free API key → (no credit card required):
curl --request POST \
--url "https://api.stanzaapi.com/iban-validator/api/v1/iban/validate" \
--header "Content-Type: application/json" \
--header "x-api-key: YOUR_API_KEY" \
--data '{
"iban": "DE89370400440532013000"
}'const response = await fetch("https://api.stanzaapi.com/iban-validator/api/v1/iban/validate", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": process.env.API_KEY || "YOUR_API_KEY"
},
body: JSON.stringify({
"iban": "DE89370400440532013000"
})
});
const data = await response.json();
console.log(data);import requests
import json
url = "https://api.stanzaapi.com/iban-validator/api/v1/iban/validate"
headers = {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
}
payload = {
"iban": "DE89370400440532013000"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
url := "https://api.stanzaapi.com/iban-validator/api/v1/iban/validate"
payload := []byte(`{"iban":"DE89370400440532013000"}`)
req, _ := http.NewRequest("POST", url, bytes.NewBuffer(payload))
req.Header.Add("Content-Type", "application/json")
req.Header.Add("x-api-key", os.Getenv("API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", Environment.GetEnvironmentVariable("API_KEY") ?? "YOUR_API_KEY");
var json = @"{""iban"":""DE89370400440532013000""}";
var payload = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.stanzaapi.com/iban-validator/api/v1/iban/validate", payload);
var content = await response.Content.ReadAsStringAsync();
Console.WriteLine(content);
}
}Integrate the StanzaAPI iban-validator micro-API.
Endpoint: POST https://api.stanzaapi.com/iban-validator/api/v1/iban/validate
Auth header: x-api-key: YOUR_API_KEY
Content-Type: application/json
Request body:
{
"iban": "DE89370400440532013000"
}
Rules:
- Send the request with a 2-second timeout.
- Parse the standard envelope { success, data, meta: { latency_ms, version } }.
- On failure, read { success: false, error, code } and branch on the code.
- Do not retry 4xx responses; surface the error code to the caller.
- Treat invalid-but-well-formed payloads as HTTP 200 with data.valid === false.Frequently Asked Questions & Technical Notes
An official IBAN in Sao Tome and Principe (ST) is exactly 25 characters in length. Any shorter or longer value fails ISO 13616 validation.
Sao Tome and Principe is not a SEPA participant and relies on SWIFT/BIC wire routing.
IBAN transfers for Sao Tome and Principe (ST) settle in STN, the national settlement currency. Cross-border SEPA transfers to Sao Tome and Principe may still be denominated in EUR where both banks support the scheme.
The first 4 characters are moved to the end, letters are converted to numbers (A=10 to Z=35), and the resulting number is evaluated with modulo 97 arithmetic. A valid IBAN yields a remainder of exactly 1.
Related Global IBAN, BIC/SWIFT & Bank Routing Validator API Formats
Explore sibling specifications and standards in the same developer cluster:
El Salvador (SV) IBAN & Bank Routing Validator
Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for El Salvador (SV) bank accounts.
View Format →San Marino (SM) IBAN & Bank Routing Validator
Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for San Marino (SM) bank accounts.
View Format →Timor-Leste (TL) IBAN & Bank Routing Validator
Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for Timor-Leste (TL) bank accounts.
View Format →Slovakia (SK) IBAN & Bank Routing Validator
Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for Slovakia (SK) bank accounts.
View Format →Tunisia (TN) IBAN & Bank Routing Validator
Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for Tunisia (TN) bank accounts.
View Format →Slovenia (SI) IBAN & Bank Routing Validator
Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for Slovenia (SI) bank accounts.
View Format →Turkey (TR) IBAN & Bank Routing Validator
Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for Turkey (TR) bank accounts.
View Format →Sweden (SE) IBAN & Bank Routing Validator
Instant sub-1ms ISO 13616 MOD-97 checksum validation, BBAN decomposition, and bank routing extraction for Sweden (SE) bank accounts.
View Format →Complementary Enterprise APIs
Seamlessly orchestrate data pipelines across adjacent financial, regulatory, and supply-chain protocols:
ISO 20022 Financial Messaging →
Parse, validate, and convert pacs.008, camt.053, and pain.001 payment initiation files.
European VIES VAT Validator →
Verify cross-border VAT numbers and corporate tax registration with format and syntax checks.
GLEIF LEI Legal Entity Identifier →
Validate 20-character ISO 17442 corporate identifier checksums for global financial institutions.