How to Integrate Multiple Financial Service Providers Through One API

Connecting banks, payment providers and lenders separately can multiply integration work. Let's explore how a unified API can simplify embedded finance, what to build or buy, and which controls UK businesses need to retain.

On this page

In brief

  • A unified API platform, internal connector layer or hybrid can reduce duplicated integrations, but each allocates cost, control, maintenance and dependency differently.
  • One API does not replace provider-specific contracts, onboarding, permissions or capabilities, so regulatory accountability and data responsibilities must be mapped across every service.
  • A canonical data model with stable internal identifiers, explicit financial states and preserved provider references supports portable integrations and auditable reconciliation.
  • Provider connections require narrowly scoped credentials, protected secrets, managed certificates and consent lifecycles, with separate environments and clear ownership.
  • Authenticated asynchronous events, deduplication, idempotent requests and controlled retries prevent uncertain outcomes or failover from causing duplicate financial effects.

Define Your Services and Integration Architecture

A unified financial-services API gives an application a common way to request capabilities from different providers. It can reduce repeated integration work, but it does not make every provider offer the same product or remove the agreements required to use it. Begin with the customer journey and the financial outcome, then identify the institutions and technology services behind each step.

Capability

Required outcome

Provider boundary to establish

Account information

Retrieve permitted balances and transactions for reporting or reconciliation.

Supported accounts, consent, data freshness and the entity providing access.

Payment initiation

Submit a customer-authorised payment instruction and retrieve its status.

Supported payment types, execution responsibilities and the meaning of each status.

Card issuing

Create and manage cards within an approved programme.

Issuer, processor, programme eligibility and available card controls.

Lending

Exchange applications, decisions or servicing information.

Lender, credit-decision ownership and supported product lifecycle.

The basic architecture is: application - unified API - finance connectors - underlying providers. The application expresses the business request. The unified layer applies the common interface and routes it. A finance connector adapts that request to a particular provider's authentication, data format and supported operations. The provider supplies the underlying account, payment, card or lending service.

For example, a treasury application could retrieve balances from several banks and initiate a supplier payment through one eligible connection. Its common interface might return a shared payment identifier, while retaining the bank's reference and original status. Receiving an accepted response must not automatically mean that the supplier has received funds.

Standardisation has a defined scope. The UK Open Banking specifications support secure account-information access and payment initiation with customer consent; they are not a universal interface for every lending or card-issuing product. Document which capabilities use common standards and which rely on proprietary provider APIs.

  • Maintain a capability matrix by provider, country, currency, customer type and operation.
  • Identify the authoritative source for balances, payment completion and customer records.
  • Preserve provider identifiers and material differences instead of hiding them behind an ambiguous common field.
  • Assign ownership of the application, connectors, reconciliation and operational exceptions.

Separate connection availability from production eligibility. A connector in a catalogue does not establish that your business is approved to use the service or that every advertised function is live for your programme. Define the minimum viable journey, its dependencies and expected results first. That scope provides a basis for choosing a unified platform or building a connector layer without assuming either route eliminates provider-specific work.

Choose a Unified API Platform or Build a Connector Layer

A unified API platform provides one integration contract for software while maintaining separate connections to banks, payment institutions, lenders or issuing providers behind it. An internal connector layer applies the same pattern inside the business: the application calls a common interface, and company-owned adapters translate each request and response for the underlying provider. Both approaches can reduce duplication, but they allocate cost, control and dependency differently.

Decision area

Unified API platform

Internal connector layer

Time to market

Faster where required providers and services are already supported

Slower because every provider adapter, test path and operational control must be built

Provider coverage

Limited to the platform's live connectors, regions and approved capabilities

Can connect any provider willing to expose a suitable interface

Control

Common models, routing and monitoring are influenced by the platform

Business controls schemas, release timing, routing and exception treatment

Maintenance

Platform absorbs much provider-specific API change

Internal team owns upgrades, certification, incidents and breaking changes

Portability

Exit depends on data export, token rights and the abstraction used

More architectural control, but proprietary internal interfaces can also create lock-in

