Skip to content

API Landscape Overview — Acme Financial Services

API Landscape Overview — Acme Financial Services

Section titled “API Landscape Overview — Acme Financial Services”

This document provides an overview of the Acme Financial Services (FSI) API landscape, covering the service catalog, authentication mechanisms, gateway architecture, rate-limiting policies, and versioning strategy. It is the primary reference for internal developers, partner integrators, and API governance stakeholders.


Acme FSI exposes four primary API domains, each backed by dedicated Spring Boot 3 (Java 17) microservices.

API DomainBase PathTransportAuth ModelPrimary ConsumersService Runtime
Core Banking/api/v2/bankingREST (JSON)OAuth 2.0 Client CredentialsPayments service, Risk service, Internal back-officeSpring Boot 3.2 / Java 17
Payments/api/v1/paymentsREST (JSON)OAuth 2.0 Client CredentialsCore Banking, Partner banks (ISO 20022 adapters)Spring Boot 3.2 / Java 17
Risk/api/v1/riskREST (JSON)OAuth 2.0 Client CredentialsCore Banking (underwriting), CompliancePython 3.11 / FastAPI
Wealth Management/api/v1/wealthREST (JSON)OAuth 2.0 Authorization Code + PKCEWealth advisors (React 18 SPA), Client mobile appSpring Boot 3.2 / Java 17

All APIs follow OpenAPI 3.1 specification. Specifications are published to the internal developer portal and are the source of truth for contract testing.


Internal service-to-service calls use OAuth 2.0 Client Credentials flow, issued by Azure Active Directory (Azure AD).

  • Each microservice is registered as an Azure AD App Registration with a unique client_id.
  • Tokens are requested against the resource audience URI (e.g., api://fsi-core-banking-prod).
  • Access tokens are JWT format, signed with RS256, and have a 1-hour expiry.
  • Services validate tokens locally using the Azure AD JWKS endpoint. Token claims (roles, scp) are used for fine-grained authorization.
  • Client secrets are stored in Azure Key Vault and rotated every 90 days via automated pipeline.

External partner integrations (e.g., partner banks, clearing networks) require mutual TLS (mTLS) in addition to OAuth 2.0.

  • Partners are issued a client certificate signed by the Acme FSI Private CA.
  • Certificate validity is 1 year. Rotation begins 60 days before expiry, coordinated by the Partner Integration team.
  • The API Gateway (Azure APIM) terminates the mTLS connection, validates the client certificate against a trusted certificate store, and maps the certificate thumbprint to the partner’s Azure AD App Registration.
  • Partner traffic is routed to a dedicated APIM product with partner-specific rate limits and policies.

The Wealth Management portal and mobile application authenticate end users via OAuth 2.0 Authorization Code with PKCE, issued by Azure AD B2C.

  • Users authenticate through Azure AD B2C custom policies supporting email/password and federated identity providers.
  • Multi-Factor Authentication (MFA) is required for all user sessions. Azure AD B2C enforces TOTP or SMS as the second factor.
  • Access tokens have a 1-hour expiry. Refresh tokens have a 24-hour expiry with sliding window.
  • Token scopes are mapped to user roles (wealth.read, wealth.trade, wealth.admin) enforced by the API layer.
  • Session management: the React 18 SPA uses @azure/msal-react for silent token renewal. The mobile app uses platform-native MSAL libraries.

All API traffic — internal and external — routes through Azure API Management (APIM), deployed in the internal VNet (Premium tier).

ResponsibilityImplementation
AuthenticationJWT validation (Azure AD / Azure AD B2C), mTLS termination for partner traffic
Rate LimitingPer-subscription rate limiting via APIM policies (see Section 4)
Request/Response LoggingAll requests logged to Azure Event Hubs → Splunk for security monitoring and audit
API AnalyticsAzure APIM built-in analytics dashboard; custom metrics forwarded to Azure Monitor / Grafana
SSL/TLS TerminationTLS 1.3 enforced on external endpoints; TLS 1.2 minimum on internal
Request TransformationHeader injection (correlation ID, request timestamp), payload validation against OpenAPI spec
Circuit BreakingBackend health probes with automatic circuit break on 5xx error rate > 10% over 60 seconds
  • Internal traffic: Routed via Azure Private Endpoints. No public internet exposure. APIM validates the Azure AD token and forwards to the backend service via the internal load balancer.
  • External traffic: Enters through Azure Front Door (WAF-enabled) → APIM external gateway. Azure Front Door enforces geo-filtering, DDoS protection, and bot detection before traffic reaches APIM.
  • Partner traffic: Dedicated APIM product (fsi-partner-apis) with mTLS policy, separate subscription keys, and partner-specific rate limits.

Rate limits are enforced at the API Gateway (APIM) level using the rate-limit-by-key policy, keyed by subscription ID.

TierApplies ToRequests / MinuteBurst (Requests / Second)Quota (Requests / Day)Retry Behavior
Internal Tier 1Core Banking ↔ Payments, Core Banking ↔ Risk10,000500UnlimitedN/A (internal SLA)
Internal Tier 2Non-critical internal consumers (reporting, back-office tools)5,000200UnlimitedN/A
External PartnerPartner banks, clearing networks1,00050500,000HTTP 429 Too Many Requests with Retry-After header
Wealth UserEnd-user sessions (Wealth portal, mobile app)3002050,000HTTP 429 Too Many Requests with Retry-After header

HTTP 429 response format:

{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Please retry after the specified interval.",
"retryAfterSeconds": 12
}
}

