5 · API Gateway framework and components
Three planes, nine core components,
one request pipeline
The framework separates where you manage the gateway from where traffic flows. A management plane is where operators configure and observe. A control plane distributes policy. A data plane puts every request through the same ordered pipeline, supported by services that run alongside it.
Framework design
Tags show the lifecycle step:
ConnectAuthenticateProtectRouteObserve
Management plane
Dashboard portal. Where operators configure and observe.
- API management consolePublish, version and retire APIs from a web interface
- Configuration as filesPolicies held as configuration files, managed from the console or the command line
- Monitoring and configuration viewLive traffic, performance KPIs and errors next to the settings that shape them
- Keys, users and scopesWho may call which API, and with what limits
- Federation managementWhere several gateways are in use, one view across them
→
Control planeStores policies, keys and certificates, and pushes them to the data plane
→
Data plane · request pipeline
Every call passes the same stages, in this order.
Partner appsDigital channelsFintechs
Entry pointOne published endpoint, secured with TLS
Connect
API federationUnifies several gateways behind one interface
Connect
Allow and deny listsKnown callers in, blocked sources out
Protect
Rate limitingPer-partner request, concurrency and burst limits
Protect
Header and schema validationReject what does not match the published API
Protect
Authentication and authorisationKeys, tokens, certificates and scopes
Authenticate
Routing and protocol translationPath, host or header rules, REST to gRPC where needed
Route
Internal load balancingSpread load across healthy service instances
Route
Internal servicesIssuing, Acquiring, Orchestration, e-KYC and IDV, core banking and other microservices
Supporting services
Always on, alongside the pipeline.
- LoggingEvery call and policy decision, per partner Observe
- MonitoringLatency, errors, throughput and alerts Observe
- CachingFrequent responses served without a backend call
- Error handlingConsistent responses when a call or service fails
- Circuit breakerStops calls to a failing service so it can recover
How this maps to the five steps. The five lifecycle steps describe what a request goes through. Inside the data plane, lightweight checks such as allow and deny lists and rate limits run first, so abusive traffic is stopped before it costs a credential check or reaches deeper validation.
The nine core components
Nine components do the work in the data plane. Each has one job, and each can be configured per partner and per API.
- 1Connect
Data encryption
Secures data flowing to and from the gateway: TLS in transit, with end-to-end and at-rest encryption available for sensitive flows.
- 2Protect
Parameter validation engine
Checks every input before a backend sees it: data and format checks, required fields and cross-field rules, against the published schema.
- 3Protect
Allow and deny listing
Allows known callers and blocks unwanted ones, at several levels such as IP address, client and API.
- 4Protect
Rate limiting
Caps the number of requests a caller can make in a period, to prevent abuse, control cost and protect resources.
- 5Protect
Traffic management
Shapes demand with concurrency and burst limits, quotas, throttling and caching, and transforms requests and responses where formats differ.
- 6Authenticate
Authentication
Proves who is calling: API keys, OAuth 2.0 and OpenID Connect, JWT, HMAC and mutual TLS certificates, with scopes deciding what each caller may do.
- 7Route
Switch and routing
Decides where each call goes, by path, host or header, and for each protocol the call arrives in.
- 8Route
Load balancing
Distributes requests across backend instances so none is overwhelmed, with failover when one is unavailable.
- 9Route
Service discovery
Finds internal services dynamically through a registry, with health checks and configuration management, so routes follow the services.
Control planeHolds policies, certificates and cluster data, and pushes configuration to the data plane. Not exposed to external traffic.
Dashboard portalThe management plane: configuration, monitoring, security insights, keys, users and custom dashboards.
Logging and monitoringLatency, errors and usage recorded per partner, with alerts on security events.
Resilience servicesCaching, error handling and circuit breakers that keep one failing service from becoming an outage.
Federated framework: one gateway per system, one shared control layer
Core banking
Gateway instanceLocal routes and limits
Internet banking
Gateway instanceLocal routes and limits
Mobile banking
Gateway instanceLocal routes and limits
Payment processing
Gateway instanceLocal routes and limits
Interoperability functions
Unified schema
Central policy and API management control
Illustrative. Which systems sit behind the gateway is agreed in the requirements phase.
Independence and decoupling
Each system keeps its own gateway instance, so it can change, scale or be maintained without affecting the others.
One unified schema
Consumers see one consistent interface. The differences between the individual APIs stay hidden behind it.
Central security and governance
Authentication and access policy are set once and applied consistently across every federated gateway.