Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel1
stylenone

1. Version Control

Version

Date

Description of Changes

Bahrain OBF v1.0.0

25th Aug 2020

Initial Release

2. Overview

The Operational Guidelines set out criteria, guidance and requirements for Account Servicing Payment Service Providers (“ASPSPs”) to deliver an effective Open Banking ecosystem and meet the needs of Account Information Service Providers (“AISPs”) and Payment Initiation Service Providers (“PISPs”) in providing services to users/customers.

...

  • Improve efficiencies: Minimize the potential impact to a business when systems or supporting networks are down (including instances where they have not been tested appropriately).

  • Reduced Reputational Risk: Protect the reputation of ASPSPs/AISPs/PISPs and the Open Banking ecosystem as a whole.

3. Availability and Performance

This section outlines various API availability and performance requirements and recommendations for ASPSPs in Bahrain. AISPs and PISPs are dependent on the well-established interfaces provided by ASPSPs so that they can in turn provide reliable services to their users/customers.

3.1 Key Indicators for Availability and Performance

The following tables set out, for each requirement:

...

Additionally, the guiding principle of these benchmarks is that ASPSPs must ensure (at least) parity between the availability and performance of the best performing interface (that they own and maintain to interact directly with customers) and that of their Open Banking interface which may be leveraged by AISP/PISPs.

3.1.1 Availability

The definition of a period of availability is a period of time when any of the API end points defined in the Bahrain Open Banking Framework (Bahrain OBF) are able to reliably provide a successful response to an appropriately constructed request.

...

[1] This is the benchmark for business as usual/normal conditions and not in cases of force majeure events such as natural calamities, war, cyber threats etc.

3.1.2 Performance

The Bahrain OBF defines a number of endpoints which should be made available by ASPSPs. The Performance of API end points should be measured in response time of individual API requests from receipt of request to delivery of response. While all supported endpoints should be included by ASPSPs when calculating error rates, for reporting response times the consent endpoints should be ignored, as these are not considered part of the process of 'providing the information requested' to the AISP/ PISP for account information or payment initiation.

...

Title

Requirement

Calculation Guidelines

Recommended Benchmark

PISP response time

For the purpose of calculating the performance indicators, the ASPSP should:

a)    calculate the daily average time (in milliseconds) taken, per request, for the ASPSP to PISP with all the information requested

The "time taken per request" should be calculated for each day using the mean value of Time to Last Byte (TTLB) measured in milliseconds, starting from the time that each endpoint request has been fully received by the ASPSP and stopping when the last byte of the response message has been transmitted to the PISP.

The following API endpoints should be included when calculating PISP response times, for each endpoint supported by the ASPSP:

  • POST /domestic-payments

  • GET /domestic-payments/{DomesticPaymentId}

  • GET /domestic-payments/{DomesticPaymentId}/payment-details

  • POST /domestic-future-dated-payments

  • GET /domestic-future-dated-payments/{DomesticFutureDatedPaymentId}

  • GET /domestic-future-dated-payments/{DomesticFutureDatedPaymentId}/payment-details

  • PATCH  /domestic-future-dated-payments/{DomesticFutureDatedPaymentId}

  • POST /international-payments

  • GET /international-payments/{InternationalPaymentId}

  • GET /international-payments/{InternationalPaymentId}/payment-details

  • POST /file-payments

  • GET /file-payments/{FilePaymentId}

  • GET /file-payments/{FilePaymentId}/report-file

  • GET /file-payments/{FilePaymentId}/payment-details

The ASPSPs signed response to the POST will inherently act as proof of receipt of the payment order by the ASPSP, which will enable the PISP to log a reference and the date of this receipt. Both the POST and the GET endpoints contain all information relating to the payment, which, depending on the payment type, should include reference, amount, exchange rate, charges, and status (which may change between POST and any subsequent GET).

The POST endpoints above cater for the ASPSP to make the information available to the PISP immediately after receipt of the payment order, and the provision of all information on the initiation of the payment transaction and all information accessible to the ASPSP regarding the execution of the payment transaction. The GET endpoints cater for the ASPSP to provide confirmation to the PISP that payment initiation has been successful, in order to enable the PISP to provide this information to the user/customer.