The Retry-After HTTP header is included in all 429 responses, indicating the number of seconds the client should wait before retrying. Clients that repeatedly exceed limits are flagged for review by the API Governance team.


Acme FSI uses URL-based versioning with a major version segment in the base path:

/api/v1/payments/transfers
/api/v2/banking/accounts
  • Major version increments indicate breaking changes (e.g., removed fields, changed semantics, restructured endpoints).
  • Non-breaking changes (new optional fields, new endpoints, additional enum values) are released within the current major version without a version bump.
PhaseDurationDescription
CurrentOngoingThe latest major version. Receives all new features and bug fixes.
Supported12 months from next major releasePrevious major version. Receives security patches and critical bug fixes only. No new features.
Deprecated6-month notice periodAnnounced via developer portal, API response header (Deprecation: true, Sunset: <date>), and direct notification to registered consumers.
RetiredAfter deprecation periodEndpoint returns 410 Gone. Traffic is blocked at the gateway.
API DomainCurrent VersionPrevious VersionPrevious Version Sunset Date
Core Bankingv2v1 (Deprecated)2025-09-30
Paymentsv1——
Riskv1——
Wealth Managementv1——

Deprecation announcements and migration guides are published on the FSI Developer Portal at https://developer.acme.com/fsi.


  • Distributed tracing: All services propagate W3C Trace Context headers. Traces are collected via OpenTelemetry SDK and exported to Azure Monitor Application Insights.
  • Correlation ID: Every request is assigned a X-Correlation-Id header at the gateway. This ID is propagated through all downstream calls and included in log entries.
  • Health checks: Each service exposes /actuator/health (Spring Boot) or /health (FastAPI) endpoints, probed by Azure Load Balancer and APIM backend health checks.

All APIs follow RFC 7807 (application/problem+json) for error responses:

{
"type": "https://developer.acme.com/fsi/errors/insufficient-funds",
"title": "Insufficient Funds",
"status": 422,
"detail": "Account AC-10042387 has insufficient available balance for the requested transfer amount.",
"instance": "/api/v2/banking/transfers/TXN-9928371",
"correlationId": "d4f8c3a1-7b2e-4e9f-a1c3-8d7e6f5a4b3c"
}

For API onboarding, access requests, or technical support, contact the FSI API Platform team via #fsi-api-platform on Slack or email fsi-api-platform@acme.com.