Markdown Editor

Open Banking API Design Template (PSD2, FAPI 2.0)

Open banking dedicated interface: PSD2/RTS, PSR and PSD3, FiDA and CFPB 1033 status, API standard choice, FAPI 2.0 controls, consent life cycle, SCA, TPP certificates, dashboards, reporting

Industry ArchitectureFullPSD2 and RTS (EU) 2018/389; FAPI 2.0 Security Profile (Final 2025); NextGenPSD2 1.3.16; UK Open Banking 4.0.1openbankingapidesign

How to use: Use it when a bank designs or renews the APIs through which licensed third parties access accounts and initiate payments. Fill the regulatory scope, the API standard decision and the consent model first. The main pitfall is treating the dedicated interface as a side project, so its availability, SCA journeys and revocation fall below the bank's own channels.

Preview

Open Banking API Design: [Bank or ASPSP name]

Solution design for the interfaces through which licensed third parties access customer accounts and initiate payments with the customer's consent. It covers the regulatory scope (PSD2 and its regulatory technical standards in the EU and EEA, the UK regime, the pending EU Payment Services Regulation and PSD3, the proposed EU financial data access framework and the US personal financial data rights rule), the choice of API standard (UK Open Banking Standard, Berlin Group NextGenPSD2 or a national standard), the security profile (FAPI 2.0 Security Profile, approved as Final on 19 February 2025, specification dated 22 February 2025), consent life cycle, strong customer authentication, third-party onboarding and certificates, dashboards and revocation, performance and availability reporting, fraud controls and conformance testing. Replace every [bracketed] value and every row marked Example. Legal obligations are summarised for design only: check the consolidated texts and your regulator's guidance. This is a documentation format, not legal advice.

Document control

FieldValue
Document ID[OBA-001]
Regulated entity and role[Legal name], [ASPSP / TPP / both]
Competent authority[Regulator name, country]
Markets in scope[EU/EEA countries / UK / US / other]
API standard and version[Example: Berlin Group NextGenPSD2 1.3.16 / UK Open Banking Read/Write API 4.0.1]
Security profile[Example: FAPI 2.0 Security Profile (Final)]
Version[0.1]
Status[Draft / In review / Approved / Superseded]
Owner[@open-banking-architect]
Approvers/reviewers[@head-of-digital], [@ciso], [@compliance-lead], [@dpo], [@payments-architect]
Classification[Internal / Confidential]
Last updatedYYYY-MM-DD

Approvals

RoleNameDecisionDate
Product owner, open banking[@name][Approve / Approve with conditions / Reject]YYYY-MM-DD
Security[@name][Decision]YYYY-MM-DD
Compliance[@name][Decision]YYYY-MM-DD
Data protection officer[@name][Opinion]YYYY-MM-DD
Architecture review board[@name][Decision]YYYY-MM-DD

Revision history

VersionDateAuthorChange summary
0.1YYYY-MM-DD[@name]First draft
0.2YYYY-MM-DD[@name]Example: Moved from FAPI 1.0 Advanced to FAPI 2.0 Security Profile
1.0YYYY-MM-DD[@name]Example: Approved for production launch

Contents

1. Regulatory scope

1.1 Applicable rules

IDRule (check the consolidated text)Design-relevant provisions, in briefStatus when checked
REG-001Directive (EU) 2015/2366 (PSD2)Article 65: confirmation of availability of funds; Article 66: access for payment initiation; Article 67: access for account information; Article 97: strong customer authentication; Article 98: technical standardsIn force, transposed nationally
REG-002Delegated Regulation (EU) 2018/389 (RTS on SCA and common secure communication), as amended by Delegated Regulation (EU) 2022/2360Articles 4 and 5: authentication code and dynamic linking; Articles 10 and 10a: account information exemption and 180-day renewal; Article 18: transaction risk analysis; Articles 30 to 36: access interfaces, dedicated interface obligations, contingency mechanism and its exemption, certificates and data exchange securityIn force
REG-003Payment Services Regulation (PSR) and Directive PSD3 (procedures 2023/0210(COD) and 2023/0209(COD))Expected changes to interface requirements, permission dashboards, fraud and liability rulesPolitical agreement 27 November 2025; texts approved in Parliament committee 5 May 2026; plenary vote indicated for December 2026; not published in the Official Journal when checked in October 2026
REG-004Proposed Regulation on a framework for financial data access (FiDA), COM(2023) 360Wider data scope beyond payment accounts, data sharing schemes, permission dashboardsProposal under negotiation; check the legislative observatory
REG-005UK regime: Payment Services Regulations 2017 and the FCA's SCA and secure communication rules; Open Banking StandardUK equivalents of REG-001 and REG-002[Check FCA and the UK open banking body]
REG-006US 12 CFR part 1033, personal financial data rights (CFPB final rule of 2024)Data access obligations for covered providersCompliance dates stayed by a federal court on 29 October 2025; CFPB reconsidering the rule after an advance notice of 22 August 2025
REG-007Regulation (EU) 2016/679 (GDPR)Lawful basis, transparency, data minimisation for shared dataIn force
REG-008Regulation (EU) 2022/2554 (DORA)ICT risk, incident reporting and resilience testing for the interfaceApplies from 17 January 2025