Since different endpoints will have different payload sizes for request and response (especially relevant for bulk/batch payment endpoints involving large files), and in order to facilitate a 'like for like' comparison with user/customer interfaces, ASPSPs should report on the average time per megabyte (MB). This can be calculated by dividing the total response time in milliseconds by the total payload response size in MB, across all API calls for all API endpoints for each day.

An average TTLB of 750 milliseconds per response for all but bulk/batch payments.

AISP response time

For the purpose of calculating the performance indicators, the ASPSP should:

a)    calculate the daily average time (in milliseconds) taken, per request, for the ASPSP to provide the AISP with all the information requested

The "time taken per request" should be calculated for each day using the mean value of Time to Last Byte (TTLB) measured in milliseconds, starting from the time that each endpoint request has been fully received by the ASPSP and stopping when the last byte of the response message has been transmitted to the AISP.

The following API endpoints should be included when calculating AISP response time, for each endpoint supported by the ASPSP:

  • GET /accounts

  • GET/accounts/{accountsId}

  • GET /accounts/{AccountId}/balances

  • GET /balances

  • GET /accounts/{AccountId}/beneficiaries

  • GET /beneficiaries

  • GET /accounts/{AccountId}/direct-debits

  • GET /direct-debits

  • GET/accounts/{accountsId}/offers

  • GET/offers

  • GET /accounts/{AccountId}/parties

  • GET /accounts/{AccountId}/party

  • GET /accounts/party

  • GET /accounts/{AccountId}/supplementary-account-info

  • GET /accounts/{AccountId}/statements

  • GET /accounts/{AccountId}/statements/{StatementId}

  • GET /accounts/{AccountId}/statements/{StatementId}/file

  • GET/accounts/{accountsId}/transactions

  • GET/transactions

  • GET/accounts/{AccountId}/standing-orders

  • GET /standing-orders

  • GET /accounts/{AccountId}/future-dated-payments

  • GET /future-dated-payments

Since different endpoints will have different payload sizes for request and response, and in order to facilitate a 'like for like' comparison with user/customer interfaces, it is recommended that ASPSPs also report on the average time per megabyte (MB). This can be calculated by dividing the total response time in milliseconds by the total payload response size in MB, across all API calls for all API endpoints for each day.

An Average TTLB of 750 milliseconds per response, or per page of results for up to 100 records for larger payloads. In practice, all but transactions and statements are likely to be small payloads without pagination.

Confirmation of Funds (CoF) response time (PISP)

For the purpose of calculating the performance indicators, the ASPSP should:

 

a)    calculate the daily average time (in milliseconds) taken, per request, for the ASPSP to provide the PISP with a ‘yes/no’ confirmation

 

The "time taken per request" should be calculated for each day using the mean value of Time to Last Byte (TTLB) measured in milliseconds, starting from the time that each endpoint request has been fully received by the ASPSP and stopping when the last byte of the response message (i.e. the 'yes/no' confirmation) has been transmitted to the PISP.

The following API endpoints should be included when calculating CoF response times for PISP:

  • GET /domestic-payment-consents/{ConsentId}/funds-confirmation

  • GET /international-payment-consents/{ConsentId}/funds-confirmation

An average TTLB of 300 and a max of 500 ms per response.

Daily error response rate

For the purpose of calculating the performance indicators, the ASPSP should:

 a) Calculate the daily error response rate – calculated as the number of error messages concerning errors attributable to the ASPSP sent by the ASPSP to the PISPs, or AISPs per day, divided by the number of requests received by the ASPSP from PISPs or AISPs in the same day

 

It is not possible for ASPSPs to respond to AISPs/PISPs with an error message where no TLS (Transport layer security) session has been established. However, ASPSPs should still be able to respond, measure and report on errors relating to endpoint calls and all functional API calls.

The error response rate should be calculated as the total number of all 5xx HTTP status codes from all API endpoints per day, divided by the total number of AISP/PISP API requests received across all of these endpoints in the same day, and expressed as a percentage.

Errors based on 4xx HTTP status codes are largely attributable to AISP/PISP or user/customer actions or failures, and hence should not be included here.