Choose a platform when speed, broad prebuilt coverage and limited integration capacity matter most. Assess each required capability separately: account information, payment initiation, payouts, card issuing, lending decisions and reconciliation may have different geographic, regulatory and commercial availability. Ask the platform to identify the underlying provider, contracting entity, production status and supported operations for every connector. A catalogue entry or sandbox does not prove that the service is approved for the intended business model.

Build a connector layer when the provider mix is strategically important, transaction volume justifies a permanent engineering team, or the product needs provider-specific features that a common API would hide. This route can preserve specialised risk controls, richer data and direct incident management. It also requires a canonical data model, adapter framework, credential service, event infrastructure, testing harness, observability and an owner for every connector throughout its life.

Compare total cost over several years. A platform may charge subscription, usage, connector, data or premium-support fees. An internal layer includes engineering, security, compliance, cloud infrastructure, on-call support, provider certification and opportunity cost. Model the cost of adding the next provider, not only the first integration, and include parallel operation and exit.

Check abstraction quality with real workflows. The common model should retain provider references, balance and transaction states, fees, timestamps, consent details and error context. It should expose optional provider-specific fields without forcing the whole application to depend on them. Confirm how unsupported operations, version changes and partial provider outages are represented.

  • Require stable identifiers, idempotency support, signed events and replay capability.
  • Confirm service levels, incident escalation, data export and connector deprecation terms.
  • Establish whether tokens, consents and customer records can move if the platform changes.
  • Test reconciliation from the application through the platform to each provider's report.

A hybrid model is often practical: keep a business-owned canonical interface and use a unified platform for selected providers, while retaining direct adapters for critical or specialised services. Whichever route is chosen, one API does not remove provider-specific onboarding, permissions, contracts, pricing or operational limits. The architecture should isolate those differences without concealing them from risk, finance and support teams.

Establish UK Regulatory and Data Responsibilities

Determine regulatory responsibility from the service performed, the customer relationship and the movement of money or data, not from the term "unified API". Map the business, API platform and each underlying provider against every capability. Record who contracts with the user, obtains consent, accesses an account, initiates a payment, issues value or credit, holds funds, makes a lending decision and handles complaints.

Under the UK Payment Services Regulations, account information services and payment initiation services are regulated activities. A business providing payment initiation generally requires authorisation, while a business providing only account information may apply for registration. A company that merely supplies technical processing to an authorised or registered provider can fall within the technical service provider exclusion, but that exclusion does not cover a business that itself provides account information or payment initiation to the user. Obtain specialist perimeter advice before relying on the provider's status or contractual wording.

Other embedded-finance functions require separate analysis. Issuing payment instruments, providing payment accounts or issuing e-money can fall within the payments or e-money regimes. Lending, credit broking or related consumer-credit activity may require FCA permission unless an exclusion applies. Identify whether the business acts as principal, agent, distributor, introducer or outsourced technology supplier, and verify every regulated entity and relevant permission on the Financial Services Register.

Allocate responsibility for applicable customer due diligence, anti-money-laundering checks, sanctions screening and transaction monitoring, including investigation and escalation of alerts. Where a payment or e-money institution receives relevant funds subject to safeguarding requirements, identify the responsible institution and document its safeguarding arrangements and reconciliation responsibilities. Where Consumer Duty applies to retail customer journeys, establish each firm's responsibilities for customer outcomes, including customer understanding and support. Contractual allocation does not remove a firm's own regulatory obligations.

Where UK Open Banking applies, confirm that the authorised account information or payment initiation provider, account-servicing provider and technical platform implement the applicable security and directory arrangements. The Open Banking Standard uses the FAPI security profile, which adds transport and message-signing certificates to OAuth-based flows. Allocate responsibility for certificates, consent, Strong Customer Authentication redirection, token storage, revocation, failed consent and evidence. A unified interface must not weaken provider-specific authentication or obscure which regulated provider serves the user.

Responsibility

Decision to document

Regulatory perimeter

Service, legal entity, permission, agent or outsourcing status and accountable provider

Financial crime controls

Customer due diligence, anti-money-laundering checks, sanctions screening, transaction monitoring and alert ownership

Safeguarding

Applicable requirements, responsible institution, safeguarding arrangements and reconciliation responsibilities

User relationship

Terms, disclosures, consent, complaints, support, liability for incorrect execution and applicable Consumer Duty responsibilities

Security

