HomeCase studiesReal-Time Cross-Border Remittance & Multi-Rail FX Settlement...

Case study · London, United Kingdom

Real-Time Cross-Border Remittance & Multi-Rail FX Settlement Engine

Cross-Border Remittance & FX

Cross-border remittance providers lose margin and customer trust when FX quotes slip during slow compliance checks or when local payout rails stall silently mid-transfer. We built an international money transfer platform using Go, React, and PostgreSQL to unify rate-locked FX quoting, automated KYC/AML screening, and multi-rail payout orchestration. Customers track exact landed amounts from funding through recipient delivery, while London compliance and treasury teams manage corridor liquidity and holds from a unified web console.

Industry
Cross-Border Remittance & FX
Solution
A concurrent Go microservice backend, PostgreSQL multi-currency ledger, and React customer and compliance operations portal for cross-border FX transfers.
Platforms
Web & API
Stack
Go · React · TypeScript · PostgreSQL · Kafka · Redis
Location
London, United Kingdom · delivered remotely
Role
Engineering, with the team behind for mobile and QA

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.

01 — Questions

asked about this kind of project

How does the quote engine guarantee an exchange rate for several minutes while markets move?

When a sender initiates a transfer, the Go pricing service snapshots live wholesale FX feeds from Redis, applies corridor spread rules, and mints a cryptographically signed quote in PostgreSQL with a strict expiration timestamp. If funding arrives before TTL expiry, the platform honors the locked rate; expired quotes trigger a transparent re-quote prompt.

How are sanctions and AML checks integrated without blocking every valid transfer unnecessarily?

Low-risk transfers within verified corridor limits clear deterministic velocity and exact-match sanctions rules in milliseconds. Only fuzzy name hits, unusual corridor spikes, or missing source-of-funds triggers route into a paused ComplianceHold state in the React analyst queue, leaving clean transfers flowing unimpeded.

Why choose Go and gRPC for the remittance backend alongside a React frontend?

Cross-border settlement involves parallel IO across liquidity providers, screening engines, local bank APIs, and internal ledger checks. Go's lightweight goroutines and strict gRPC Protobuf contracts let small service teams build predictable, memory-efficient concurrency with zero ambiguity around currency decimals.

How do you prevent double-payouts when a foreign banking partner returns an ambiguous error?

Every outbound payout instruction carries a unique transfer-leg UUID generated before dispatch. Payout adapters never automatically retry ambiguous network errors onto a secondary rail; instead, an inquiry state queries the partner's status endpoint or flags treasury review before releasing funds elsewhere.

How does PostgreSQL track treasury liquidity across multiple prefunded destination accounts?

Treasury balances across local partner accounts are modeled as dedicated nostro accounts inside the same PostgreSQL double-entry ledger. As transfers clear funding and enter payout dispatch, postings reserve destination liquidity atomically and alert treasury operators in React when corridor float nears reorder thresholds.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.