
Predicting settlement outcomes before funds clear — using open banking data and behavioural analysis.
PayCo's challenge was to approve fast, low-cost payments while reducing the chance of a transaction failing later when cleared through the Bulk Electronic Clearing System (BECS). The solution combined real-time account data, transaction history, and risk scoring.
The data anatomy model builds the trusted data foundation, and the clearance risk model uses that foundation to predict payment success.
Stop valid transactions from failing because the customer's balance changes before settlement.
A transaction approved now may fail later if the customer's balance is debited before settlement (3h45 to 111h00 window).
| Win | Mon–Thu | Fri–Mon | PH | 3-Day | 4-Day |
|---|---|---|---|---|---|
| 1 | — | — | 5h30 | — | — |
| 2 | — | — | 4h00 | — | — |
| 3 | — | — | 3h45 | — | — |
| 4 | 15h | 63h | 39h | 87h | 111h |
Formula
Expected Balance =
Current Balance
− Pending Payments
+ Expected Receipts
− Expected Spending
± Risk Buffer
Customer initiates transaction.
Live balance via API.
Sum in-flight transactions.
Estimate incoming credits.
Forecast remaining spend.
Adjust for unusual behaviour.
Approve, divert, or block.
✅ Allow via BECS
Expected balance covers payment
⚡ Route to RTP
Payment is risky but valid
🚫 Block
Expected balance too low
Turning raw open banking APIs into structured data for risk models.
Open banking APIs provide data in varying structures across banks. The challenge was mapping raw responses into a consistent, queryable database design.
Pull account, transaction, balance data.
Standardise fields into internal format.
Store in structured tables.
Build windows, balances, metrics.
Detect anomalies across banks.
Decision-ready datasets.

Potential reporting metrics
Account creation date, product type, ownership, customer identity. Determines baseline trust.
Transaction frequency, balance trends, recurring payments, merchant relationships. Changes risk profile over time.
Banks vary in field population — execution datetime, merchant name, payee data. Production needs robust anomaly lists and bank-by-bank validation.
End-to-end data flow and decisioning.
Transforms raw API responses into a consistent, queryable data platform.
Canonical Tables
Feature Tables
Data Quality
Predicts balance sufficiency at settlement time using expected balance calculations.
Risk Layers
Calculations
Scoring
✅ Allow via BECS
Expected balance covers payment
⚡ Route to RTP
Payment is risky but valid
🚫 Block
Expected balance too low
Settlement outcomes are recorded and fed back into the model to continuously improve accuracy.
Monitoring
Optimisation
Case study prepared for PayCo — a risk-aware payment platform built on open banking infrastructure.