Authentication, encryption, certificate ownership, access controls, incidents and business continuity

Data protection

Controller and processor roles, purposes, lawful basis, retention, subprocessors and user rights

International transfers

Transfer initiator, destination, safeguard, risk assessment and onward-transfer controls

Apply UK GDPR to the end-to-end data flow. Determine whether each party is a controller, joint controller or processor for each processing purpose. Use written processor terms where required and ensure processors act only on the controller's documented instructions, unless processing is required by law. Independent controllers remain responsible for determining and justifying their own processing purposes and means. Minimise the fields shared and set deletion periods. Update privacy information and records of processing. Complete a data protection impact assessment where the processing is likely to create high risk, particularly where new technology, profiling or sensitive financial behaviour is involved.

Map hosting, support, analytics and subprocessor locations. If the arrangement creates a restricted transfer outside the UK, identify which party initiates it and implement an appropriate transfer mechanism and proportionate assessment. Do not assume that routing through a UK endpoint keeps all personal information in the UK.

Contracts should allocate security events, regulatory notifications, user complaints, data-subject requests, audit access, provider outages, record retention and exit assistance. The regulated provider may remain responsible for outsourced regulated functions, while the business retains its own obligations as controller, agent or product operator. Governance should therefore include legal review, a responsibility matrix, current register checks and periodic reassessment whenever a connector, provider, data location or customer journey changes.

Implement the Unified API Integration

Treat the unified API as a controlled service boundary between the application and the underlying financial providers. The application should call a stable internal contract, while a separate connector handles each provider's endpoints, credentials, data model and operational differences. This reduces provider-specific code in customer-facing products without pretending that every provider offers identical capabilities.

Begin with a capability and dependency map. For each account-information, payment, card-issuing or lending workflow, record the provider, legal entity, environment, required consent, data owner, settlement or funding account and operational support path. Confirm provider onboarding and contracts before building against a sandbox: access to a test API does not prove production eligibility.

Integration layer

Primary responsibility

Product application

Customer journey, business rules, permissions and presentation

Unified API

Stable resources, validation, canonical identifiers, access policy and versioning

Connector layer

Provider authentication, request translation, retries, rate limits and error mapping

Event and workflow services

Webhooks, queues, state transitions, reconciliation and exception handling

Underlying providers

Provider-specific accounts, regulated services, decisions, execution and source records

Define the internal API before implementing connectors. Use resources that reflect the business, such as customer, consent, account, beneficiary, payment, card, facility and transaction. Assign each resource an immutable internal ID and store the corresponding provider and provider-object IDs separately. Do not expose a provider ID as the permanent business key, because a later migration or second provider can make it ambiguous.

Publish an explicit contract for required and optional fields, currency and amount rules, timestamps, pagination, status values and error responses. Version breaking changes and give clients a migration period. Preserve provider-specific fields in a namespaced extension or raw evidence store where they are needed for audit or support; do not force them into the common model or silently discard them.

Separate commands from results. A request to create a payment or open a facility may be accepted before the provider reaches a final state. Return an internal operation ID and a clear initial status, then update the resource through authenticated events or controlled polling. Use idempotency keys for money-moving and other non-repeatable commands. Persist the request fingerprint so reuse of a key with different data is rejected.

Build each connector as an isolated adapter with:

  • provider-specific request and response mapping;
  • timeouts, rate-limit handling and bounded retries with jitter;
  • authentication and certificate lifecycle management;
  • webhook verification, event deduplication and replay support;
  • health, latency, error-rate and quota telemetry;
  • a tested method to disable or drain the connector without corrupting workflows.

Maintain an append-only event and audit trail linking the internal request, actor, provider call, response, state transition and financial record. Avoid logging access tokens, card data or unnecessary personal information. Finance should be able to trace an order or customer instruction through the unified API to the provider transaction, fee, settlement and bank entry.

Release one capability and provider path at a time. Use contract tests against provider sandboxes, deterministic connector fixtures and production-like failure simulations. The unified API is complete only when authentication, data mapping, asynchronous outcomes, reconciliation and operational ownership work together; a successful synchronous API response is only one part of the integration.

Configure Authentication and Provider Connections