An average of 0.5% across all endpoints.

3.2 Traffic Thresholds

The CBB may leverage the monitoring reports submitted by the ASPSPs and other parties, to decide on the traffic thresholds. Basis the usage and adoption of these APIs, the related structures for threshold limits may be established on a future date.  

Until the CBB decides on these thresholds, ASPSPs must provide data access to AISPs/PISPs through API calls without any limits or charges.

3.3 Publication of Statistics

ASPSPs must publish to the CBB, statistics on the availability and performance of APIs on a monthly basis as set out in these guidelines.

These statistics should be completed for every API. In case where an ASPSP maintains different versions of their APIs in parallel, then these should be considered as separate APIs and published separately, as they may have different levels of availability and performance.

3.3.1 ASPSP Reporting

The table below provided description/guidance for calculating each element in regard to user/customer interface availability and performance:

...

#

Field Name

Description/ Definition

1

Performance and Availability

1.1

ReportDate

The reported date for each calendar day.

1.2

Entity Name

Reporting entity’s name.

1.3

Endpoint ID

Reported EndPoint ID as defined in the API Endpoint List of the Reporting Template. ASPSPs/ AISPs/ PISPs must only report endpoints that have gone live in their systems.

1.4

Uptime 

Uptime per each individual endpoint in hours and minutes. (Elapsed time)
For endpoints to be reported as available (uptime), they need to be fully operational in terms of fulfilling their functionality and being able to respond back to the requesting AISP/PISP. (i.e. no technical 5xx failures)

Calculated as 100% minus the total percentage downtime for each day.

1.5

Planned Downtime

Any planned duration that the API endpoints become unavailable. For the avoidance of doubt, this extends to include all systems that are required for the relevant endpoint to be fully functional.

1.6

Unplanned Downtime

Any unplanned duration that the API endpoints become unavailable due to technical faults or any other reasons. For the avoidance of doubt, this extends to include all systems that are required for the relevant endpoint to be fully functional.

1.7

Max Payment Initiations Per Second (PIPS)

This field is only applicable to Payment Initiation Service (PIS) endpoints. For Account Information Service (AIS) endpoints it should be populated with NULL. The maximum number of successful payment initiations per second (PIPS) for the payment order POST API calls. The PIPS must be reported as whole numbers. 

1.8

Average TTLB Response Time (Time to Last Byte)

The average (mean) value across all values of Time to Last Byte (TTLB) response time for each API endpoint. The response time clock should start at the point the endpoint call is fully received by the ASPSP and should stop at the point the last byte of the response message is transmitted to the AISP or PISP.
The response time must be reported in milliseconds.

1.9

Highest TTLB Response Time (Time to Last Byte)

The highest value of Time to Last Byte (TTLB) response time for each API endpoint. The response time clock should start at the point the endpoint call is fully received by the ASPSP and should stop at the point the last byte of the response message is transmitted to the AISP or PISP. The response time must be reported in milliseconds.

1.10

Lowest TTLB Response Time (Time to Last Byte)

The lowest value of Time to Last Byte (TTLB) response time for each API endpoint. The response time clock should start at the point the endpoint call is fully received by the ASPSP and should stop at the point the last byte of the response message is transmitted to the AISP or PISP. The response time must be reported in milliseconds.

1.11

Average TTFB Response Time (Time to First Byte)

The average (mean) value across all values of Time to First Byte (TTFB) response time for each API endpoint. The response time clock should start at the point the endpoint call is fully received by the ASPSP. The response time must be reported in milliseconds.

1.12

Highest TTFB Response Time (Time to First Byte)

The highest value of Time to First Byte (TTFB) response time for each API endpoint. The response time clock should start at the point the endpoint call is fully received by the ASPSP. The response time must be reported in milliseconds.

1.13

Lowest TTFB Response Time (Time to First Byte)

The lowest value of Time to First Byte (TTFB) response time for each API endpoint. The response time clock should start at the point the endpoint call is fully received by the ASPSP. The response time must be reported in milliseconds.

1.14

Total Number of API calls

This is the total number of API calls per day per endpoint.

1.15

Total TTLB Response Time (Time to Last Byte)

