When SAMA Open Banking Phase 2 compels a bank to expose a unified account view to TPPs, the engineering team reaches for the scatter-gather pattern and starts designing fan-out flows. This is correct. What the engineering team will not resolve on its own — and what the VP of Enterprise Integration must decide before the design is finished — is what happens when the legacy core banking system does not respond within the wall-clock budget. That answer is not a configuration value. It is a service agreement with the customer.
A KSA bank’s account universe typically spans three or four systems: a legacy CBS that has held current accounts for a decade, a digital core that runs the newer savings and digital wallet products, a card processor for credit and prepaid products, and possibly an investment platform for affluent customers. The Open Banking standards expect these to be surfaced in a single API response to the TPP within a fixed response-time budget. The systems cannot be queried sequentially — the aggregate latency would exceed the SLA. They must be queried in parallel, their results merged, and the merged response returned before the slowest system would have finished if called alone.
The scatter-gather pattern is not a question of whether to call systems in parallel. It is a question of what you tell the customer when one of those systems is slow.
The partial-result decision
When the legacy CBS takes 2,400 milliseconds to respond — which is a p99 outcome, not a failure — the aggregation layer faces a choice. It can wait for the CBS and return a complete response that blows the SLA. It can time out the CBS call and return a partial response that omits the customer’s current accounts. Or it can serve a cached result from an earlier successful aggregation and flag its age.
Each choice is defensible in a specific context. None of them should be chosen by the engineering team at implementation time, because each carries a different business liability. Returning a partial response that omits current accounts means a customer using a budgeting TPP sees an incomplete picture of their finances — they may make a spending decision based on a balance that does not include their largest account. Serving a stale cache means the account balance shown to the TPP may be minutes old, during a period when the customer was making transactions. Waiting and blowing the SLA means a recorded breach of the performance standard the bank is measured against.
The VP’s decision is which of these is least harmful for each category of downstream. For the legacy CBS, partial with a flag is usually preferable to stale, provided the response tells the TPP, in the way the standard allows, that it is incomplete. For the investment platform, stale-cache is acceptable because investment balances move slowly and a 60-second-old balance rarely creates a material decision error. These distinctions must be documented and signed off, not inferred from the default configuration of a circuit breaker library.
The consent-scope trap
Open Banking consent grants reference specific account resource IDs, not account types. A consent for account SA8450000012345678 does not authorise the TPP to see the customer’s credit card balance, even if the card is from the same bank. The scatter-gather layer must enforce this scope — it must only fan out to the systems that hold the consented accounts. This is not an engineering default; it requires a product registry that maps account resource IDs to systems, maintained in real time, consulted at the start of every aggregation call.
The business problem is that the product registry is owned by neither the integration team nor the digital banking team — it sits across a boundary. Getting it built and kept current requires a programme decision and a data ownership agreement between the integration platform and the product systems. Without VP sponsorship, this registry is frequently the item that blocks go-live: the aggregation layer is complete, the SAMA certification is pending, and the product registry is still a spreadsheet in someone’s email.
What SAMA will ask in an examination
SAMA’s Open Banking supervision looks for three things in a bank’s aggregation implementation. The first is consent traceability: for any account data returned through the Open Banking API, the bank must be able to demonstrate which consent authorised it, what scope that consent had, and whether the response stayed within that scope. The second is incident response: when a system is unavailable and the bank returns a partial response, the bank must have notified the relevant TPPs of the degraded state within the timeframe the spec requires. The third is access-frequency enforcement: the standard limits how often a TPP may call account APIs when the customer is not present, and the bank must enforce that limit and log each call against the consent.
None of these are observable purely from application logs. They require a structured audit trail that the aggregation layer writes on every call: consent ID, customer pseudonym, target system list, per-system status, response completeness flag, and TPP identifier. Building this audit trail is engineering work, but deciding what it must contain is a governance decision. The VP must specify the audit requirements before the team builds the logging infrastructure — retrofitting a compliant audit trail after go-live is a full sprint of work, usually done under time pressure after the first SAMA compliance query.
What the team needs to ship it
The engineering team building the scatter-gather aggregation layer needs three things from leadership that cannot be delivered at the technical level. The first is a documented partial-result policy, specifying what happens when each downstream system is unavailable or slow — partial flag, stale cache, or synchronous wait — for each system in scope. The second is an agreed product registry design and owner, with a confirmed feed from the product systems that keeps it current; without this the aggregation layer cannot enforce consent scope correctly. The third is a defined audit schema — the fields that must be logged on every call — reviewed by the compliance team before implementation, not after.
The team also needs a realistic test dataset that includes customers with accounts on some systems but not others, accounts at or near the consented scope boundary, and concurrent sessions at the peak volume expected during SAMA certification load testing. Open Banking certification failures that occur at load test time, six weeks before the go-live date, are often caused by CBS connection pool exhaustion under concurrent scatter-gather sessions — a capacity limit the core banking team could have sized correctly if the integration team had shared the concurrent-session projections two months earlier.
The technical depth behind the implementation — IBM ACE aggregation-node configuration, Spring Boot virtual-thread pattern, per-downstream circuit breaker tuning, and the caching strategy that keeps p99 response time under 300ms for warm sessions — is covered in the Scatter-Gather: Multi-Source Aggregation Across Fragmented Systems of Record lab article.