Configure each provider connection as a separate security principal for the correct legal entity, product, environment and permission set. Do not reuse one credential across providers, subsidiaries or test and production. Maintain a connection registry containing the provider, account or tenant ID, authentication method, allowed scopes, certificate references, callback URLs, rate limits, owners and renewal dates.

Classify the authentication pattern before coding:

  • API key or signed request: use only over encrypted transport, restrict the key to the required operations and follow the provider's signature and timestamp rules.
  • OAuth client credentials: use for server-to-server access where no customer delegation is involved; cache tokens only for their valid lifetime and request the narrowest scopes.
  • User-delegated OAuth: preserve the customer's consent, selected accounts, authorised purpose and token lifecycle; handle denial, expiry and revocation as normal states.
  • Mutual TLS and signed messages: manage both transport and signing certificates, where required, with separate private keys and monitored expiry.

For regulated UK account-information or payment-initiation connections, confirm that the responsible firm has the necessary FCA status and permissions. UK Open Banking uses a financial-grade OAuth security profile and certificates for secure transport and message signing. The flow may require a consent or intent resource before customer authorisation. Implement the applicable standard and each account provider's published configuration rather than approximating the flow with a generic OAuth library.

Store secrets and private keys in a managed secrets or key service, not source code, container images, configuration repositories or support tickets. Limit retrieval to the connector workload, log administrative access and rotate credentials through an overlap period where the provider permits it. Alert before certificate and client-secret expiry, and test rotation in production-like conditions. A documented emergency revocation process should identify who can disable a compromised connection and how affected workflows are contained.

Register redirect and webhook URLs exactly and keep them environment-specific. Verify TLS, provider signatures, timestamps and replay controls before accepting a callback. Bind authorisation responses to the original session and state, and never log authorisation codes, refresh tokens or sensitive payment credentials. Encrypt stored tokens and retain only the data required for the service and audit purpose.

Provider onboarding can also require directory identifiers, IP allowlists, public keys, business verification, account permissions and product activation. Track these as deployable configuration with approval evidence, but keep secret values outside ordinary configuration. A connector should not be marked production-ready until the contractual account, credentials and permitted operations all match.

Monitor token failures, certificate expiry, authentication latency and rejected scopes separately from functional provider errors. Use a low-impact authenticated endpoint or provider-supported health check where available. Repeated authentication failure should open an incident and stop unsafe retries; it should not trigger credential switching or customer reauthorisation without a controlled decision.

Normalise Data and Route Requests

Place a canonical data model between the application and the provider connectors. The model should represent the business concepts the application needs, such as customer, business, account, consent, balance, transaction, payment, card and credit application, without copying one provider's schema. Each canonical object needs an internal identifier and a list of provider identifiers so events, support cases and reconciliation records can be traced across systems.

Define formats explicitly. Store money as an integer amount in minor units with an ISO currency code, retain the provider's original amount, and record whether a balance is booked, pending or available. Use UTC timestamps plus the source time zone where it affects cut-offs. Map provider statuses to a small internal state machine, but preserve the raw status and payload for audit and future remapping. Do not force materially different products into one field merely to make the API look uniform.

Canonical area

Normalisation rule

Identity

Stable internal ID, provider ID, legal entity and source system

Money

Minor units, currency, debit or credit direction and fee treatment

Status

Internal lifecycle state plus the original provider status and timestamp

References

Order, invoice, customer, account and reconciliation identifiers

Provenance

Provider, connector version, retrieval time and transformation version

Implement each connector as an adapter. It validates a canonical request, translates it to the provider contract, sends it through the provider client, and maps the response back without exposing provider credentials or field names to the calling application. Use schema validation at both boundaries. Reject an incomplete request before making an external call, and quarantine a response that cannot be mapped safely.

Version mappings independently from the public unified API. A provider may add a status, change a field or retire an endpoint without requiring every client to migrate immediately. Keep representative fixtures and contract tests for each supported provider version. When a mapping changes, record the version used for existing transactions so historic reports can still be reproduced.