This is the sum of all the TTLB responses of all endpoint calls of each endpoint type. For the avoidance of doubt, this is the sum of all the TTLB response times generated by the total number of API calls for each endpoint.

1.16

Total TTFB Response Time (Time to First Byte)

This is the sum of all the TTFB responses of all endpoint calls of each endpoint type. For the avoidance of doubt, this is the sum of all the TTFB response times generated by the total number of API calls for each endpoint.

1.17

Total ResponsePayload Size

This is the sum of the payload of all the response messages for all endpoint calls of each endpoint type. For the avoidance of doubt, this is the sum of all the payloads of the response messages generated by the total number of API calls for each endpoint.

2

Authentication

2.1

ReportMonth

Reported calendar month and year (from 1st day of the month starting from 00:00:00 till last day of the month 23:59:59).

2.2

Entity Name

Reporting entity’s name.

2.3

Authentication Type

This is the type of authentication journeys provided by the ASPSP. It will include 'redirection' and where implemented 'decoupled' model.

2.4

API Type

This is the type of services that are being reported for the efficacy of the authentication journey. It includes Account Information Services (AIS) and Payment Initiation Services (PIS). 

2.5

API Request AISP/PISP Channel

This is the reported AISP/PISP channel for initiating the AIS or PIS consent. This may be provided by AISP/PISPs in the endpoint Request Header under the field 'x-customer-user-agent'. If the string cannot be mapped to a browser, then it will be a mobile app.

2.6

ASPSP Authentication Channel

This is the reported ASPSP Authentication channel. It can be web-based (Web) or using the mobile banking app (App).

2.7

Consents requiring Authentication

The total number of user/customer consents to require authentication at the ASPSP for the particular combination of authentication type, API type, AISP/PISP channel and ASPSP authentication channel.

2.8

Authentications Attempted by users/customers

The total number of authentications that have been attempted by the users/customers (not abandoned). This means that the Users/ Customers have tried to authenticate according to the authentication method required providing biometrics, username, passwords etc.

2.9

Authentications Abandoned by users/customers

The total number of user/customer consents to require authentication that has been abandoned by the users/customers.

2.10

Authentications Succeeded

The total number of consents requiring authentication that have completed authentications by users/customers and the authentications have succeeded.

2.11

Authentications Failed

The total number of consents requiring authentication that have completed authentications by users/customers and the authentications have failed.

2.12

Confirmations Required

The total number of consents requiring authorization, that after successful authentication, required a confirmation step.

2.13

Confirmations Accepted by user/customer

The total number of successful authentications that required a confirmation step and have been accepted by users/customers. This means that the users/customers proceeded with the access request or the payment order submission and did not cancel the process.

2.14

Confirmations Rejected by users/customers

The total number of successful authentications that required a confirmation step and have been rejected by users/customers. This means that the users/customers cancelled the process and did not proceed with the access request or the payment order submission.

2.15

Average Authentication Response Time
(Time taken for authentication)

The average (mean) value across all values of authentication response time for each API endpoint. The response time clock should start when the authentication process has started and should stop when the authentication process has completed/ended. The response time must be reported in milliseconds.

3

User/ Customer Volumes

3.1

ReportMonth

Reported calendar month and year (from 1st day of the month starting from 00:00:00 till last day of the month 23:59:59).

3.2

Entity Name

Reporting entity’s name.

3.3

Retail/Business user/customer

This identifies Retail and Business users/customers for separate reporting.

3.4

User/Customer used AIS for the first time

The number of unique users/customers who have authorised access to their account(s) to one or more AISPs for account information services for the first time during the reporting period. For the avoidance of doubt, this refers to new consent/authorisations and not re-authorisations.

3.5

User/Customer re-authorised for using AIS

The total number of unique users/customers who have previously authorised access to their account(s) to one or more AISPs for account information services and had to re-authenticate to refresh the account access at least for one of the AISPs during the reporting period.

3.6

Total users/customers used AIS 

The total number of unique users/customers who:

a. have authorised access to their account(s) to one or more AISPs for account information services during the reporting period for the first time.

b. have previously authorised access to their account(s) to one or more AISPs for account information services and had their account accessed at least once by any of the AISPs during the reporting period.