1.2 Scope decisions

IDDecisionReason
SCD-001 (Example)Offer account information, payment initiation and funds confirmation for all online-accessible payment accountsPSD2 Articles 65 to 67
SCD-002 (Example)Build the consent model so it can show all active permissions in one dashboardExpected under PSR and FiDA; good practice today
SCD-003 (Example)Design the data layer so that savings and loan accounts can be addedFiDA scope and premium API products
SCD-004 (Example)Do not serve US data recipients in this releaseREG-006 status uncertain; revisit after final reconsidered rule

2. Roles and ecosystem

RoleDescriptionTrust anchorBank checks
ASPSPAccount servicing payment service provider: the bank holding the accountOwn licenceNot applicable
AISPAccount information service providerLicence or registration in the home register; qualified certificateRole in certificate, registration status
PISPPayment initiation service providerLicence; qualified certificateRole, licence status
CBPIICard-based payment instrument issuer using funds confirmationLicence; qualified certificateRole, consent
Payment service userThe customer who gives consentBank authenticationStrong customer authentication
National register and EBA registerPublic registers of licensed providersRegulatorLookup at onboarding and periodically
Qualified trust service providerIssues qualified certificates with PSD2 roleseIDAS trust listCertificate chain and revocation
Directory (where a scheme runs one)Ecosystem directory of participants and keysScheme operatorSoftware statement and keys

3. API standard selection

OptionWhere it is usedVersion checkedNotes
UK Open Banking Standard (Read/Write APIs, security profile, directory, dynamic client registration, customer experience guidelines)UKRead/Write API 4.0.1; Dynamic Client Registration 3.3; MI reporting 3.1.11Includes customer experience guidelines that regulators treat as the benchmark
Berlin Group NextGenPSD2 (part of the openFinance API Framework)Many EU and EEA marketsImplementation Guidelines 1.3.16, published 2 December 2025Supports redirect, decoupled and embedded SCA approaches; national annexes for domestic payments
National standards (for example STET in France, Polish API)Specific markets[Check the current version]Use where the national market expects it
FDX APIUnited States, market-driven[Check the current version]Relevant if REG-006 obligations resume