Routing should be a controlled policy, not a hidden fallback. Existing accounts, cards, consents and loans are generally bound to their provider, so operations on those resources must respect that binding. Another provider supporting the same capability does not make the resource transferable; switching may require migration, a new product or fresh customer authorisation. Where provider selection is possible, evaluate only providers that support the requested capability, merchant or customer entity, jurisdiction, currency, transaction type and required service level. Then apply approved rules for availability, cost, risk, limits or capacity. Make the decision deterministic for the same inputs, log the eligible routes and reason selected, and version the rule set. Separate configuration changes from code deployment and require approval for material routing changes.

Give every operation a stable internal request ID and an idempotency key. The same business action must reuse that key after a timeout or safe retry. A new attempt with different economics or a different beneficiary needs a new action ID. Idempotency protection is limited to the scope enforced by each provider: sending the same key to two independent providers does not prevent both from executing the instruction. Track attempts across providers against the internal business action, and establish the first provider's outcome before routing to an alternative; otherwise failover can create duplicate payments, cards or applications.

Expose common fields through the unified response and place genuinely provider-specific capabilities in a namespaced extension with clear support indicators. This keeps the main API portable without pretending all providers are equivalent. Monitor mapping failures, unsupported-field use, route distribution and manual overrides, and reconcile the canonical records to provider reports so normalisation remains financially accurate.

Handle Asynchronous Events and Payment Failures

Treat an accepted API request as the start of a lifecycle, not proof of completion. Payments, account connections, card issuance and lending decisions can move through several states after the synchronous response. Define an internal state machine for each operation, including pending, action required, processing, unknown outcome, completed, failed, cancelled and reversed where relevant. Use unknown outcome when execution cannot be confirmed or ruled out, and assign a named team and investigation deadline. Do not treat an uncertain outcome as a definitive failure. Permit only documented transitions and post corrections as new events rather than overwriting history.

Receive provider webhooks through a dedicated ingress service. Verify the signature or certificate, check the timestamp and replay window, retain the raw payload, and reject events that fail authentication. Durably store or enqueue an authenticated event before acknowledging successful receipt. If durable storage fails, do not return a success acknowledgement. Keep this step fast and process accounting, notifications and other slow downstream work asynchronously.

  • Deduplicate using the provider event ID, or a documented composite key when no stable event ID exists.
  • Assume events can be delayed, repeated or delivered out of order.
  • Lock or serialise updates for the same resource where concurrent processing could corrupt state.
  • Compare the event with the current state before applying a transition.
  • Fetch the authoritative provider object when an event is incomplete or conflicts with local records.

Use scheduled polling to complement webhooks, or as the primary mechanism where a provider does not support suitable webhooks. Poll operations that remain pending beyond their expected window, investigate unknown outcomes, recover events missed during an outage, and verify high-value or financially material states. Apply rate limits and record the retrieval time so a poll cannot silently replace newer information. A periodic inventory comparison between internal and provider objects provides another control against missed messages.

Classify failures before retrying. Validation, permission and business-rule errors normally require corrected data or human action. Rate limits and temporary service errors may be retried with exponential backoff, jitter and a maximum attempt count. Recover from ordinary access-token expiry through the provider's supported refresh or renewal flow. Persistent authentication failures should suspend the affected connection or capability and alert its owner; stop the entire connector only where the failure affects all its connections or indicates a wider security problem. Send exhausted or unrecognised events to a dead-letter queue with the payload, error, attempts and accountable team.

Network timeouts are ambiguous because the provider may have accepted the request even when the client received no response. Mark the outcome as unknown and query by the original idempotency key or internal reference, where supported, before resubmitting. Reuse the same idempotency key for a safe retry within the provider's documented guarantees. Do not route the action to a second provider while the original outcome remains unknown. Before failover, obtain confirmation that the original instruction was not executed and can no longer execute. A compensation procedure alone is insufficient because the first payment may complete and be irreversible.

Use circuit breakers and provider health signals to stop repeated calls during a sustained incident. Degraded mode might pause a capability, queue requests, use a pre-approved alternative route for eligible instructions that have not been submitted, or require manual approval, depending on the financial risk. Apply the same outcome checks before rerouting any previously submitted instruction. Preserve the original instruction and every recovery action so support and audit teams can reconstruct the incident.

