Open Banking Api Security Standards .

OPEN BANKING API SECURITY STANDARDS: LEGAL FRAMEWORK, CYBERSECURITY OBLIGATIONS AND JUDICIAL PRECEDENTS

1. INTRODUCTION

Open Banking API Security Standards refer to the technical, operational and legal requirements governing secure communication between banks, financial institutions, authorised third-party providers and customers through Application Programming Interfaces (APIs). Open banking enables customers to share financial information and initiate payment transactions through authorised external service providers without requiring direct access to traditional banking infrastructure.

In Spain, open banking security is primarily governed by European Union legislation, particularly the Revised Payment Services Directive (PSD2), the General Data Protection Regulation (GDPR), and regulatory technical standards on strong customer authentication and secure communication.

The purpose of these standards is to prevent unauthorised access, financial fraud, identity theft, data leakage, payment manipulation and cyberattacks. Banks must ensure that API connections maintain confidentiality, integrity, availability and accountability while protecting customers' financial information.

2. LEGAL FRAMEWORK GOVERNING OPEN BANKING API SECURITY IN SPAIN

A. Revised Payment Services Directive (EU) 2015/2366 (PSD2): PSD2 establishes the legal framework for payment initiation services, account information services and secure access to payment accounts. It requires payment service providers to implement appropriate security measures and protect customers against unauthorised transactions.

B. Commission Delegated Regulation (EU) 2018/389: This regulation establishes Regulatory Technical Standards (RTS) for strong customer authentication (SCA) and common and secure open standards of communication. It provides requirements concerning authentication, secure API communication, confidentiality and protection against unauthorised access.

C. General Data Protection Regulation (EU) 2016/679: GDPR regulates the processing of personal financial information. Articles 5 and 6 establish principles and lawful bases for processing, while Articles 25, 32 and 33 address data protection by design, security of processing and personal data breach notification.

D. Spanish Organic Law 3/2018: This legislation supplements GDPR in Spain and establishes national data protection provisions relevant to financial information and digital banking services.

E. Spanish Law 10/2014 on the Regulation, Supervision and Solvency of Credit Institutions: It establishes important requirements concerning the supervision and governance of Spanish credit institutions.

F. Digital Operational Resilience Act (DORA), Regulation (EU) 2022/2554: Applicable since 17 January 2025, DORA establishes requirements for ICT risk management, incident reporting, resilience testing and third-party ICT risk management in the financial sector.

G. European Banking Authority Guidelines: EBA guidelines and regulatory materials provide additional supervisory expectations concerning ICT security, outsourcing, authentication and operational risk management.

3. TECHNICAL SECURITY REQUIREMENTS FOR OPEN BANKING APIs

Open banking APIs must incorporate multiple security layers to prevent unauthorised access and manipulation.

A. Strong Customer Authentication: Banks must implement authentication using at least two independent elements from the categories of knowledge, possession and inherence, subject to applicable exemptions under PSD2 and the RTS.

B. OAuth 2.0 and OpenID Connect: These protocols are commonly used to manage authorisation, identity verification and secure access delegation. They help ensure that third-party providers receive only the permissions necessary to perform authorised activities.

C. Mutual Transport Layer Security (mTLS): Mutual TLS enables both communicating systems to authenticate each other through digital certificates, strengthening protection against impersonation and unauthorised API connections.

D. API Access Tokens: Banks should use secure, short-lived access tokens, appropriate scopes and controlled refresh-token mechanisms. Sensitive credentials must not be exposed through insecure storage or communication channels.

E. Encryption: Financial information must be protected during transmission and storage using appropriate cryptographic safeguards.

F. Rate Limiting and Monitoring: API providers should monitor unusual request patterns, excessive authentication attempts and suspicious transaction activity to detect automated attacks and denial-of-service attempts.

G. Consent Management: Third-party access must remain within the customer's valid authorisation and the applicable legal permissions. Banks should provide mechanisms for managing and withdrawing access where required.

4. BANK LIABILITY AND CUSTOMER PROTECTION

Open banking creates legal responsibilities for banks, account servicing payment service providers, payment initiation service providers and account information service providers.

Under PSD2, account servicing providers must provide access to authorised third-party providers in accordance with applicable regulatory requirements. Payment initiation providers and account information providers also have their own statutory responsibilities.

Where an unauthorised payment transaction occurs, Articles 72 and 73 of PSD2 establish important evidentiary and reimbursement rules. Article 72 addresses proof of authentication and execution, while Article 73 establishes reimbursement obligations for unauthorised transactions, subject to the applicable legal conditions.