c. have previously authorised access to their account(s) to one or more AISPs for account information services and had to re-authenticate to refresh the account access at least for one of the AISPs during the reporting period.

3.7

User/Customer used PIS for the first time

The number of unique user/customer who have authorised a payment initiation of any type from any of their account(s) via one or more PISPs for the first time during the reporting period. For the avoidance of doubt, a user/customer initiating a payment (e.g. single domestic) using a PISP A and then initiating another payment of different type (e.g. international) using a PISP B within the same ASPSP , should not be double-counted. For business customers, unique users/customers should refer to all employees of the business who have separate authentication credentials and can be identified separately. Multi-banked users/customers cannot be identified so they may be double-counted by different ASPSPs.

3.8

Total users/customers used PIS 

The total number of unique users/customers who:

a. have authorised a payment initiation of any type from any of their account(s) via one or more PISPs for the first time during the reporting period.

b. have authorised a payment initiation of any type from any of their account(s) via one or more PISPs during the reporting period and have initiated payments using PIS services before.

3.9

Unique users/customers used both AIS and PIS for the first time

Users/Customers accessing both AIS and PIS using the same authentication credentials.

3.10

Total unique users/customers used both AIS and PIS

Total users/customers accessing both AIS and PIS using the same authentication credentials. 

3.11

Total new users/customers for Online Banking

The number of unique users/customers who have been granted access to Online Banking for the first time.

3.12

Total new users/customers for Mobile Banking

The number of unique users/customers who have been granted access to Mobile Banking for the first time.

3.13

Total number of users/customers used Online Banking

The total number of unique users/customers who have used the Online Banking service for either accessing account information or initiating a payment.

3.14

Total number of users/customers used Mobile Banking

The total number of unique users/customers who have used the Mobile Banking service for either accessing account information or initiating a payment.

4

AISP/PISP Volumes

4.1

ReportMonth

Reported calendar month and year (from 1st day of the month starting from 00:00:00 till last day of the month 23:59:59).

4.2

Entity Name

Reporting entity’s name.

4.3

Total AISPs Registered (at 1st of the month) 

This is the cumulative total number of AISP’s, that have been already been on-boarded into the live environment (i.e. production environment) with the ASPSP as at the 1st of the reported month.

4.4

AISP Additions

This is the number of AISPs that have been on-boarded into the live environment (i.e. production environment) during the reported month.

4.5

AISP Deregistrations

This is the number of AISPs, that have been deregistered with the ASPSP during the reported month.

4.6

Cumulative Monthly number of AISPs 

This is the cumulative total number of AISP’s, that have been already been on-boarded into the live environment (i.e. production environment) with the ASPSP as at the end of the reported month.

4.7

Total PISPs Registered (at 1st of the month)

This is the cumulative total number of PISP’s, that have been already been on-boarded into the live environment (i.e. production environment) with the ASPSP as at the 1st of the reported month.

4.8

PISP Additions

This is the number of PISPs that have been on-boarded into the live environment (i.e. production environment) during the reported month.

4.9

PISP Deregistrations

This is the number of PISPs, that have been deregistered with the ASPSP during the reported month.

4.10

Cumulative Monthly number of PISPs 

This is the cumulative total number of PISP’s, that have been already been on-boarded into the live environment (i.e. production environment) with the ASPSP as at the end of the reported month.

5

Daily Volumes

5.1

ReportDate

The reported date for each calendar day.

5.2

Entity Name

Reporting entity’s name.

5.3

Endpoint ID

Reported EndPoint ID as defined in the API endpoint list of the Reporting Template. ASPSPs must only report endpoints that have gone live in their systems.

5.4

Successful API Calls (200, 201 or 204 codes)

This is the total number of successful endpoint calls for each endpoint that have been received successfully by the ASPSP and generated an AISP/PISP Status Code of 200, 201 or 204 depending on the HTTP method of the endpoints.

5.5

Failed API Calls Business Reasons (4xx Codes)

This is the total number of failed endpoint calls for each endpoint that have been received by the ASPSP and failed due to business rules reasons generating an HTPP Status Code of 4xx). Kindly refer to the global standards of HTTPS Status Code Registry (https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) for individual type of error codes/messages.