Finally, reconcile asynchronous state to financial evidence. Match internal operations to provider transaction reports, settlement files and bank movements, with explicit in-transit and exception states. Alert on stale pending items, overdue unknown-outcome investigations, missing webhooks, duplicate events, state conflicts, retry exhaustion and unmatched value. Track time to completion and time to recovery by provider and operation. Reliable failure handling is achieved when the system can prove what happened, prevent duplicate financial effects and return unresolved cases to a named owner.

Test, Launch and Operate the Integration

Treat the unified API as a financial control surface, not only as middleware. Testing must prove that the same business instruction produces a traceable, authorised and reconcilable outcome across every underlying provider. Build the test plan from the canonical service contract, provider-specific differences and the risks identified for each payment, account-data, issuing or lending flow.

Use separate unit, contract, integration, security and end-to-end tests. Contract tests should confirm that each connector still accepts the expected request and returns data that maps to the canonical model. End-to-end tests should begin with a real business action and finish with the provider event, ledger entry, accounting output and customer-visible status. Cover normal transactions as well as rejected onboarding, expired consent, insufficient funds, duplicate requests, timeouts, rate limits, delayed webhooks, partial completion, provider maintenance and reconciliation breaks.

Test area

Minimum evidence

Functional

Supported operations, field validation, currency and amount rules, permissions and provider-specific limits

Failure and recovery

Idempotent retries, circuit breakers, queue replay, manual repair and no duplicate financial effect

Security

Scope enforcement, certificate and secret rotation, access logging, penetration testing and revoked-user behaviour

Performance

Peak throughput, provider rate limits, queue depth, latency and degradation under partial outage

Finance

Transaction-to-provider-to-bank matching, fees, reversals, adjustments and unresolved-item ownership

Do not rely on provider sandboxes alone. They may not reproduce production timing, fraud controls, consent journeys or settlement files. Use synthetic production checks where contracts and regulation permit, and conduct a controlled pilot with limited users, providers, transaction types and monetary values. Run the old and new reporting paths in parallel long enough to compare totals and exceptions.

Set objective go-live gates: required providers are onboarded, credentials and certificates are production-ready, data-protection and legal reviews are approved, monitoring and incident contacts are live, reconciliation balances, rollback works and operational owners have completed runbooks. Software rollback cannot reverse financial transactions that have already executed. Test that rollback preserves transaction records and allows pending operations, event processing and reconciliation to continue safely without duplicating instructions. Use a canary or staged rollout rather than moving all traffic at once. Expand only when success rate, latency, error rate, unmatched value and support demand remain within agreed thresholds.

Operate each connector with both technical and business service levels. Monitor availability, authentication failures, rate-limit responses, event lag, queue age and mapping errors. Also monitor payment completion, consent success, settlement timeliness, unreconciled value, provider fees and manual interventions. Correlate every metric with an internal request ID and the provider reference so an alert can be investigated without reconstructing the transaction.

  • Maintain provider-specific incident, degradation and failover playbooks with named decision owners.
  • Rotate secrets and certificates before expiry, test the new material, and revoke the old version promptly.
  • Track API versions, schema changes, new mandatory fields and provider deprecation dates through controlled releases.
  • Review routing rules, access scopes, data retention, subprocessors and provider permissions on a defined schedule.
  • Reconcile daily where money moves and age every unresolved exception until an authorised resolution is posted.

For regulated firms, using a unified API or outsourced connector does not transfer accountability for applicable FCA, outsourcing or operational-resilience obligations. Map relevant third-party dependencies to important business services where the rules apply, maintain usable exit and continuity plans, and assess whether an incident triggers contractual, customer or regulatory notification.

Finally, test portability. Keep canonical data, configuration, audit history and provider references exportable, and document how transaction history and pending operations will be preserved when replacing a connector. Do not assume that tokens, consents or provider-owned accounts are transferable: migration may require replacement credentials, fresh customer authorisation, new accounts or separate arrangements with the providers. Review performance and total cost after launch against the original business case. A unified integration remains successful only while it reduces change effort without hiding provider risk or weakening financial control.

Independent research

Ask AI whether Framnex fits your business.

Research Framnex with your preferred AI assistant and see where the platform may fit your client base, product and launch model.

The prompt will be prefilled. Review it before sending.

Next stepTurn your UK product requirements into a practical implementation plan.Discuss the infrastructure, partners and operating model for your use case.Book a discovery call