Decision: [Example: Berlin Group NextGenPSD2 1.3.16 for EU markets with the national payment annex for SEPA Instant; FAPI 2.0 Security Profile for authorisation; no embedded SCA approach. Reason: market expectation in the bank's countries and lower phishing exposure with redirect and decoupled approaches.]

IDDeviation or extensionReasonPublished to TPPs
DEV-001 (Example)Funds confirmation limited to accounts with an online channelMatches the PSD2 scopeYes, in developer portal
DEV-002 (Example)Additional premium endpoint for transaction categorisationCommercial product outside the regulated scopeYes, under contract

4. API product catalogue

IDAPI productRegulated basisOperations (summary)Consumers
API-001 (Example)Account informationPSD2 Article 67Accounts, balances, transactions, consentsAISPs
API-002 (Example)Payment initiation, singlePSD2 Article 66Initiate, status, cancel where allowedPISPs
API-003 (Example)Payment initiation, instantPSD2 Article 66Initiate SEPA Instant, statusPISPs
API-004 (Example)Periodic and future-dated paymentsPSD2 Article 66Create, status, deletePISPs
API-005 (Example)Signing basketsStandard optionGroup payments for one authorisationPISPs, corporate TPPs
API-006 (Example)Confirmation of fundsPSD2 Article 65Yes or no answer for an amountCBPIIs
API-007 (Example)Premium data productsContractCategorised transactions, savings accountsContracted partners

Write the detailed specification of each product with the REST API specification template (architecture/rest-api-specification), keeping the standard's resource names.

5. Security profile

IDControl (FAPI 2.0 Security Profile, in brief)Enforced byTest
SEC-001Authorisation requests only through pushed authorisation requests (PAR)Authorisation serverConformance suite; negative test without PAR
SEC-002PKCE with the S256 method on every requestAuthorisation serverConformance suite
SEC-003Only the authorisation code flow; confidential clients onlyAuthorisation serverConformance suite
SEC-004Client authentication by mutual TLS or private_key_jwtAuthorisation server, gatewayConformance suite
SEC-005Sender-constrained access tokens by mutual TLS or DPoPAuthorisation server, gatewayReplay test with another key
SEC-006Issuer identifier returned in the authorisation response (RFC 9207)Authorisation serverConformance suite
SEC-007Short-lived authorisation codes (60 seconds at most) used onceAuthorisation serverReuse test
SEC-008TLS 1.2 or later per current best practice; only PS256, ES256 or EdDSA for signaturesGateway, authorisation serverTLS scan, key review
SEC-009Tokens accepted only in the authorisation header, never in query stringsGatewayNegative test
SEC-010Signed requests and responses where non-repudiation is needed (FAPI 2.0 Message Signing, Final: signed authorisation requests and responses, signed introspection responses)Authorisation serverConformance suite where available

Notes:

  • The OpenID Foundation approved FAPI 2.0 Security Profile and Attacker Model as Final on 19 February 2025 (specification dated 22 February 2025), and FAPI 2.0 Message Signing as Final in September 2025 (specification dated 25 September 2025). HTTP signatures for resource requests are in a separate draft specification; check its status before relying on it.
  • The working group recommends FAPI 2.0 for new ecosystems and a planned transition for ecosystems on FAPI 1.0 Advanced. Record which markets still require FAPI 1.0 and run both profiles only as long as needed.
  • Customer identity, authenticators and session design come from the CIAM solution design (security/ciam-solution-design).

6. Consent life cycle

IDConsent attributeRule
CON-001 (Example)ScopeAccounts and data clusters chosen by the customer; never more than the TPP requested
CON-002 (Example)ValidityEnd date as requested, within the limits the standard and the regulator allow
CON-003 (Example)Access frequency without customer presentLimit per day as set by the RTS and the standard
CON-004 (Example)RenewalRenewal follows the current RTS rule for account information access; record which party performs SCA
CON-005 (Example)Payment consentBound to the exact payee and amount through dynamic linking
CON-006 (Example)AuditEvery state change logged with actor, time, channel and reason

Events: consent.created, consent.authorised, consent.revoked, consent.expired, consent.suspended. Consumers include the gateway (to stop access within seconds), the customer dashboard and the audit store.

7. Strong customer authentication

7.1 Approaches

IDApproachDescriptionOffered
SCA-001 (Example)RedirectTPP redirects the customer to the bank's authorisation pages or app (app-to-app on mobile)Yes
SCA-002 (Example)DecoupledCustomer approves in the bank app on another device; TPP polls or receives a notificationYes
SCA-003 (Example)EmbeddedTPP collects credentials and passes them to the bankNo, phishing risk

7.2 Payment initiation flow

Example: a PISP initiates a SEPA Instant payment with the redirect approach and FAPI 2.0.

7.3 Exemptions

IDExemption (RTS article)AppliedMonitoring
EXM-001 (Example)Account information access within the renewal period (Articles 10 and 10a)YesCount of access without SCA per TPP
EXM-002 (Example)Trusted beneficiaries (Article 13)Yes, for payees the customer listed with SCAChanges to the list need SCA
EXM-003 (Example)Transaction risk analysis (Article 18)Yes, under the bank's reference fraud rateQuarterly fraud rate reporting
EXM-004 (Example)Low-value remote payments (Article 16)NoNot applicable

8. Third-party onboarding and certificates

IDStepControlSystem
ONB-001 (Example)RegistrationDynamic client registration with a signed software statement or certificateAuthorisation server
ONB-002 (Example)Identity checkQualified website authentication certificate (QWAC) chain to an eIDAS trust list; PSD2 roles and authorisation number in the certificateGateway
ONB-003 (Example)Licence checkLookup in the home national register and the EBA registerOnboarding service, refreshed daily
ONB-004 (Example)Signing certificateQualified electronic seal certificate (QSealC) where the standard requires signed requestsGateway
ONB-005 (Example)RevocationOCSP or CRL checks with caching; deny when the status is unknown beyond a toleranceGateway
ONB-006 (Example)Role changeLicence withdrawn or role removed leads to suspension of all clients of that TPPOnboarding service

Note: certificate profiles for PSD2 roles follow ETSI TS 119 495; check the current version and the trust list rules of each qualified trust service provider.

9. Dashboards and revocation

IDRequirementDesignTarget
DSH-001 (Example)Customer sees all active consents per TPPDashboard in app and web, reading the consent serviceAll consents, including expired in the last 90 days
DSH-002 (Example)Customer revokes accessRevoke action; consent.revoked eventGateway blocks access within 5 seconds
DSH-003 (Example)Customer understands what each TPP can seePlain-language description per data clusterReviewed with customer experience team
DSH-004 (Example)Bank informs TPP of revocationStatus visible through the consent status endpoint or event notificationNext call fails with a defined error

10. Platform architecture

IDComponentResponsibilityKey property
CMP-001 (Example)API gatewaymTLS termination, certificate validation, token validation, rate limits, routingLow latency, high availability
CMP-002 (Example)Authorisation serverPAR, authorisation, token issuance, client registryFAPI 2.0 certified
CMP-003 (Example)Consent serviceConsent records, state machine, events, dashboard APISystem of record for consents
CMP-004 (Example)Account adapterMaps standard resources to core account APIsRead-heavy, cacheable within freshness limits
CMP-005 (Example)Payment adapterMaps payment resources to the payments hub canonical modelIdempotent, exactly-once submission
CMP-006 (Example)Developer portal and sandboxDocumentation, test data, onboardingMatches production behaviour
CMP-007 (Example)Monitoring and reportingAvailability, performance and error statistics per interfaceComparable to own channels

The payment adapter maps to the ISO 20022 canonical model of the payments hub (industry/iso20022-payments-design); the gateway follows the API management platform design (architecture/api-management-platform-design).

11. Performance, availability and reporting

IDMetricDedicated interface targetOwn channel comparisonReporting
PRF-001 (Example)Availability per month99.9 percent or better, and not lower than own channelsSame probes against own channel APIsQuarterly statistics to the regulator and published as required
PRF-002 (Example)Response time, account information95th percentile under 750 msSame metric on mobile back endMonthly
PRF-003 (Example)Response time, payment initiation95th percentile under 1 second excluding customer SCA timeSame metric on own paymentsMonthly
PRF-004 (Example)Error rateUnder 0.5 percent of callsSame metricMonthly
PRF-005 (Example)Planned downtime noticeCommunicated to TPPs in advance as the standard requiresNot applicableDeveloper portal

Contingency: describe the fallback the RTS requires if the dedicated interface fails, or the exemption granted by the competent authority under Article 33(6), with its conditions and how they are monitored.

12. Fraud, abuse and rate limiting

IDThreatControlOwner
FRD-001 (Example)Scam payments initiated through a PISPSame real-time fraud scoring as own channels, with TPP identity as a featureFraud team
FRD-002 (Example)Excessive polling of account data without the customer presentRate limit per consent and per day as allowed by the RTS; clear error codesGateway team
FRD-003 (Example)Compromised TPP credentialsSender-constrained tokens; anomaly detection per client; fast suspensionSecurity operations
FRD-004 (Example)Consent phishingClear TPP name and data scope on the authorisation screen; no embedded approachCustomer experience
FRD-005 (Example)Denial of servicePer-client quotas, WAF, autoscalingPlatform team

Blocking a TPP needs a documented reason and, where the rules require it, notification to the competent authority. Scoring design: fraud detection design (system-design/design-fraud-detection). Threat analysis: threat model (security/threat-model).

13. Testing and conformance

IDTestScopeEvidence
TST-001 (Example)OpenID Foundation FAPI 2.0 conformance testsAuthorisation server, all client authentication and sender-constraint options offeredPublished certification or test logs
TST-002 (Example)API standard conformanceAll endpoints against the standard's schemas and rulesConformance report
TST-003 (Example)Customer journey testsRedirect and decoupled SCA on iOS, Android and web, app-to-appRecorded test runs
TST-004 (Example)Negative security testsToken replay, PAR bypass, code reuse, certificate with wrong rolePen test report
TST-005 (Example)Performance parityPRF-001 to PRF-004 against own channelsLoad test report
TST-006 (Example)Market testing with TPPsAt least [number] TPPs per product before launchTest feedback log

14. Operations and incident handling

IDProcessDesignOwner
OPR-001 (Example)TPP supportTicketing through the developer portal; response times publishedOpen banking operations
OPR-002 (Example)Incident communicationStatus page for TPPs; notification on degradationService management
OPR-003 (Example)Major ICT incident reportingClassification against DORA criteria and reporting through the bank's incident processOperational risk
OPR-004 (Example)Change managementAdvance notice of breaking changes; versioned endpoints; sandbox firstAPI product owner
OPR-005 (Example)Certificate and key managementExpiry monitoring for gateway and signing keysSecurity operations

15. Traceability matrix

RequirementDesign elementsTestsStatus
REG-001 Articles 65 to 67API-001 to API-006TST-002, TST-003[Open / Passed]
REG-001 Article 97 and REG-002 Articles 4, 5SCA-001, SCA-002, CON-005TST-003, TST-004[Open / Passed]
REG-002 Articles 10, 10a, 13, 18EXM-001 to EXM-003, CON-004TST-003[Open / Passed]
REG-002 Articles 30 to 36CMP-001, ONB-002 to ONB-005, PRF-001 to PRF-005TST-005, TST-006[Open / Passed]
Security profileSEC-001 to SEC-010TST-001, TST-004[Open / Passed]
REG-007CON-001, DSH-001 to DSH-003Privacy review[Open / Passed]
REG-008OPR-002, OPR-003Incident exercise[Open / Passed]

16. Glossary and references

16.1 Glossary

TermMeaning
ASPSPBank or provider that holds the customer's payment account
TPPThird-party provider: an AISP, PISP or CBPII
SCAStrong customer authentication with two independent factors
Dynamic linkingBinding the authentication code to the payee and amount of a payment
PARPushed authorisation request: the client sends the request to the server before redirecting the user
DPoPDemonstrating proof of possession: a method to bind tokens to a client key
QWAC, QSealCQualified certificates for website authentication and electronic seals under eIDAS
Dedicated interfaceThe API the bank provides to TPPs instead of screen access

16.2 References

ReferenceVersion or dateUse
FAPI 2.0 Security Profile and Attacker Model, OpenID Foundation, openid.netFinal; approved 19 February 2025, specification dated 22 February 2025Section 5
FAPI 2.0 Message Signing, OpenID FoundationFinal; approved September 2025, specification dated 25 September 2025SEC-010
Berlin Group NextGenPSD2 Implementation Guidelines, berlin-group.org1.3.16, 2 December 2025Section 3
UK Open Banking Standard, standards.openbanking.org.ukRead/Write API 4.0.1Section 3
Directive (EU) 2015/2366, Delegated Regulations (EU) 2018/389 and 2022/2360, EUR-LexConsolidated textsSections 1, 7, 11
PSR and PSD3 procedure files, European Parliament legislative observatoryChecked October 2026REG-003
CFPB personal financial data rights page, consumerfinance.govChecked October 2026REG-006

Standard and licence note

Based on Directive (EU) 2015/2366 (PSD2), Delegated Regulation (EU) 2018/389 as amended, the OpenID Foundation FAPI 2.0 Security Profile and Message Signing specifications, and the public UK Open Banking Standard and Berlin Group NextGenPSD2 documentation, with status notes on the EU Payment Services Regulation and PSD3, the proposed financial data access regulation and the US personal financial data rights rule. Legal provisions and specification requirements are summarised in original wording; no text of the laws or specifications is reproduced. Check the consolidated legal texts, the regulator's guidance and the current specification versions before use, because several of these regimes are changing. This is a documentation format, not legal advice. Open Banking, Berlin Group, FAPI and OpenID are trademarks of their owners; this template is not affiliated with or endorsed by them. Template licence: MIT.

Related templates