5.6

Failed API Technical Calls Reasons (5xx Codes)

This is the total number of failed endpoint calls for each endpoint that have been received by the ASPSP and failed due to technical reasons (generating an HTPP Status Code of 500-599). Kindly refer to the global standards of HTTPS Status Code Registry (https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) for individual type of error codes/messages.

5.7

API Calls Rejected Status

This is the total number of rejected endpoint calls that have been rejected for each defined endpoint which might be due payment/account consent being rejected due to authorisation failing or consent authorisation being rejected, payment initiation being rejected as part of proceeding checks such as technical validation and customer profile.

3.3.1.1 Reporting Template

A reporting template has been provided by the CBB that ASPSPs might find useful in preparing their information for publication and reporting to the CBB. Please refer – Operational Guidelines Reporting Template v1.0.0 for the template.

...

In the absence of any relevant information the ASPSPs must return with “NIL” response.

3.3.2 AISP/PISP Reporting

AISPs and PISPs should report statistics on availability and performance to the CBB (leveraging the same template as ASPSPs) on a quarterly basis.

4. Dedicated Interface Requirements

This section provides guidance for ASPSPs to demonstrate that their dedicated interface has been designed and tested in line with the requirements laid out in the Security Standards and Guidelines and the CBB Rulebook.

...

The Bahrain OBF has outlined customer experience requirements and considerations for ASPSPs to consider to support adoption of Open Banking in Bahrain.

4.1 Testing

4.1.1 Testing Facility

ASPSPs are required to provide a Testing Facility or sandbox to allow AISPs/PISPs to undertake connection and functional testing of their products and services using non-user/customer (i.e. “dummy”) data. The issues and problems which are identified within this testing process, as well as feedback and engagement from the AISP/PISP community, are useful for ASPSPs in alerting them to potential issues within testing that may also be encountered within the production environment. This can be used to identify and address issues early on. 

...

[2] For the avoidance of doubt, the following are all recommendations only and optional for ASPSPs, unless referring to direct regulatory guidance.

4.1.2 Publishing Specification Details

ASPSPs should publish the details of the specifications on their website well in advance before the ASPSP’s dedicated interface is launched.

...

  • Connection details (including all technical and business processes required to connect)

  • Methods of authentication available to users/customers (e.g. OTP via SMS, Fingerprint etc. and how this varies by device)

  • Authentication flows supported (e.g. redirect, decoupled)

  • Functionality and data elements for each AISP and PISP endpoint, including which optional elements are/are not provided

5. Change and Communication Management

This section outlines various change scenarios that may impact AISPs/PISPs and provides guidance for an ASPSP to consider when implementing a change and communicating to AISPs/PISPs. 

...

The information that an ASPSP should include in its communication to an AISP/PISP is listed at 4.4 Notification of a change.

5.1 Downtime

Downtime is defined in Section 2.

...

ASPSPs should make this plan available to AISPs/PISPs (e.g. on their website or developer portal) so that they know in advance what to do in the event of unplanned downtime.

5.2 Implementing changes to the Bahrain Open Banking Framework

The Bahrain Open Banking Framework (Bahrain OBF) will continue to evolve over time to cater for potential improvements/clarifications, agreed Open Banking roadmap requirements and approved changes (which may include adding new functionality, fixing defects, and errata). Where possible, new versions of the Bahrain OBF will be scheduled with sufficient time for change so that ASPSPs can plan ahead and build new APIs to this plan, this will therefore reduce development and support costs for all participants and increase adoption.

5.2.1 Introducing Change

