Delivered remotely for a business based in London, United Kingdom. Names withheld by agreement.
Project Overview
Moving money across borders looks simple on a consumer screen—enter pounds, pick a destination currency, click send—yet the reality underneath spans fluctuating FX spreads, multi-jurisdiction anti-money-laundering rules, and local clearing networks ranging from UK Faster Payments and SEPA Instant to regional mobile-money APIs. When those stages run across disconnected scripts, customers face surprise fees, stuck transfers, and opaque delivery estimates.
Built for a London-centric multi-corridor operation, this international money transfer platform pairs Go backend services and a PostgreSQL multi-currency ledger with a React web portal for senders, compliance officers, and treasury desks. The engineering focus centered on deterministic FX quote locking, non-blocking compliance triage, and strict single-payout guarantees across unreliable international partner rails.
Cross-Border Settlement Friction
Cross-border payment systems routinely break at the seams between pricing, compliance, and external bank integration:
- FX slippage during funding delays: Users expect the exact recipient payout quoted at checkout, even when an inbound bank transfer takes several minutes to settle.
- Compliance queue congestion: Heavy-handed AML screening freezes thousands of legitimate family remittances over common-name false positives, overwhelming analysts.
- Fragmented local payout standards: Every destination corridor enforces unique beneficiary formats—IBANs, sort codes, routing numbers, purpose-of-payment codes—causing late partner rejections if validated only at payout time.
- Liquidity blind spots: Treasury teams operating prefunded accounts across multiple currencies risk stalling corridors whenever sudden remittance surges deplete a local partner float.
Architectural Strategy
The platform separates commercial quoting from physical money movement. An isolated Go pricing service ingests wholesale FX liquidity streams into Redis and issues signed, time-bounded quote contracts. Once a sender funds a transfer, a deterministic Go orchestrator coordinates validation, screening, ledger reservation, and outbound rail dispatch over strongly typed gRPC contracts.
Crucially, beneficiary schema validation runs upfront in both the React web flow and Go APIs using corridor-specific rule definitions. Catching invalid bank identifiers or missing regulatory purpose codes before accepting customer funds prevents costly cross-border repair fees later.
Core Capabilities
- Corridor-Aware FX Quoting & Rate Locks: Calculates tiered transparent fees and locks guaranteed exchange rates for bounded funding windows.
- Dynamic Beneficiary Validation: Renders corridor-specific recipient forms in React and validates account checksums, SWIFT/BIC structures, and local regulatory fields before payment initiation.
- Automated Risk & Sanctions Triage: Runs real-time identity, velocity, and watchlist checks, escalating only genuine fuzzy matches into a structured React compliance case desk.
- Multi-Rail Payout Routing: Supports UK Faster Payments, SEPA, SWIFT, and local partner APIs with automatic fallback rules prior to dispatch.
- Real-Time Nostro Liquidity & Reconciliation: Tracks prefunded destination floats alongside inbound collections, warning treasury operators when corridors require rebalancing.
Technical Architecture
Senders configure transfers through a TypeScript React portal backed by a Go API gateway. Requesting a quote pulls current mid-market rates and spread tiers from Redis, persisting an immutable quote record in PostgreSQL. Once funding clears—via Open Banking, card, or bank transfer confirmation—the Go transfer orchestrator emits a funding-verified event to Kafka and invokes screening over gRPC.
Flow: React Web Portal → Go API Gateway & Quote Engine (Redis FX Book) → Go Transfer Orchestrator (gRPC) → AML Screening & PostgreSQL Multi-Currency Ledger → Kafka Event Bus → Local Rail Payout Adapters & React Ops Console
Cleared transfers reserve destination liquidity inside PostgreSQL and hand off an idempotent payout command to the selected corridor adapter. Every webhook or polling update from downstream banks writes back through the orchestrator, updating both the sender's live tracker and treasury reconciliation tables.
Technology Stack
| Category | Technology detail |
|---|---|
| Core Backend Services | Go (Golang) microservices for FX pricing, transfer state machines, and rail adapters |
| Service Communication | gRPC with Protocol Buffers for strict low-latency internal service contracts |
| Web & Ops Portals | React with TypeScript powering both sender transfer flows and compliance/treasury desks |
| Multi-Currency Ledger | PostgreSQL with integer minor-unit balances and nostro/vostro position tracking |
| Event & Audit Pipeline | Apache Kafka streaming screening verdicts, funding events, and payout confirmations |
| Quote & Rate Caching | Redis storing live liquidity-provider FX books and short-TTL locked quote tokens |
| Compliance Screening | Asynchronous sanctions, PEP, and velocity rules engine with case-escalation workflows |
| Security & Access | OAuth2/OIDC, step-up MFA for high-value transfers, and immutable compliance audit logs |
Engineering Trade-offs & Solutions
| Engineering Challenge | Solution & Trade-off |
|---|---|
| Decimals and arbitrary precision across currencies with zero to three decimal places | Represented all money in Protobuf and PostgreSQL as integer minor units paired with explicit currency scale metadata; avoided float inaccuracies across FX multiplications at the cost of explicit rounding policies per corridor. |
| Holding FX locks open indefinitely invites arbitrage during volatile market swings | Issued short, corridor-tuned TTL quote tokens backed by dynamic spread buffers; expired funding automatically prompts re-pricing instead of exposing treasury to unbounded market risk. |
| Compliance holds blocking visibility for customer support teams | Built explicit sub-status codes distinguishing KYC document requests from internal sanctions reviews, allowing support to guide users safely without leaking restricted AML investigation details. |
| Slow external banking rails stalling Go worker goroutines | Moved partner payout handoffs onto bounded Kafka worker pools with per-partner rate limiters and strict context deadlines so one degraded corridor never impacts healthy routes. |
Security & Reliability
Cross-border platforms face strict regulatory scrutiny alongside active fraud pressure. Senders authenticate via OAuth2/OIDC with hardware or authenticator-based MFA required before adding new beneficiaries or raising transfer limits. Compliance analysts operate inside role-scoped React views where every case view, note, and override decision records an uneditable audit entry in PostgreSQL.
Internal service-to-service traffic communicates exclusively over mTLS-authenticated gRPC channels. Ledger tables prevent direct updates or deletions through database triggers, guaranteeing that reversals, FX adjustments, and returned wires leave verifiable contra-postings.
Performance & Scale
Remittance traffic spikes sharply around monthly salary dates and regional holidays. Go's low memory footprint and goroutine scheduler allow quote calculation and validation services to scale horizontally behind Kubernetes ingress without warm-up penalties. Redis pipelines refresh live FX books sub-second across dozens of currency pairs while shielding PostgreSQL from read storms while users browse exchange calculators.
In the React operations desk, analysts filter tens of thousands of daily transfers using server-driven keyset pagination and pre-indexed PostgreSQL views, keeping triage queues responsive during peak holiday corridors.
Operational Outcomes
Consolidating FX quoting, screening, and multi-rail settlement into one coherent Go and PostgreSQL architecture delivered measurable operational discipline:
- Predictable quote-to-payout integrity: Senders see exact locked recipient amounts upfront, eliminating post-funding FX surprises and support disputes.
- Focused compliance throughput: Automated pre-filtering lets London AML analysts spend time on genuine edge-case investigations rather than manual routine approvals.
- Confident corridor expansion: Adding a new destination country requires plugging in a self-contained Go rail adapter and corridor validation schema without rewriting core ledger flows.
- Clear treasury visibility: Live nostro balance projections and automated exception alerts prevent unexpected corridor dry-outs ahead of weekend bank closures.