A bank cannot automatically establish customer authorisation merely by demonstrating that an API authentication procedure was technically completed. The circumstances of the transaction, security records and evidence of customer consent must also be assessed.

5. CYBERSECURITY RISKS AND REGULATORY CHALLENGES

Open banking APIs face several cybersecurity threats:

API credential theft and unauthorised account access.

Man-in-the-middle attacks and interception of financial communications.

Authentication bypass and session hijacking.

Malicious third-party applications.

Personal financial data leakage.

API injection and software vulnerabilities.

Payment initiation manipulation.

Excessive data collection and misuse of customer permissions.

Banks should conduct regular vulnerability assessments, penetration testing, security audits, incident response exercises and third-party risk assessments.

Under DORA, financial institutions must maintain appropriate ICT risk management frameworks and establish procedures for managing major ICT-related incidents and operational disruptions.

6. IMPORTANT CASE LAWS

1. Peter P. v. European Commission (CJEU, Case C-301/20, 2022): This case is not a direct open banking API security precedent and should not be cited as establishing a PSD2 cybersecurity obligation. The relevant legal principles must instead be derived from PSD2 and its implementing legislation.

2. Google Spain SL and Google Inc. v Agencia Española de Protección de Datos and Mario Costeja González (CJEU, C-131/12, 2014): The Court recognised important data protection rights concerning personal information and its processing. Its principles are relevant to the protection and control of personal financial information in open banking environments.

3. Österreichische Post AG (CJEU, C-300/21, 2023): The Court clarified the conditions for compensation under GDPR Article 82, including the requirement for actual damage and a causal connection with a GDPR infringement. This is relevant when financial data is exposed through insecure API systems.

4. Meta Platforms Ireland Ltd v Bundeskartellamt (CJEU, C-252/21, 2023): The Court examined the relationship between competition law and GDPR requirements, including the legal basis for processing personal data. Its reasoning is relevant to data processing practices by financial technology platforms.

5. Wirtschaftsakademie Schleswig-Holstein GmbH (CJEU, C-210/16, 2018): The Court examined joint controllership under data protection law. This principle is relevant where banks and third-party providers jointly determine purposes and means of processing financial information.

6. Fashion ID GmbH & Co. KG v Verbraucherzentrale NRW eV (CJEU, C-40/17, 2019): The Court clarified the circumstances in which organisations may be joint controllers when personal information is collected and transmitted to third parties. This is relevant by analogy to data-sharing arrangements involving banking APIs.

7. Natsionalna agentsia za prihodite (National Revenue Agency) (CJEU, C-340/21, 2023): The Court examined personal data breaches, appropriate security measures and compensation under GDPR. It clarified that a cyberattack by a third party does not automatically establish that the controller's security measures were appropriate. This is particularly relevant to banks experiencing API-related data breaches.

7. COMPLIANCE OBLIGATIONS FOR SPANISH BANKS

Spanish banks and authorised payment service providers should establish a comprehensive API security governance framework.

Important compliance requirements include:

Implementing strong customer authentication under PSD2.

Maintaining secure API communication channels.

Verifying third-party provider authorisation.

Applying data minimisation and purpose limitation.

Maintaining accurate consent and access records.

Conducting regular security testing.

Monitoring suspicious API requests and payment activities.

Maintaining incident reporting and recovery procedures.

Managing external technology and cloud service providers under DORA.

Protecting customer information in accordance with GDPR and Spanish data protection legislation.

Banks should also maintain appropriate audit trails demonstrating who accessed customer information, which permissions were granted and whether the API activity was authorised.

8. CONCLUSION

Open Banking API Security Standards are essential for maintaining trust, financial stability and consumer protection in Spain's digital banking environment. PSD2, GDPR, Delegated Regulation 2018/389 and DORA collectively establish a comprehensive framework for secure financial data sharing and electronic payment services.

The judicial decisions discussed demonstrate that financial institutions and technology providers must respect data protection principles, establish appropriate security measures and maintain accountability for personal information processing.

Effective open banking security requires more than technical authentication. It requires continuous cybersecurity monitoring, transparent customer consent, reliable third-party verification, secure API architecture and effective incident management. Compliance with these requirements enables Spanish financial institutions to support innovation while protecting customers against cybercrime, unauthorised transactions and misuse of financial data.

LawGratis provides pro bono legal aid and resources to empower communities. Join us in making justice reachable for everyone! Follow our community on Instagram, YouTube, Facebook, and LinkedIn.

LEAVE A COMMENT