This section details out the guidelines for ASPSPs to communicate the change in their interface to an AISP/PISP and the following conditions are recommended:

  • ASPSPs must be compliant with the latest version of Bahrain OBF in order to meet both regulatory and commercial requirements

  • ASPSPs must publish technical specification documentation for their dedicated interface, well in advance before the target date of the market launch of the dedicated interface

  • ASPSPs must give AISPs/PISPs at least three months’ notice of any change to the technical specifications, unless the changes can be rolled out sooner, in which case ASPSPs must notify AISPs/PISPs on the change as soon as possible . In practice, this means that ASPSPs must give such notice if they are planning to introduce any updates to any component of the dedicated interfaces, Any change may be implemented in an emergency situation (e.g. in the case where there is a security issue) without such notice, and in such situations ASPSPs must document emergency situations where changes are implemented and make the documentation available to competent authorities on request

  • ASPSPs must also make available a testing facility (sandbox) well in advance before the target date of the market launch of the dedicated interface. ASPSPs should ensure that any changes are made available in the testing facility as soon as possible to allow AISPs/PISPs to test against the updated technical specifications. In practice, this means that ASPSPs should consider the impact of proposed changes on their testing facility in order to ensure that the testing facility enables the same functionality as the dedicated interface, in the context of such changes. As such, ASPSPs should endeavor to make any changes to the testing facility available to AISPs/PISPs at least three months before changes are implemented to ensure AISPs/PISPs, can continue to effectively test

  • ASPSPs should maintain multiple live/active versions of each interface (e.g. one for each supported release)

  • Where an ASPSP decides to implement a new version of any component of the Bahrain OBF they should implement each new major version within six months, and each new minor version within three months of the Bahrain OBF being published

  • Together with the requirements for ASPSPs to notify AISPs/PISPs of any changes any AISP/PISP will, except in an emergency, always have at least three months’ notice before being required to update their systems

5.2.2 Considerations

5.2.2.1 Dual Running and Depreciation

This section details out the requirements to be followed by the ASPSPs during the instance of new API version migration. ASPSPs should support a minimum of two API versions in a production context if both versions were previously supported by the ASPSP. Dual running for at least six months for a major version, and three months for a minor version. This is to ensure that AISPs/PISPs have had sufficient time to successfully test the new version of ASPSPs and migrate their applications and customers. An ASPSP implementing an API for the first time will only need to support one version to start with.

...

The deprecation of unsupported versions is at the ASPSP's discretion - based on usage metrics. However, the CBB may recommend that any specified version should be deprecated at any time, and this should be implemented within a fixed period of time as notified.

5.2.2.2 API Credentials, Consent and Authorization

API Credentials associated to an API should be version agnostic. Therefore, an AISP/PISP accessing v1.0, v1.1 or v2.0 should be able to use the same API Credentials across all available API endpoints. 

...

In the event of a breaking change (e.g. where a permission/cluster is added, removed or changed) or a non-breaking change (e.g. an additional field is added to a permission/cluster), then the user/customer may be required to re-consent with the AISP/PISP and to re-authenticate with the ASPSP.

5.2.2.3 Backward and Forward Compatibility

The API specifications will include details on which operations or resources are expected to be backward and forward compatible across versions. It is expected that:

...

If an ASPSP is planning to release a new API version that does not follow the expectations above (e.g. does not support forward compatibility for AISP resources) this should be communicated to AISPs/PISPs.

5.3 Changes to an ASPSP’s Infrastructure, Configuration or Software

At any time, an ASPSP may need to make changes to any element of their system, including implementation of a new version (as described above). This includes the adding/removing of functionality or fields within an existing version. This may or may not require downtime.

...

To facilitate this, ASPSPs should report all changes to the CBB that require AISPs/PISPs to update/edit their code, where notice of any change may be added by the CBB to its website to inform the ecosystem. 

5.4 Notification of a change

ASPSPs should provide notice to AISPs/PISPs of a change (within the time frames outlined above) via the ASPSP's own website or developer portal and through the CBB’s central notice board.

...

  • Date notice is given

  • Details of the change that will be made (e.g. implementation of new version)

  • Reason for the change (e.g. new version to be implemented, old version to be deprecated, etc.)

  • Details of ASPSP system(s) affected (e.g. test facility, production interface)

  • Details of how any change will be made available in the test facility in advance of the production interface

  • Indication of the likely impact for an AISP/PISP, including any action required by AISPs/PISPs (e.g. requiring users/customers to re-authenticate)

  • Start time/date the change is anticipated to take effect and the end date/time (if applicable)

6. Exemptions to Protect Service

In the event of the following extreme circumstances, ASPSPs will be able to obtain relief from non-functional requirements:

...