Showing Posts From
Sort code
-
BinaxPay Team - 09 Dec, 2025
- 4 mins read
Bank Transfer Logic (IBAN, Routing, Sort Code, ABA)
Bank transfers are the foundation of every fintech, EMI, PSP, and digital bank. Whether moving money inside a country or across borders, the process relies on structured identifiers that ensure funds reach the correct bank, account, and recipient. Understanding IBAN, routing numbers, sort codes, and ABA logic is essential for building reliable payout systems, treasury operations, and global corridors. This post explains how each identifier works, how banks use them behind the scenes, and how real fintech transactions flow across Germany, Sweden, USA, Brazil, Saudi Arabia, and Oman. 1. IBAN — International Bank Account Number IBAN is used across Europe, the Middle East, and many international markets. It ensures standardization in cross-border transfers. Structure Example: DE89 3704 0044 0532 0130 00DE: country code (Germany) 89: checksum 37040044: bank identifier 0532013000: individual account numberPurposePrevents errors in cross-border payments Allows automated validation Ensures unified format across nations Simplifies verification for fintech systemsWhere IBAN is usedEU and EEA UK Middle East (Saudi Arabia, Oman, UAE) Brazil for international transfers (converted at bank level) Many global banks for SWIFT-based transfersReal-Life Example (Germany to Sweden) A German user sends EUR 5,000 to a Swedish freelancer. The Swedish account uses an IBAN starting with SE. The fintech validates the IBAN checksum, formats the SWIFT message, and funds settle through SEPA or SWIFT depending on rails. 2. Routing Number (USA ACH and Fedwire) Routing numbers (also known as ABA routing numbers) are used in the United States. Two main types:ACH routing number for batch payments Fedwire routing number for instant domestic transfersStructure 9-digit code:First 4 digits: Federal Reserve routing symbol Next 4 digits: bank identifier Last digit: checksumPurposeIdentifies the receiving US bank Ensures correct ACH and wire routing Required for salary deposits, payouts, business transfersReal-Life Example (USA to USA) A US fintech pays a freelancer USD 2,800 via ACH:Routing: 021000021 (Chase) Account number: xxxxxxxDeposit arrives next business day. For instant payout, the fintech uses Fedwire instead. 3. Sort Code (United Kingdom) Sort codes are used in the UK for domestic money transfers. Structure 6 digits formatted as 12-34-56:12: bank 34: branch 56: internal processing segmentPurposeIdentifies bank and specific branch Used for Faster Payments and BACS Required for UK salary, merchant settlement, payoutsReal-Life Example (UK to UK) A business in London pays a contractor GBP 1,200:Sort Code: 20-45-14 Account: xxxxxxxxPayment routes through Faster Payments and arrives in seconds. 4. ABA Number (USA) ABA (American Bankers Association) numbers are the same as US routing numbers but specifically used for checks and some wire processes. PurposeRouting payments through the US banking system Legacy but still widely required for wires and direct depositsReal-Life Example A US fintech sets up payroll for a company in Texas. Employees must provide ABA number, account number, and account type (checking or savings). The ABA ensures proper movement through the Federal Reserve system. 5. Bank Codes in Other Regions Brazil — Agencia and Conta Example:Agencia: 1234 Conta: 567890-1Used for PIX, TED, DOC, and bank transfers. Saudi Arabia — IBAN Example starts with SA. All domestic transfers now require IBAN. Oman — IBAN Omani banks use IBAN that starts with OM. Sweden — Bankgiro and Plusgiro Domestic systems separate from standard IBAN. 6. How Transfers Are Validated Internally Step 1 — Format Validation Fintech checks:IBAN checksum Routing number validity Sort code format Bank code accuracyStep 2 — Bank Directory Lookup Platform checks bank directory files to confirm:Which bank owns the identifier Whether the account is reachable Which payment rails apply (SEPA, ACH, SWIFT, etc.)Step 3 — Rail Selection The system selects the correct rail:SEPA for EU FPS or BACS for UK ACH or Fedwire for USA PIX for Brazil SARIE for Saudi Arabia CBO or RTGS for OmanStep 4 — Settlement and Ledger Updates Funds leave the sender, settle via rail, and enter the recipient account. 7. Real-Life Multi-Country Scenarios Scenario 1 — Germany to Brazil (IBAN + SWIFT Format) A German company pays BRL 18,000 to a Brazilian supplier. Brazil does not use IBAN domestically, but for incoming SWIFT transfers: the sender uses the supplier’s SWIFT code, the beneficiary bank converts SWIFT to local Agencia and Conta, and funds settle via international FX and arrive in BRL. Scenario 2 — USA to Saudi Arabia (Routing to IBAN) A US merchant sends USD 7,500 to a Saudi partner. US bank uses ACH or Fedwire, a SWIFT message is sent, the Saudi bank maps the SWIFT account to local IBAN starting with SA, and funds settle through the SARIE domestic system. Scenario 3 — Sweden to Germany (IBAN to IBAN, SEPA Instant) A Swedish user sends EUR 2,200 to a German business using IBAN. Both sides support SEPA Instant, and funds settle in under 10 seconds. Scenario 4 — Oman to USA (IBAN to Routing) An Omani business pays a US freelancer. The payment uses SWIFT with the freelancer’s routing and account number. The US bank completes the incoming transfer via Fedwire. 8. SummaryIBAN is used across Europe and the Middle East and for many international transfers. Routing and ABA numbers are used for United States domestic transfers. Sort codes are used for United Kingdom domestic transfers. Brazil uses Agencia and Conta for PIX, TED, and DOC. Understanding these identifiers ensures accurate, fast, and compliant payouts across global corridors.