RegAlert

Rule · 20 Feb 2026

Decision of the Executive Committee of the National Bank of Moldova No. 33 of 16 February 2026 on the approval of Functional and Technical Requirements for the interfaces of payment service providers offering account servicing services

In force from 20 Mar 2026Applies to: Commercial bank, Payment service provider, E-money issuer
open-banking
payments

Payment service providers referred to in Art. 5 para. (1) lit. a)-c) of Law No. 114/2012 must ensure compliance with requirements 4 and 5 of Table No. 3 within 8 months from the date of entry into force of this Decision, which enters into force one month after publication in the Official Monitor (in force from 20.03.2026). ASPSP must apply SCA, use public key certificates under Law No. 124/2022, limit AISP requests to 4 calls per 24 hours, query the Open Banking Digital List every 1–10 minutes, and refuse expired, compromised or revoked certificates.

Source
Jump to forms (25) ↓
Key facts181 MUST38 SHOULD7 MAY
Timing:
Thresholds:
Forms:

EXECUTIVE COMMITTEE

OF THE NATIONAL BANK OF MOLDOVA

DECISION

(in force from 20.03.2026)

Official Monitor of the Republic of Moldova No. 88-91 Art. 137 of 20.02.2026


Pursuant to Art. 524 para. (7) of Law No. 114/2012 on payment services and electronic money (Official Monitor of the Republic of Moldova, 2012, No. 193-197, Art. 661), as subsequently amended, and point 65 of the Regulation on strong customer authentication and the open, common and secure communication standard between payment service providers, approved by Executive Committee Decision No. 12/2024 (published in the Official Monitor of the Republic of Moldova, 2024, No. 36-39, Art. 90), the Executive Committee of the National Bank of Moldova

DECIDES:

1.The Functional and Technical Requirements for the interfaces of payment service providers offering account servicing services are approved (annexed).
2.Payment service providers referred to in Art. 5 para. (1) lit. a)-c) of Law No. 114/2012 on payment services and electronic money shall ensure compliance with requirements 4 and 5 of Table No. 3 of the Functional and Technical Requirements for the interfaces of payment service providers offering account servicing services within 8 months from the date of entry into force of this Decision.
3.This Decision enters into force one month after the date of publication in the Official Monitor.

PRESIDENT

OF THE EXECUTIVE COMMITTEE

Anca-Dana DRAGU

Functional and Technical Requirements for the interfaces of payment service providers offering account servicing services

CHAPTER I GENERAL PROVISIONS

Section 1 Subject matter and purpose

1.The Functional and Technical Requirements for the interfaces of payment service providers offering account servicing services (hereinafter – Requirements) establish the functional, technical and security conditions for the implementation of Open Banking by payment service providers offering account servicing services (ASPSP), in accordance with applicable national regulations and international standards.
2.The Requirements represent the national standard for Open Banking, their objective being to ensure compliance with the provisions of Law No. 114/2012 on payment services and electronic money (hereinafter – Law No. 114/2012) and of Regulation No. 12/2024 on strong customer authentication and the open, common and secure communication standard between payment service providers, approved by Decision of the Executive Committee of the National Bank of Moldova No. 12/2024 (hereinafter – Regulation No. 12/2024), to facilitate interoperability with third-party payment service providers and to create a secure and standardized platform for users.

Section 2 Main concepts

3.The notions and expressions used in these Requirements have the meaning provided in Law No. 114/2012 and in the normative acts of the National Bank of Moldova (hereinafter – NBM), issued pursuant to Law No. 114/2012.
4.Additionally, for the purposes of these Requirements, the following notions apply:

4.1. Strong customer authentication – authentication based on the use of two or more elements from the category of knowledge (something only the user knows), possession (something only the user possesses) and inherence (something that represents the user). These elements are independent, and the compromise of one element does not compromise the reliability of the other elements. Also, these elements are designed to protect the confidentiality of authentication data;

4.2. Berlin Group – a working group that defines technical standards for the implementation of Open Banking in accordance with Directive (EU) 2015/2366 of the European Parliament and of the Council of 25 November 2015 on payment services in the internal market, amending Directives 2002/65/EC, 2009/110/EC and 2013/36/EU and Regulation (EU) No. 1093/2010, and repealing Directive 2007/64/EC (text with EEA relevance);

4.3. Specific interfaces – represent the set of interfaces implemented by payment service providers offering account servicing services, in accordance with the open, common and secure communication standard, which allow the secure and standardized exchange of information between participants, as well as the initiation of financial operations on behalf of users, in compliance with the Requirements;

4.4. Third-party service provider – an authorized entity that, with the express consent of users, may access financial information from their accounts or may initiate payments on their behalf;

4.5. Redirect method – a means of authentication and authorization within Open Banking, whereby the user is redirected from the third-party service provider's application to the application of the payment service provider offering account servicing services for the performance of Strong Customer Authentication and for the authorization of a payment or data access;

4.6. Dashboard – represents a unified digital interface, made available to the user by the payment service provider offering account servicing services, which allows the visualization, control and management of all permissions granted to third-party service providers for accessing the user's financial data;

4.7. SCA – Strong customer authentication;

4.8. API – Specific interfaces;

4.9. ASPSP – Payment service provider offering account servicing services;

4.10. AISP – Account information service provider;

4.11. PISP – Payment initiation service provider;

4.12. TPP – Third-party service provider;

4.13. AIS – Account information service;

4.14. PIS – Payment initiation service;

4.15. Open Banking – Open, common and secure communication standard, within the meaning of Art. 524 para. (7) of Law No. 114/2012 and point 3 of Regulation No. 12/2024;

4.16. PSU – Payment service user;

4.17. URI – Uniform Resource Identifier;

4.18. CAS – Instant Payments System lookup service.

CHAPTER II OPERATING MODEL AND TYPES OF SERVICES AVAILABLE IN OPEN BANKING

5.The Open Banking operating model allows secure and controlled access to users' financial information and the initiation of payments on their behalf, with the express consent of the account holder. The interaction between the parties involved is carried out through standardized APIs, which ensure interoperability, security and protection of user data.

6. The following types of services are available in Open Banking:

6.1. AIS – this service allows TPPs to access and consolidate financial data from users' accounts at various payment service providers.

6.2. PIS – this service allows TPPs to initiate payments from users' accounts, with their consent, through the APIs made available by ASPSPs, with which they hold accounts. Users authorize transactions through the authentication mechanisms imposed by the respective provider, in accordance with SCA requirements.

7.ASPSP allows access to AIS and PIS services to TPPs that:

7.1. are registered for the provision of account information services or licensed for the provision of payment initiation services, in accordance with the provisions of Law No. 114/2012;

7.2. use public key certificates for authentication and electronic signature, in accordance with the provisions of Law No. 124/2022 on electronic identification and trust services (hereinafter – Law No. 124/2022).

8.When implementing Open Banking, ASPSP takes into account the following functionalities:

8.1. Open Banking services are available to natural persons;

8.2. access to Open Banking is carried out through the mobile applications of payment service providers;

8.3. payment accounts are operated in the national currency (MDL), in accordance with Law No. 114/2012;

8.4. payment products available in Open Banking include domestic A2A payments (domestic-payments) and instant P2P payments (instant-payments), offered in a single payment service ("payments") for initiating payments one by one;

8.5. authorization of consents and authentication of users are carried out via the redirect method.

CHAPTER III FUNCTIONAL AND TECHNICAL REQUIREMENTS

Section 1 Functional and interface requirements

9.The implementation of Open Banking by ASPSP must ensure an optimal experience for PSU, guaranteeing security, accessibility and transparency, and the requirements in Tables No. 1, No. 2 and No. 3 shall focus on the intuitive interaction of PSU with ASPSP applications, as well as on compliance with security standards and applicable regulations in accordance with the provisions of Regulation No. 12/2024.
10.ASPSP must ensure an intuitive design of the interfaces intended for Open Banking in the mobile application, coherent and easy to navigate, which allows users to quickly find the necessary information.
11.ASPSP must comply with the requirements for AIS, set out in Table No. 1.
Table No. 1

Requirement 1 ASPSP must apply SCA for accessing account data, except in cases where an exception regulated in accordance with the provisions of Regulation No. 12/2024 applies.

Requirement 2 The authentication process in the ASPSP mobile application must be equivalent to the one the PSU goes through when directly accessing the mobile application (biometric, PIN code, credentials), without additional steps.

Requirement 3 The ASPSP application must support app-to-app redirection, ensuring a secure and transparent transition between AISP and ASPSP.

Requirement 4 ASPSP must display an intermediate screen indicating the status of the request and inform the PSU about the redirection to the AISP application. After confirmation of consent, the redirection must be carried out automatically, on the same device.

Requirement 5 ASPSP must inform the PSU about the validity period and expiry date of the consent granted for accessing data from the payment account.

Requirement 6 ASPSP must allow the simultaneous sharing of multiple accounts held by the PSU, without imposing limitations on their number.

Requirement 7 ASPSP must ensure that only active accounts are shared; blocked or closed accounts cannot be provided to TPPs.

Requirement 8 In the event of closure or blocking of an account that is shared with a TPP based on a valid consent provided by the PSU, ASPSP must apply the following rules:

Consent provided by the PSU for a single account that has been closed or blocked: the consent is automatically revoked by ASPSP, and upon the TPP's request, ASPSP responds that access has been revoked and the resource (account) no longer exists.

Consent provided by the PSU for multiple accounts, and one of these accounts is closed or blocked: the consent remains valid for the remaining active accounts, and for the closed or blocked account the information will no longer be shared. In the event of reopening or unblocking of the account, a new consent will be required for it.

Requirement 9 ASPSP must transmit to AISP the requested data (e.g. balance, transactions) only within the limits of the valid consent provided by the PSU.

Requirement 10 ASPSP must manage failure cases (unsuccessful authentication, lack of consent, technical errors, incorrect IBAN account) and communicate the corresponding responses to the TPP.

Requirement 11 ASPSP must ensure rapid processing (preferably within seconds) of authentication and authorization requests, in order to maintain user trust and a fluent experience, especially for initiating payments or approving transactions.

Requirement [TECH] 12 ASPSP must limit the number of requests from the same AISP to a maximum of 4 calls within a 24-hour interval, without the explicit action of the PSU.

Requirement [TECH] 13 ASPSP must correctly manage the address (URI) to which the PSU will be redirected back to the AISP application after completion of authentication or consent.

12.ASPSP must comply with the requirements for PIS, set out in Table No. 2.
Table No. 2

Requirement 1 ASPSP must apply SCA. By way of derogation, SCA will not be applied where the exceptions regulated by Regulation No. 12/2024 become incident.

Requirement 2 If the PSU has the ASPSP application installed on the same device, the redirection must invoke the ASPSP application only for authentication, without introducing additional screens.

Requirement 3 Authentication in the ASPSP application must have at most the same number of steps as when the PSU directly accesses the application (biometric, PIN code, credentials, etc.).

Requirement 4 After successful authentication, the PSU must be redirected directly to the page with the payment details (amount, merchant, commission if applicable) for confirming or rejecting the payment.

Requirement 5 If the payment request does not include the debtor account and/or other data necessary for making the payment, ASPSP must offer the PSU the option to select the account from which the payment will be made and/or to complete other information.

Requirement 6 ASPSP must validate all payment data provided by PISP and correctly manage error situations (incorrect IBAN account, invalid data, blocked account, etc.), providing a corresponding response to PISP.

Requirement 7 ASPSP must display an intermediate screen indicating the status of the request and inform the PSU that it will be automatically redirected back to PISP, without requiring additional actions.

Requirement 8 Confirmation of payment to PISP and PSU must be immediate, including a unique reference ID and the current status of the payment (pending, accepted, rejected).

Requirement 9 Payments must be processed in accordance with the provisions of Law No. 114/2012 and the normative acts of the NBM issued pursuant to Law No. 114/2012, including compliance with cut-off times, currency conversion if necessary and reporting to competent authorities.

Requirement 10 ASPSP must allow real-time tracking of the payment status, accessible both through the PSU interface and through the PISP interface. Notifications on successful or failed processing of the payment are recommended for transparency.

Requirement 11 In the event of initiation of an instant payment by PISP, ASPSP must request the default account and other details from CAS, based on the alias provided in the creditorAccount field.

Requirement 12 [TECH] All relevant actions (authentication, payment validation, confirmation/rejection) must be logged for complete traceability and audit.

13.ASPSP must comply with the requirements and recommendations for PIS and AIS (included in a Dashboard), set out in Table No. 3.
Table No. 3

Requirement 1 ASPSP must make available to the PSU a centralized dashboard, accessible through the channels made available by ASPSP (web and/or mobile application), where all active consents are displayed. For each TPP, the dashboard must display: the name of the TPP, the accounts concerned, the type of access granted (e.g. balance, transactions), the declared purpose of access and the validity period of the consent.

Requirement 2 The information displayed in the dashboard must be updated in real time. Any action to revoke or modify a consent must be reflected immediately.

Requirement 3 The PSU must have the possibility to revoke the access granted to a TPP through a simple and intuitive action, and the revocation must produce instant effects.

Requirement 4 After revocation, ASPSP must transmit to the PSU a clear confirmation, containing the name of the TPP, the date and time at which the revocation was carried out.

Requirement 5 The PSU must be notified proactively when a consent is approaching expiry, so that it can decide whether it wishes to renew it or let it expire.

Recommendation 6 It is recommended that the dashboard also include a detailed history of TPP access, indicating the date of granting, modification or revocation of consent, as well as the types of data accessed by the TPP during the respective period.

Section 2 Technical requirements

14.ASPSP must ensure a technical infrastructure capable of providing interoperability with authorized TPPs, in compliance with these Requirements. The implemented systems must guarantee the protection of PSU data, the integrity of transactions and the continuity of services provided.
15.ASPSP must comply with the technical requirements set out in Table No. 4.
Table No. 4

Requirement 1 Compliance with API standards – within Open Banking in Moldova, ASPSP has the obligation to develop and maintain APIs in accordance with Annex No. 1 to these Requirements. These APIs must be updated in a timely manner, to ensure compatibility and permanent compliance with the established requirements.

Requirement 2 Authentication and identity management – ASPSP must implement mechanisms for authentication and identification of TPPs in accordance with the provisions of Law No. 124/2022, including the use of public key certificates, where applicable), as well as procedures for signing and encrypting transmitted data.

Requirement 3 Data protection and confidentiality – ASPSP has the responsibility to apply advanced security measures, strict access control policies and mechanisms to prevent leaks or unauthorized use of sensitive information.

Requirement 4 Incident management and reporting – ASPSP must have an efficient system for detection, management and reporting of security incidents, notifying competent authorities and, where applicable, affected PSUs. Depending on the nature of the incident, ASPSPs will use the forms and methods of notification provided by the applicable regulatory framework.

Requirement 5 SCA – ASPSP is responsible for applying SCA in all relevant flows, except in cases provided for in accordance with the provisions of Regulation No. 12/2024. The implemented mechanisms must ensure a high level of security and protection against fraud, using authentication methods equivalent to those available in their own channels (e.g. biometric, access code, password).

Requirement 6 Processing capacity and scalability – the technical infrastructure of ASPSP must be dimensioned so as to efficiently manage large volumes of simultaneous requests from TPPs, maintaining adequate response times and continuous availability of services.

Requirement 7 Testing, auditing and certification of information systems used for the implementation of Open Banking are carried out in accordance with the requirements for systems/services related to critical ICT provided by the Regulation on minimum requirements for the management of risks related to information and communication technology, information security and business continuity, approved by Decision of the Executive Committee of the National Bank of Moldova No. 29/2025.

Section 3 Specific interfaces

17.ASPSP has the obligation to make available to TPPs specific interfaces dedicated to secure and controlled access to PSU account data, as well as to the initiation of payments on behalf of the PSU, based on the express consent of the PSU.
18.APIs must comply with Annex No. 1 to these Requirements, which is developed based on the Berlin Group standard and which has been adapted to the regulatory and operational framework applicable in the Republic of Moldova.
19.Details regarding the API methods to be exposed by ASPSP, the data structure and parameters necessary for integration are set out in Annex No. 1 to these Requirements, the response types and standardized error codes are set out in Annex No. 2 to these Requirements, and the mechanism for verification by ASPSP of calls transmitted by TPP is set out in Annex No. 3 to these Requirements.

Section 4 List of mandatory methods

20.The methods to be developed by ASPSP for providing consents are set out in Table No. 5.
Table No. 5

Endpoint Method Condition Description consents POST Mandatory This method allows a TPP to request the consent of a PSU to access account information.

The consent is created in the ASPSP information system and specifies the accounts and permissions granted.

consents/{consentId} GET Mandatory This method provides details about an existing consent, identified by consentId.

DELETE Mandatory This method allows a TPP to revoke an active consent based on the corresponding action initiated by the PSU, eliminating the TPP's access to the PSU's account data.

consents/{consentId}/status GET Mandatory This method returns the current status of a consent.

21. The methods to be developed by ASPSP for AIS are set out in Table No. 6.
Table No. 6

Endpoint Method Condition Description accounts GET Mandatory This method provides a list of all accounts for which the PSU has granted access to the TPP.

The list includes basic details such as IBAN, currency and account type.

accounts/{account-id} GET Mandatory This method provides detailed information about a specific account, identified by account-id, such as account type, IBAN and currency.

accounts/{accountid}/balances GET Mandatory This method provides information about the balance of a specific account, including available balance, booked balance and estimated balance.

accounts/{accountid}/transactions GET Mandatory This method provides a list of transactions for a specific account, with filtering options by time interval or transaction type (for example, booked, pending).

22. The methods to be developed by ASPSP for PIS are set out in Table No. 7.
Table No. 7

Endpoints Method Condition Description payments/{paymentproduct} POST Mandatory This method initiates a payment using the specified payment product (for example, domestic payments or instant payments).

payments/{paymentproduct}/{paymentId}

GET Mandatory This method provides detailed information about a specific payment, identified by paymentId, including the payment status, amount and beneficiary.

payments/{paymentproduct}/{paymentId}/status

GET Mandatory This method provides the current status of a specific payment, such as pending, accepted or rejected.

CHAPTER IV Open Banking Digital List

23.For the implementation of Open Banking, the NBM has developed and manages the Open Banking Digital List - an interoperable digital platform, accessible via API, which ensures the recording and management of participants in the Open Banking ecosystem.
24.The Open Banking Digital List is intended for both ASPSPs and TPPs; the API provides data about each participant, contributing to the transparency and security of the system.
25.Payment service providers involved in Open Banking benefit from the relevant information, depending on their role, as follows:

25.1. ASPSPs receive the list of TPPs licensed and registered by the NBM. This list includes details such as the licence number, the serial number of the certificate (in hexadecimal format) of the public key used by the TPP and other information necessary for validating their access.

25.2. TPPs receive the list of ASPSPs integrated into the Open Banking ecosystem, together with details on the API endpoints available for accessing data.

26.To ensure compliance with the requirement provided in point 7, the ASPSP may access the Open Banking Digital List according to the technical connection details communicated by the NBM. For real-time verification of the information regarding the TPP based on the Open Banking Digital List, the ASPSP shall query the Open Banking Digital List at a frequency of between 1 and 10 minutes. In the interval between two successive queries, the ASPSP may use the cached version of the list until the next update is performed. If the Open Banking Digital List is unavailable, the ASPSP may use the data from the last cached version.
27.The ASPSP must continuously monitor the status of the public key certificates associated with the TPP and refuse access to any expired, compromised or revoked certificate.
28.If, following the verifications, the ASPSP detects discrepancies between the information it holds regarding the TPP and the information presented in the TPP's request, it is recommended that the ASPSP block access and inform the NBM via the email address open.banking@bnm.md. Following the notification received, the NBM examines the information in accordance with its internal procedures and informs the ASPSP of the results of the examination within 5 working days.
29.If an ASPSP identifies the need for additional functionalities or technical changes to the existing ones, it shall send an official request to the NBM. The NBM is entitled to reject such requests if, following the analysis, they do not meet (cumulatively) the following criteria:

29.1. the request does not contravene the provisions of normative acts;

29.2. they are necessary and compliant with the Open Banking functionalities.

Annex No. 1

API methods to be exposed by the ASPSP, data structure and parameters necessary for integration

1. Consents Endpoints
Method: Create Consent
Method type: POST /v1/consents

Description: This method allows the creation of an access consent for a PSU. A consent is necessary to authorise a TPP to access account information (AIS).

[TPP] Request Header Parameters:

Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request. Mandatory for verification of uniqueness by the ASPSP.

PSU-IPAddress String Mandatory IP address of the PSU.

PSU-Device-ID String Mandatory Unique ID of the device used by the PSU.

PSU-DeviceName String Mandatory Name/model (generic) of the device from which the end user (PSU) connects.

PSU-GeoLocation String Optional Geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.

TPP-RedirectURI String Mandatory Redirect URI to the TPP after completion of the consent.

TPP-NokRedirect-URI String Optional Redirect URI in case of error. The ASPSP has the right to ignore this field.

Date Datetime Mandatory Date and time at which the request is made (RFC 7231 D, dd M YYYY HH:mm:ss GMT).

Content-Type String Mandatory Specifies the format of the request body application/json.

Digest String Mandatory It is included if and only if the element "Signature" is included in the request header. It is recommended to calculate the digest after applying JSON Minify (this recommendation applies throughout the document).

Signature String Mandatory Signing of the request by the TPP at application level. To complete the field, a "signing string" is formed according to the parameters "algorithm" and "headers", it is signed with the private key associated with "keyId", after which the result encoded in base64 is inserted into "signature". This method of completing the "Signature" field applies throughout the present document.

TPPSignatureCertificate String Mandatory The certificate used for signing the request, in base64 encoding. It must be included if there is a signature.

[TPP] Request Header Sample:

POST htttps://api.provider.com/v1/consents

Content-Type: application/json

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

PSU-Geo-Location: GEO: 47.014434;28.493426

TPP-Redirect-URI: https://tpp-example.md/redirect

TPP-Nok-Redirect-URI: https://tpp-example.md/redirect-failure

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=VYe+GLeBVnBVH8A50NP0Cawtg1xwkfe+XufPzmVGGMA=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP STISC 1003600096694, C=MD", algorithm="rsa-sha256", headers="digest date x-request-id tpp-redirect-uri", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkXq+FXWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY

7AkDPylQtD/kTxM+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAwT bF7kZgxXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDbf6zA0Z

SczX4rh7tBf3rc5BC+MBuLKgg1Pv9WgfWHi5BQ==",

Where the "signing string" is:

digest: SHA-256=VYe+GLeBVnBVH8A50NP0Cawtg1xwkfe+XufPzmVGGMA= date: Wed, 11 Sep 2024 12:34:56 GMT x-request-id: 123e4567-e89b-12d3-a456-426614174000 tpp-redirect-uri: https://tpp-example.md/redirect

[TPP] Request Body Sample for Consent Request on Dedicated Accounts (detailed consent – support by ASPSP is mandatory):

{

"access": {

"accounts": [

{

"iban": "MD21AAA000000022553456789"

}

],

"balances": [

{

"iban": "MD21AAA000000022553456789"

}

],

"transactions": [

{

"iban": "MD21AAA000000022553456789"

}

]

},

"recurringIndicator": true,

"validUntil": "2024-12-31",

"frequencyPerDay": 4

}

[TPP] Request Body Sample for Consent on Account List of Available Accounts (global consent - support by ASPSP is mandatory):

{

"access": {

"availableAccounts": "allAccounts"

},

"recurringIndicator": true,

"validUntil": "2025-08-06",

"frequencyPerDay": 4

}

[TPP] Request Body Sample for Consent on Account List or without Indication of dedicated Accounts (bank offered consent - support by ASPSP is mandatory):

{

"access": {

"balances": [],

"transactions": []

},

"recurringIndicator": true,

"validUntil": "2025-11-01",

"frequencyPerDay": 4

}

[TPP] Request Body Parameters:
Parameter Type Condition Description

access Object Mandatory Defines access to accounts, balances and transactions.

access.accounts Array Optional List of IBANs of the accounts to which the TPP will have access.

access.balances Array Optional List of IBANs for which the TPP may access the balances.

access.transactions Array Optional List of IBANs for which the TPP may access details about transactions.

recurringIndicator Boolean Mandatory Indicates whether the access is recurring or single. If true, the access is recurring. If false, the access is single.

validUntil String Mandatory Expiry date of the consent (format: YYYY-MM-DD).

frequencyPerDay Integer Mandatory Maximum number of accesses per day for account data without PSU involvement (AIS). Possible values are 1, 2, 3 or 4.

[ASPSP] Response Header sample:

Content-Type: application/json

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

ASPSP-SCA-Approach: REDIRECT

Date: Wed, 11 Sep 2024 12:34:58 GMT

Location: "/v1/consents/ a7c3e9f8-1a44-4cd3-83ab-4f29d1f9e8c7"

[ASPSP] Response Body Sample (Success - 201 Created):

{

"consentStatus": "received",

"consentId": "d6f9b8f4-4b10-4b9e-933b-ff9a24b5641f",

"_links": {

"scaRedirect": {

"href": "www.mybankapp.com//authentication/ a7c3e9f8-1a44-4cd3-83ab-4f29d1f9e8c7"

},

"status": {

"href": "/v1/consents/ a7c3e9f8-1a44-4cd3-83ab-4f29d1f9e8c7 /status"

},

"scaStatus": {

"href": "/v1/consents/ a7c3e9f8-1a44-4cd3-83ab-4f29d1f9e8c7 /authorisations/123auth567"

}

}

}

[ASPSP] Response Header Parameters:
Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

Location String Mandatory Location of the created resource.

ASPSP-SCAApproach String Mandatory Type of SCA method used by the ASPSP. At present only REDIRECT.

Date Datetime Mandatory Date and time at which the request is made (RFC 7231).

Content-Type String Mandatory Specifies that the format of the response body is application/json.

[ASPSP] Parameters of Success Response:
Parameter Type Condition Description

consentStatus String Mandatory Status of the consent (valid, expired etc.).

consentId String Mandatory Unique ID of the created consent.

_links String Mandatory List of links related to a consent

[ASPSP] Response Sample (Error - 400 Bad Request):

{

"tppMessages": [

{

"category": "ERROR",

"code": "FORMAT_ERROR",

"text": "string",

"path": "string"

}

]

}

[ASPSP] Parameters of Error Response:
Parameter Type Condition Description

tppMessages Array Mandatory List of error messages generated by the server.

tppMessages.category String Mandatory Category of the message (ERROR, WARNING).

tppMessages.code String Mandatory Error code (e.g. FORMAT_ERROR).

tppMessages.text String Mandatory Detailed description of the error (e.g. "Invalid IBAN format").

tppMessages.path String Optional Indicates the exact location of the error.

Method: Get Consent
Method type: GET /v1/consents/{consentId}

Description: This method allows the TPP to obtain detailed information about a previously created consent. The consent ID (consentId) is provided in the URL. The TPP may verify the status of the consent and the associated details, such as the accounts and validity.

[TPP] Path Parameters:
Name Type Condition Description

consentId String Mandatory Unique ID of the created consent.

[TPP] Request Header Parameters:

Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

Date Datetime Mandatory Date and time at which the request is made. (RFC 7231)

PSU-IPAdress String Mandatory IP address of the PSU. In the case of a call without PSU intervention, the TPP fills in 0.0.0.0.

PSU-DeviceID String Mandatory Unique ID of the device used by the PSU. In the case of a call without PSU intervention, the TPP fills in no-psu-involved.

PSU-DeviceName String Mandatory Name/model (generic) of the device from which the PSU connects. In the case of a call without PSU intervention, the TPP fills in no-psu-involved.

PSU-GeoLocation String Optional Geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.

Digest String Mandatory It is included if and only if the element "Signature" is included in the request header.

Signature String Mandatory Signing of the request by the TPP at application level.

TPPSignatureCertificate String Mandatory The certificate used for signing the request, in base64 encoding. It must be included if there is a signature.

[TPP] Request Header Sample:

GET https://api.provider.com/v1/consents/ d6f9b8f4-4b10-4b9e-933b-ff9a24b5641f

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

Date: Wed, 11 Sep 2024 12:34:56 GMT

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

PSU-Geo-Location: GEO: 47.014434;28.493426

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP STISC 1003600096694, C=MD", algorithm="rsa-sha256", headers="digest date x-request-id", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkXq+FXWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY

7AkDPylQtD/kTxMo+4t7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAwTb czX4rh7tBf3rc5BC+MBuLKgg1Pv9WgfWHi5BQ==",

[ASPSP] Response Header sample:

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

[ASPSP] Response Body Sample (Success - 200 OK):

{

"access": {

"accounts": [

{

"iban": "MD21AAA000000022553456789",

"currency": "MDL"

}

],

"balances": [

{

"iban": "MD21AAA000000022553456789",

"currency": "MDL"

}

],

"transactions": [

{

"iban": "MD21AAA000000022553456789",

"currency": "MDL"

}

]

},

"recurringIndicator": true,

"validUntil": "2024-12-31",

"frequencyPerDay": 4,

"consentStatus": "valid",

"_links": {

"account": {

"href": "/v1/accounts"

}

}

}

[ASPSP] Response Header Parameters:
Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

[ASPSP] Parameters of Success Response:
Parameter Type Condition Description

consentStatus String Mandatory Status of the consent (valid, expired etc.).

access Object Mandatory Defines access to accounts, balances and transactions.

access.accounts Array Optional List of IBANs of the accounts to which the TPP has access.

access.balances Array Optional List of IBANs for which the TPP may access the balances.

access.transactions Array Optional List of IBANs for which the TPP may access details about transactions.

currency String Optional Currency of the account.

validUntil String Mandatory Expiry date of the consent.

recurringIndicator Boolean Mandatory Indicates whether the access is repetitive or single.

frequencyPerDay Integer Mandatory Maximum number of accesses per day.

_links Object Optional Indicates the next steps that may be followed through the interface.

[ASPSP] Response Sample (Error - 400 Bad Request):

{

"tppMessages": [

{

"category": "ERROR",

"code": "FORMAT_ERROR",

"text": "string"

"path": "string"

}

]

}

Parameter Type Condition Description

tppMessages Array Mandatory List of error messages generated by the server.

tppMessages.category String Mandatory Category of the message (ERROR, WARNING).

tppMessages.code String Mandatory Error code (e.g. FORMAT_ERROR).

tppMessages.text String Mandatory Detailed description of the error (e.g. "Invalid IBAN format").

tppMessages.path String Optional Indicates the exact location of the error.

Method: Delete Consent
Method type: DELETE /v1/consents/ {consentId}

Description: This method allows the TPP to revoke an existing consent using the consentId. Once revoked, the consent will no longer allow access to the PSU's accounts. This action is necessary to stop/block access to account data or to interrupt recurring access.

[TPP] Path Parameters:
Name Type Condition Description

consentId String Mandatory Unique ID of the created consent.

[TPP] Request Header Parameters:

Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request. Mandatory for verification of uniqueness by the ASPSP.

PSU-IP-Adress String Mandatory IP address of the PSU.

PSU-Device-ID String Mandatory Unique ID of the device used by the PSU.

PSU-DeviceName String Mandatory Name/model (generic) of the device from which the PSU connects.

PSU-GeoLocation String Optional Geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.

Date String Mandatory Date and time at which the request is made. (RFC7231)

Digest String Mandatory It is included if and only if the element "Signature" is included in the request header.

Signature String Mandatory Signing of the request by the TPP at application level.

TPP-SignatureCertificate String Mandatory The certificate used for signing the request, in base64 encoding. It must be included if there is a signature.

[TPP] Request Header Sample:

DELETE htttps://api.provider.com/v1/consents/ d6f9b8f4-4b10-4b9e-933b-ff9a24b5641f

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

PSU-Geo-Location: GEO: 47.014434;28.493426 Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP STISC 1003600096694, C=MD", algorithm="rsa-sha256", headers="digest date x-request-id", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkXZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY7AkDPyl

QtD/kTxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAwTb czX4rh7tBf3rc5BC+MBuLKgg1Pv9WgfWHi5BQ=="

[ASPSP] Response Header sample:

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

[ASPSP] Response Body Sample (Success - 204 No Content):

No information is returned in the response body, only the status 204 No Content, which confirms that the revocation was carried out successfully.

[ASPSP] Response Header Parameters:
Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

[ASPSP] Response Sample (Error - 400 Bad Request):

{

"tppMessages": [

{

"category": "ERROR",

"code": "FORMAT_ERROR",

"text": "string",

"path": "string"

}

]

}

Parameter Type Condition Description tppMessages Array Mandatory List of error messages generated by the server.

tppMessages.category String Mandatory Category of the message (ERROR, WARNING).

tppMessages.code String Mandatory Error code (e.g. FORMAT_ERROR).

tppMessages.text String Mandatory Detailed description of the error (e.g. "Invalid IBAN format").

tppMessages.path String Optional Indicates the exact location of the error.

Method: Consent status

Method type: GET /v1/consents/{consentId}/status

Description: This method allows the TPP to obtain the current status of a consent identified by consentId. The consent status indicates whether it is valid, expired, revoked, rejected or in the initial stage - received, providing important information about the state of the consent granted.

[TPP] Path Parameters:
Name Type Condition Description

consentId String Mandatory Unique ID of the created consent.

[TPP] Request Header Parameters:

Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

PSU-IP-Adress String Mandatory IP address of the PSU. In the case of a call without PSU intervention, the TPP fills in 0.0.0.0.

PSU-Device-ID String Mandatory Unique ID of the device used by the PSU. In the case of a call without PSU intervention, the TPP fills in no-psu-involved.

PSU-DeviceName String Mandatory Name/model (generic) of the device from which the PSU connects. In the case of a call without PSU intervention, the TPP fills in no-psu-involved.

PSU-GeoLocation String Optional Geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.

Date String Mandatory Date and time at which the request is made (RFC 7231).

Digest String Mandatory It is included if and only if the element "Signature" is included in the request header.

Signature String Mandatory Signing of the request by the TPP at application level.

TPPSignatureCertificate String Mandatory The certificate used for signing the request, in base64 encoding. It must be included if there is a signature.

[TPP] Request Header Sample:

GET https://api.provider.com/v1/consents/ d6f9b8f4-4b10-4b9e-933b-ff9a24b5641f/status

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

PSU-Geo-Location: GEO: 47.014434;28.493426

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP STISC 1003600096694, C-MD", algorithm="rsa-sha256", headers="digest date x-request-id", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/o3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTxYm2Ccc ovJQJuyfwO7ICtVjkkXq+FXWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY7AkDPy lQtD/kTxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAwT bF7kZgxXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDbf6zA0Z

SczX4rh7tBf3rc5BC+MBuLKgg1Pv9WgfWHi5BQ=="

[ASPSP] Response Header sample:

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

[ASPSP] Response Body Sample (Success - 200 OK):

{

"consentStatus": "valid"

}

[ASPSP] Response Header Parameters:
Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

[ASPSP] Parameters of Success Response:
Parameter Type Condition Description

consentStatus String Mandatory Current status of the consent (valid, expired, revoked, rejected etc.).

[ASPSP] Response Sample (Error - 400 Bad Request):

{

"tppMessages": [

{

"category": "ERROR",

"code": "FORMAT_ERROR",

[ASPSP] Parameters of Error Response:
ParameterTypeConditionDescription
tppMessagesArrayMandatoryList of error messages generated by the server.
tppMessages.categoryStringMandatoryMessage category (ERROR, WARNING).
tppMessages.codeStringMandatoryError code (e.g. FORMAT_ERROR).
tppMessages.textStringMandatoryDetailed description of the error (e.g. "Invalid IBAN format").
tppMessages.pathStringOptionalIndicates the exact location of the error.
2. Accounts Endpoint
Method: Read account list

Method type: GET /v1/accounts

Description: This method allows the TPP to obtain a list of accounts held by the PSU for which a valid consent exists. The returned data includes essential information about each account, such as the IBAN, currency and other account details. This method is essential in the context of account information services (AIS).

[TPP] Query Parameters:
NameTypeConditionDescription
withBalanceBooleanOptionalIf included, this parameter must have the value true or false. If the parameter is true, the function will return the list of accessible payment accounts, including the account balance, to the extent that this has been granted by the PSU through consent and is available from the ASPSP. If the parameter is false or is not provided, the list of accounts will be returned without balances.

[TPP] Request Header Parameters:

NameTypeConditionDescription
X-Request-IDUUIDMandatoryUnique ID generated by the TPP for identifying the request.
Consent-IDStringMandatoryUnique ID of the consent on the basis of which the TPP has access to accounts.
PSU-IPAddressStringMandatoryThe PSU's IP address. In the case of a call without PSU involvement, the TPP fills in 0.0.0.0.
PSU-DeviceIDStringMandatoryThe unique ID of the device used by the PSU. In the case of a call without PSU involvement, the TPP fills in no-psu-involved.
PSU-DeviceNameStringMandatoryThe (generic) name/model of the device from which the PSU connects. In the case of a call without PSU involvement, the TPP fills in no-psu-involved.
PSU-GeoLocationStringOptionalThe geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.
DateDatetimeMandatoryThe date and time at which the request is made (RFC 7231).
DigestStringMandatoryIt is included only if and only if the "Signature" element is included in the request header.
SignatureStringMandatorySigning of the request by the TPP at application level.
TPPSignatureCertificateStringMandatoryThe certificate used for signing the request, in base64 encoding. It must be included if a signature exists.

[TPP] Request Header Sample:

```

GET https://api.provider.com/v1/accounts

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

Consent-ID: d6f9b8f4-4b10-4b9e-933b-ff9a24b5641f

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP STISC 1003600096694, C-MD", algorithm="rsa-sha256", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkXZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY7AkDPyl

QtD/kTxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAwTb czX4rh7tBf3rc5BC+MBuLKgg1Pv9WgfWHi5BQ=="

```

[ASPSP] Response Header sample:

```

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

```

[ASPSP] Response Body Sample (Success - 200 OK):

```json

{

"accounts": [

{

"resourceId": "acc-123456789",

"iban": "MD21AAA000000022553456789",

"currency": "MDL",

"product": "Cont Curent",

"cashAccountType": "CACC",

"_links": {

"balances": {

"href": "/v1/accounts/ acc-123456789/balances"

},

"transactions": {

"href": "/v1/accounts/ acc-123456789/transactions"

}

}

},

{

"resourceId": "acc-987654321",

"iban": "MD21BBB000000022553456999",

"currency": "MDL",

"product": "Cont de Economii",

"cashAccountType": "SVGS",

"_links": {

"balances": {

"href": "/v1/accounts/ acc-987654321/balances"

}

}

}

]

}

```

[ASPSP] Response Body Sample withBalance (Success - 200 OK):

```json

{

"accounts": [

{

"resourceId": "acc-123456789",

"iban": "MD21AAA000000022553456789",

"currency": "MDL",

"product": "Cont MDL",

"cashAccountType": "CACC",

"balances": [

{

"balanceType": "interimAvailable",

"balanceAmount": {

"currency": "MDL",

"amount": "99999.99"

},

"lastChangeDateTime": "2024-08-25T00:00:00Z"

}

],

"_links": {

"transactions": {

"href": "/v1/accounts/acc-123456789/transactions"

}

}

}

]

}

```

[ASPSP] Response Header Parameters:
NameTypeConditionDescription
X-Request-IDUUIDMandatoryUnique ID generated by the TPP for identifying the request.
[ASPSP] Parameters of Success Response:
ParameterTypeConditionDescription
accountsArrayMandatoryList of accounts held by the PSU.
resourceIdStringMandatoryThe unique ID associated with each account.
ibanStringMandatoryThe account IBAN.
currencyStringMandatoryThe account currency (e.g. MDL).
productStringMandatoryThe type of product associated with the account (e.g. Current Account).
cashAccountTypeStringMandatoryThe account type (e.g. CACC for current account, SVGS for savings account).
balancesArrayMandatory (if withBalance)List of balances associated with the account.
balanceTypeStringMandatory (if withBalance)The balance type (e.g. interimAvailable, expected).
balanceAmountObjectMandatory (if withBalance)Details about the amount in the account.
balanceAmount.currencyStringMandatory (if withBalance)The account currency (e.g. MDL).
balanceAmount.amountStringMandatory (if withBalance)The available amount in the account.
lastChangeDateTimeStringMandatory (if withBalance)The date and time of the last change of the balance.
_linksObjectOptionalIndicates the next steps that can be followed through the interface.

[ASPSP] Response Sample (Error - 400 Bad Request):

```json

{

"tppMessages": [

{

"category": "ERROR",

"code": "CONSENT_INVALID",

"text": "string"

"path": "string"

}

]

}

```

[ASPSP] Parameters of Error Response:
ParameterTypeConditionDescription
tppMessagesArrayMandatoryList of error messages generated by the server.
tppMessages.categoryStringMandatoryMessage category (ERROR, WARNING).
tppMessages.codeStringMandatoryError code (e.g. FORMAT_ERROR).
tppMessages.textStringMandatoryDetailed description of the error (e.g. "Invalid IBAN format").
tppMessages.pathStringOptionalIndicates the exact location of the error.

cashAccountType parameters (examples according to ISO 20022):

CodeDescription
CACCCurrent Account. This is used for daily transactions.
SVGSSavings Account. This is used for saving money.
CASHCash account. Used to reflect cash accounts that are not explicitly "current" or "savings".
TDEPTerm Deposit Account. Used for term deposit accounts.
LOANLoan Account. Accounts used for managing loans.
SLRYAccounts used for the payment of salaries.
Method: Read account details
Method type: GET /v1/accounts/{account-id}

Description: This method allows the TPP to obtain details about a specific account of the PSU, identified by accountId. The returned data includes essential information about the account, such as the IBAN, currency and other relevant details. This method is essential for the provision of account information services (AIS).

[TPP] Path Parameters:
NameTypeConditionDescription
account-idStringMandatoryThe unique ID of the account assigned through resourceId.
[TPP] Query Parameters:
NameTypeConditionDescription
withBalanceBooleanOptionalIf included, this parameter must have the value true or false. If it is set to true, the function will return the list of accessible payment accounts, including the account balance, to the extent that this has been granted by the PSU through consent and is available from the ASPSP. If it is set to false or is not provided, the list of accounts will be returned without balances.

[TPP] Request Header Parameters:

NameTypeConditionDescription
X-Request-IDUUIDMandatoryUnique ID generated by the TPP for identifying the request.
Consent-IDStringMandatoryUnique ID of the consent on the basis of which the TPP has access to accounts.
PSU-IPAddressStringMandatoryThe PSU's IP address. In the case of a call without PSU involvement, the TPP fills in 0.0.0.0.
PSU-DeviceIDStringMandatoryThe unique ID of the device used by the PSU. In the case of a call without PSU involvement, the TPP fills in no-psu-involved.
PSU-DeviceNameStringMandatoryThe (generic) name/model of the device from which the PSU connects. In the case of a call without PSU involvement, the TPP fills in no-psu-involved.
PSU-GeoLocationStringOptionalThe geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.
DateDatetimeMandatoryThe date and time at which the request is made (RFC 7231).
DigestStringMandatoryIt is included only if and only if the "Signature" element is included in the request header.
SignatureStringMandatorySigning of the request by the TPP at application level.
TPPSignatureCertificateStringMandatoryThe certificate used for signing the request, in base64 encoding. It must be included if a signature exists.

[TPP] Request Header Sample:

```

GET htttps://api.provider.com/v1/accounts/acc-123456789

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

Consent-ID: d6f9b8f4-4b10-4b9e-933b-ff9a24b5641f

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP STISC 1003600096694, C=MD", algorithm="rsa-sha256", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkXq+FXWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY

7AkDPylQtD/kTxMo+4toD+oLlo7mDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAw

TbF7kZgxXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDbf6zA0

ZSczX4rh7tBf3rc5BC+MBuLKgg1Pv9WgfWHi5BQ=="

```

[ASPSP] Response Header sample:
```

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

```

[ASPSP] Response Body Sample (Success - 200 OK):

```json

{

"resourceId": "acc-123456789",

"iban": "MD21AAA000000022553456789",

"currency": "MDL",

"product": "Cont Curent",

"cashAccountType": "CACC",

"_links": {

"balances": {

"href": "/v1/accounts/ acc-123456789/balances"

},

"transactions": {

"href": "/v1/accounts/ acc-123456789/transactions"

}

}

}

```

[ASPSP] Response Body Sample withBalance (Success - 200 OK):

```json

{

"resourceId": "acc-123456789",

"iban": "MD21AAA000000022553456789",

"currency": "MDL",

"product": "Cont MDL",

"cashAccountType": "CACC",

"balances": [

{

"balanceType": "interimAvailable",

"balanceAmount": {

"currency": "MDL",

"amount": "99999.99"

},

"lastChangeDateTime": "2024-08-25T00:00:00Z"

}

],

"_links": {

"transactions": {

"href": "/v1/accounts/acc-123456789/transactions"

}

}

}

```

[ASPSP] Response Header Parameters:
NameTypeConditionDescription
X-Request-IDUUIDMandatoryUnique ID generated by the TPP for identifying the request.
[ASPSP] Parameters of Success Response:
ParameterTypeConditionDescription
resourceIdStringMandatoryThe unique ID associated with each account.
ibanStringMandatoryThe account IBAN.
currencyStringMandatoryThe account currency (e.g. MDL, USD).
productStringMandatoryThe type of product associated with the account (e.g. Current Account).
cashAccountTypeStringMandatoryThe account type (e.g. CACC for current account, SVGS for savings account).
balancesArrayMandatory (if withBalance)List of balances associated with the account.
balanceTypeStringMandatory (if withBalance)The balance type (e.g. interimAvailable, expected).
balanceAmountObjectMandatory (if withBalance)Details about the amount in the account.
balanceAmount.currencyStringMandatory (if withBalance)The account currency (e.g. MDL, USD).
balanceAmount.amountStringMandatory (if withBalance)The available amount in the account.
lastChangeDateTimeStringMandatory (if withBalance)The date and time of the last change of the balance.
_linksObjectOptionalIndicates the next steps that can be followed through the interface.

[ASPSP] Response Sample (Error - 400 Bad Request):

```json

{

"tppMessages": [

{

"category": "ERROR",

"code": "CONSENT_INVALID",

"text": "The consent provided is invalid or expired.",

"path": "string"

}

]

}

```

[ASPSP] Parameters of Error Response:
ParameterTypeConditionDescription
tppMessagesArrayMandatoryList of error messages generated by the server.
tppMessages.categoryStringMandatoryMessage category (ERROR, WARNING).
tppMessages.codeStringMandatoryError code (e.g. FORMAT_ERROR).
tppMessages.textStringMandatoryDetailed description of the error (e.g. "Invalid IBAN format").
tppMessages.pathStringOptionalIndicates the exact location of the error.
Method: Read Balance
Method type: GET /v1/accounts/{account-id}/balances

Description: This method allows the TPP to obtain the balances associated with a specific account, identified by accountId. The returned data includes available balances, booked balances and other details related to the account balance. This method is essential for the provision of account information services (AIS).

[TPP] Path Parameters:
NameTypeConditionDescription
account-idStringMandatoryThe unique ID of the account assigned through resourceId

[TPP] Request Header Parameters:

NameTypeConditionDescription
X-Request-IDUUIDMandatoryUnique ID generated by the TPP for identifying the request.
Consent-IDStringMandatoryUnique ID of the consent on the basis of which the TPP has access to accounts
PSU-IPAddressStringMandatoryThe PSU's IP address. In the case of a call without PSU involvement, the TPP fills in 0.0.0.0.
PSU-DeviceIDStringOptionalThe unique ID of the device used by the PSU. In the case of a call without PSU involvement, the TPP fills in no-psu-involved.
PSU-DeviceNameStringMandatoryThe (generic) name/model of the device from which the PSU connects. In the case of a call without PSU involvement, the TPP fills in no-psu-involved.
PSU-GeoLocationStringOptionalThe geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.
DateDatetimeMandatoryThe date and time at which the request is made (RFC 7231).
DigestStringMandatoryIt is included only if and only if the "Signature" element is included in the request header.
SignatureStringMandatorySigning of the request by the TPP at application level.
TPPSignatureCertificateStringMandatoryThe certificate used for signing the request, in base64 encoding. It must be included if a signature exists.

[TPP] Request Header Sample:

```

GET https://api.provider.com/v1/accounts/acc-123456789/balances

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

Consent-ID: d6f9b8f4-4b10-4b9e-933b-ff9a24b5641f

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP STISC 1003600096694, C=MD", algorithm="rsa-sha256", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkXq+FXWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY

7AkDPylQtD/kTxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iY xeAwTbF7kZgxXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDb f6zA0ZSczX4rh7tBf3rc5BC+Mv9WgfWHi5BQ=="

```

[ASPSP] Response Header sample:

```

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

```

[ASPSP] Response Body Sample (Success - 200 OK):

```json

{

"account": {

"iban": "MD21AAA000000022553456789"

}

"balances": [

{

"balanceType": "interimAvailable",

"balanceAmount": {

"currency": "MDL",

"amount": "1000.00"

},

"lastChangeDateTime": "2024-09-11T12:34:56Z"

},

{

"balanceType": "expected",

"balanceAmount": {

"currency": "MDL",

"amount": "200.00"

},

"lastChangeDateTime": "2024-09-10T15:00:00Z"

}

]

}

```

[ASPSP] Response Header Parameters:
NameTypeConditionDescription
X-Request-IDUUIDMandatoryUnique ID generated by the TPP for identifying the request.
[ASPSP] Parameters of Success Response:
ParameterTypeConditionDescription
balancesArrayMandatoryList of balances associated with the account.
balanceTypeStringMandatoryThe balance type (e.g. interimAvailable, expected).
balanceAmountObjectMandatoryDetails about the amount in the account.
balanceAmount.currencyStringMandatoryThe account currency (e.g. MDL).
balanceAmount.amountStringMandatoryThe available amount in the account.
lastChangeDateTimeStringMandatoryThe date and time of the last change of the balance.

[ASPSP] Response Sample (Error - 400 Bad Request):

```json

{

"tppMessages": [

{

"category": "ERROR",

"code": "CONSENT_INVALID",

"text": "string",

"path": "string"

}

]

}

```

[ASPSP] Parameters of Error Response:
ParameterTypeConditionDescription
tppMessagesArrayMandatoryList of error messages generated by the server.
tppMessages.categoryStringMandatoryMessage category (ERROR, WARNING).
tppMessages.codeStringMandatoryError code (e.g. FORMAT_ERROR).
tppMessages.textStringMandatoryDetailed description of the error (e.g. "Invalid IBAN format").
tppMessages.pathStringOptionalIndicates the exact location of the error.
Method Read transaction list of an account
Method type: GET /v1/accounts/ {account-id}/transactions

Description: This method allows the TPP to obtain a list of transactions associated with a specific account, identified by accountId. The returned transactions include both booked transactions and pending transactions. This method is essential for the provision of account information services (AIS).

To determine the type of payment, whether a payment is incoming (receipt) or outgoing (payment made), it is based on the information below:

-The presence of the creditorAccount field → outgoing payment (the money goes to the creditor) → Debit payment
-The presence of the debtorAccount field → incoming payment (the money comes from the debtor) → Credit payment
[TPP] Path Parameters:
NameTypeConditionDescription
account-idStringMandatoryThe unique ID of the account assigned through resourceId.
[TPP] Query Parameters:
NameTypeConditionDescription
dateFromISODateOptionalThe start date for filtering transactions (format: YYYY-MM-DD).
dateToISODateOptionalThe end date for filtering transactions (format: YYYY-MM-DD).
bookingStatusStringMandatoryThe status of the transactions to be returned (booked, pending or both).
withBalanceBooleanOptionalIf set to true, the response will also include the account balance.

[TPP] Request Header Parameters:

NameTypeConditionDescription
X-Request-IDUUIDMandatoryUnique ID generated by the TPP for identifying the request.
Consent-IDStringMandatoryUnique ID of the consent on the basis of which the TPP has access to accounts.
PSU-IPAddressStringMandatoryThe PSU's IP address. In the case of a call without PSU involvement, the TPP fills in 0.0.0.0.
PSU-Device-IDStringMandatoryThe unique ID of the device used by the PSU. In the case of a call without PSU involvement, the TPP fills in no-psu-involved.
PSU-DeviceNameStringMandatoryThe (generic) name/model of the device from which the PSU connects. In the case of a call without PSU involvement, the TPP fills in no-psu-involved.
PSU-GeoLocationStringOptionalThe geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.
DateStringMandatoryThe date and time at which the request is made.
DigestStringMandatoryIt is included only if and only if the "Signature" element is included in the request header.
SignatureStringMandatorySigning of the request by the TPP at application level.
TPPSignatureCertificateStringMandatoryThe certificate used for signing the request, in base64 encoding. It must be included if a signature exists.
[TPP] Request Header Sample:

```

GET / https://api.provider.com/v1/accounts/acc-123456789/transactions?dateFrom=2024-01-01&dateTo=2024-09-01&bookingStatus=booked

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

Consent-ID: d6f9b8f4-4b10-4b9e-933b-ff9a24b5641f

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP STISC 1003600096694, C=MD", algorithm="rsa-sha256", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY7AkDP ylQtD/kTxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAw

TbF7kZgxXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDbf6zA0

ZSczX4rh7tBf3rc5BC+Mv9WgfWHi5BQ=="

```

[ASPSP] Response Header sample:
```

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

Content-Type: application/json

```

[ASPSP] Response Body Sample (Success - 200 OK):

```json

{

"account": {

"iban": "MD21AAA000000022553456789",

"currency": "MDL"

},

"transactions": {

"booked": [

{

"transactionId": "tx-123",

"creditorName": " Ion Popescu ",

"creditorAccount": {

"iban": "MD21AAA000000022553456789"

},

"transactionAmount": {

"currency": "MDL",

"amount": "500.00"

},

"bookingDate": "2024-09-01",

"valueDate": "2024-09-01",

"remittanceInformationUnstructured": "Plată Factura 123"

},

{

"transactionId": "tx-1234",

"debtorName": "Petru Popescu",

"debtorAccount": {

"iban": "MD32AAA000000022663456789"

},

"transactionAmount": {

"currency": "MDL",

"amount": "2500.00"

},

"bookingDate": "2024-09-15",

"valueDate": "2024-09-18",

"remittanceInformationUnstructured": "P2P"

}

],

"pending": [

{

"transactionId": "tx-456",

"creditorName": " Ion Popescu ",

"creditorAccount": {

"iban": "MD21AAA000000022553456789"

},

"transactionAmount": {

"currency": "MDL",

"amount": "200.00"

},

"valueDate": "2024-09-01",

"remittanceInformationUnstructured": "Plată Factura 123"

}

]

}

}

[ASPSP] Response Body Sample withBalance (Success - 200 OK):

{

"account": {

"iban": "MD21AAA000000022553456789",

"currency": "MDL"

},

"transactions": {

"booked": [

{

"transactionId": "tx-123",

"creditorName": "Ion Popescu",

"creditorAccount": {

"iban": "MD21AAA000000022553456789"

},

"transactionAmount": {

"currency": "MDL",

"amount": "500.00"

},

"bookingDate": "2024-09-01",

"valueDate": "2024-09-01",

"remittanceInformationUnstructured": "Plată Factura 123"

}

]

},

"balances": [

{

"balanceType": "interimAvailable",

"balanceAmount": {

"currency": "MDL",

"amount": "99499.99"

},

"lastChangeDateTime": "2024-09-01T12:00:00Z"

}

]

}

[ASPSP] Response Header Parameters:
Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

Content-Type String Mandatory Specifies that the response body format is application/json.

[ASPSP] Parameters of Success Response:
Parameter Type Condition Description

account Object Mandatory Information about the account associated with the transactions.

account.iban String Mandatory The IBAN of the account.

account.currency String Mandatory The currency of the account.

Parameter Type Condition Description

transactions Object Mandatory Information about the transactions from the query parameters.

transactions.booked Array Mandatory The recorded transactions (booked).

transactions.pending Array Mandatory The pending transactions (pending).

transactionId String Mandatory The unique ID of the transaction.

bookingDate String Mandatory The date the transaction was recorded.

valueDate String Mandatory The date the transaction was executed.

transactionAmount Object Mandatory Contains the amount and currency of the transaction.

transactionAmount.currency String Mandatory The currency of the transaction.

transactionAmount.amount String Mandatory The amount of the transaction.

creditorName String

Max70Text

Mandatory (if Debit) The name of the creditor.

creditorAccount Object

Mandatory

(if Debit

and held by

ASPSP)

The creditor's account.

creditorAccount.iban String

Mandatory (if Debit and held by

ASPSP)

The creditor's IBAN.

debtorName String Mandatory (if Credit) The name of the debtor.

debtorAccount Object

Mandatory (if Credit and held by

ASPSP)

The debtor's account.

debtorAccount.iban String Mandatory (if Credit

IBAN of the debtor.

[ASPSP] Response Sample (Error - 400 Bad Request):

{

"tppMessages": [

Parameter Type Condition Description

and held by

ASPSP)

remittanceInformationUnstructured

String

Max420Text

[0-9a-zAZ/\-

\?:\(\)\.,'\+

]{1,35}

Mandatory Unstructured information about the payment (e.g. invoice details). If the ASPSP provides this kind of information in its application, it is obliged to provide it to the TPP as well.

balances Array

Mandatory (if it

contains

withBalance)

The list of balances associated with the account.

balanceType String

Mandatory withBalance)

(if it

contains

The type of balance (e.g.

interimAvailable, expected).

balanceAmount Object

Mandatory (if it withBalance)

contains

Details about the amount in the account.

balanceAmount.currency String

Mandatory (if it contains withBalance)

The currency of the account (e.g. MDL,

USD).

balanceAmount.amount String

Mandatory withBalance)

(if it

contains

The available amount in the account.

lastChangeDateTime String

Mandatory

(if it

contains

withBalance)

The date and time of the last change of the balance.

{

"category": "ERROR",

"code": "FORMAT_ERROR",

"text": "string",

"path": "string"

}

]

}

[ASPSP] Parameters of Error Response:
Parameter Type Condition Description

tppMessages Array Mandatory The list of error messages generated by the server.

tppMessages.category String Mandatory The category of the message (ERROR, WARNING).

tppMessages.code String Mandatory The error code (e.g.: FORMAT_ERROR).

tppMessages.text String Mandatory The detailed description of the error (e.g.: "Invalid IBAN format").

tppMessages.path String Optional Indicates the exact location of the error.

3. Payments Endpoint
Method: Payment initiation
Method type: POST /v1/{payment-service}/{payment-product}

Description: This method initiates a payment depending on the type of product chosen, which currently includes domestic and instant payments, defined by the national scheme of the Republic of

Moldova. Each type of payment is specified by {payment-product}.

[TPP] Path Parameters:
Name Type Condition Description

paymentservice String Mandatory The type of payment service (can be: payments, bulkpayments, periodic-payments).

paymentproduct String Mandatory The type of product used (e.g. domestic-credittransfers-md or instant-credit-transfers-md).

[TPP] Request Header Parameters:

Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

Mandatory for verification of uniqueness by the ASPSP.

Content-type String Mandatory Specifies the request body format application/json

PSU-IP-Address String Mandatory The IP address of the PSU.

PSU-Device-ID String Mandatory The ID of the device used by the PSU.

PSU-DeviceName String Mandatory The name/model (generic) of the device from which the PSU connects.

PSU-GeoLocation

Geo

Location Mandatory The geographic position of the PSU.

TPP-RedirectURI String Mandatory The redirect URI to the TPP after the completion of the payment.

TPP-NokRedirect-URI String Optional The redirect URI in case of error.

Date Datetime Mandatory The date and time at which the request is made (RFC 7231).

Digest String Mandatory It is included if and only if the element

"Signature" is included in the request header.

Signature String Mandatory Signing of the request by the TPP at the application level.

TPP-SignatureCertificate String Mandatory

The certificate used for signing the request, in base64 encoding.

It must be included if there is a signature.

Example of payment initiation through the product: domestic-credit-transfers-md

[TPP] Request Header Sample:

GET https://api.provider.com/v1/payments/ domestic-credit-transfers-md

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

Content-Type: application/json

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Geo-Location: GEO:47.046399;28.762064

TPP-Redirect-URI: https://tpp-example.md/redirect

TPP-Nok-Redirect-URI: https://tpp-example.md/redirect-failure

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=i/AwfzfBZztOinTJq+ANgtvyxF4ukmQjGM+Ae+5Twhs=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP

STISC 1003600096694, C=MD", algorithm="rsa-sha256", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7ySP54ZXg

H8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7F6T5gqa

OQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTxYm2Ccco vJQJuyfwO7ICtVjkkWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY7AkDPylQtD/k

TxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAwTbF7kZg xXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDbf6zA0ZSczX4r h7tBf3rc5BC+Mv9WgfWHi5BQ=="

[TPP] Request body Sample:

{

"endToEndIdentification": "cc5a8022-5e71-460e-82fa-ab0be1997a5",

"instructedAmount": {

"currency": "MDL",

"amount": "1000.00"

},

"debtorAccount": {

"iban": "MD12AA000001100032130935"

},

"creditorName": "Comerciant X",

"creditorId": "2002002002002",

"creditorOrgId": "ABCDEFGHI1ABCDFD1212",

"creditorCtryOfRes": "MD",

"creditorAccount": {

"iban": "MD24AA000001100032130935"

},

"instructionPriority": "NORM",

"remittanceInformationUnstructured": "Plata facturii #123"

}

[TPP] Parameters of body request:
Parameter Type Condition Description

endToEndIdentification String

Max35Text

Mandatory The unique ID of the payment from the

TPP for tracking it.

debtorAccount Object Optional Information about the debtor's account.

debtorAccount.iban String Optional The IBAN of the debtor's account.

instructedAmount Object Mandatory The amount instructed for transfer.

instructedAmount.currency String Mandatory The currency of the account (e.g. MDL).

instructedAmount.amount String Mandatory The amount of the payment.

creditorName String

Max70Text

Mandatory The name of the beneficiary/creditor.

creditorId String

Max35Text

Mandatory The ID of the beneficiary (IDNP/IDNO or non-resident ID).

creditorOrgId

String

Max20Text

[A-Z0-9]

Optional The legal entity identifier (LEI) – a unique 20-character alphanumeric reference code based on the ISO 17442 standard, assigned to a legal person.

creditorCtryOfRes

String

Text [AZ]{2,2}

Mandatory The country code of the beneficiary (ISO 3166-1).

creditorAccount Object Mandatory Information about the creditor's account.

creditorAccount.iban String Mandatory The IBAN of the creditor's account.

Parameter Type Condition Description endToEndIdentification String

Max35Text

Mandatory The unique ID of the payment from the

TPP for tracking it.

instructionPriority String

Mandatory The type of transfer, indicating the transfer regime.

NORM – for regular payments

URGT – for urgent payments remittanceInformationUnstructured

String

Max420Text

[0-9a-zAZ/\-

\?:\(\)\.,'\+

]{1,35}

Optional (in the case of A2A mandatory by ASPSP)

Additional information regarding the payment (free text).

Example of payment initiation through the product: instant- credit-transfers-md

[TPP] Request Header Sample:

GET https://api.provider.com/v1/payments/ instant- credit-transfers-md

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

Content-Type: application/json

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

PSU-Geo-Location: GEO:47.046399;28.762064

TPP-Redirect-URI: https://tpp-example.md/redirect

TPP-Nok-Redirect-URI: https://tpp-example.md/redirect-failure

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=+8pwEuPygqm1u33m0Y0LCSlsU8UhTgYDhMZhoi871rU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP

STISC 1003600096694, C=MD", algorithm="rsa-sha256", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7ySP54ZXg

H8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7F6T5gqa

OQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTxYm2Ccco vJQJuyfwO7ICtVjkkWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY7AkDPylQtD/k

TxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAwTbF7kZg xXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDbf6zA0ZSczX4r h7tBf3rc5BC+Mv9WgfWHi5BQ==",

[TPP] Request body Sample:

{

"endToEndIdentification": "d14c3e75-8a2f-4e93-b3ca-ec4fd7128b9e",

"instructedAmount": {

"currency": "MDL",

"amount": "1000.00"

},

"debtorAccount": {

"iban": "MD12AA000001100032130935"

},

"creditorAccount": {

"msisdn ": "37399000000"

},

"purposeCode": "201",

"remittanceInformationUnstructured": "Transfer P2P"

}

[TPP] Parameters of body request:
Parameter Type Condition Description

endToEndIdentification String

Max35Text

Mandatory The unique ID of the payment from the

TPP for tracking it.

debtorAccount Object Optional Information about the debtor's account.

debtorAccount.iban String Mandatory The IBAN of the debtor's account.

Parameter Type Condition Description

instructedAmount Object Mandatory The amount instructed for transfer.

instructedAmount.currency String Mandatory The currency of the account (e.g. MDL).

instructedAmount.amount String Mandatory The amount of the payment.

creditorAccount Object Mandatory Information about the creditor's account.

creditorAccount.msisdn String Mandatory Alias of the creditor's account.

purposeCode String

Mandatory The TCC code, according to the BNM documentation.

At the moment only

TCC 201 will be used for P2P payments.

remittanceInformationUnstructured

String

Max420Text

[0-9a-zAZ/\-

\?:\(\)\.,'\+

]{1,35}

Optional Additional information regarding the payment (free text).

[ASPSP] Response Header sample:

Content-Type: application/json

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

ASPSP-SCA-Approach: REDIRECT

Date: Wed, 11 Sep 2024 12:34:58 GMT

Location: "/v1/payments/ domestic-credit-transfers-md/MD123456789"

[ASPSP] Response Sample (201 Created):

{

"transactionStatus": "RCVD",

"paymentId": "MD123456789",

"_links": {

"scaRedirect": {

"href": "www.mybankapp.md//authentication/ a7c3e9f8-1a44-4cd3-83ab-4f29d1f9e8c7 "

},

"self": {

"href": "/v1/payments/MD123456789"

},

"status": {

"href": "/v1/payments/ MD123456789/status"

}

}

}

[ASPSP] Parameters of Success Response:
Parameter Type Condition Description

transactionStatus String Mandatory The status of the transaction paymentId String Mandatory Unique identifier of the payment.

_links String Mandatory Link for the details of the initiated transaction.

[ASPSP] Response Sample (Error or Warning):

{

"tppMessages": [

{

"category": "ERROR",

"code": "FORMAT_ERROR",

"path": "string",

"text": "string"

}

[ASPSP] Parameters of Error Response:
Parameter Type Condition Description

tppMessages Array Mandatory The list of error messages generated by the server.

tppMessages.category String Mandatory The category of the message (ERROR, WARNING).

tppMessages.code String Mandatory The error code (e.g.: FORMAT_ERROR).

Parameter Type Condition Description

tppMessages.text String Mandatory The detailed description of the error (e.g.: "Invalid IBAN format").

tppMessages.path String Optional Indicates the exact location of the error.

Method: Get payment information

Method type: GET /v1/{payment-service}/{payment-product}/{paymentId}

Description: This method allows viewing the details of an initiated payment using the unique payment identifier ({paymentId}) for the specified payment type ({payment-product}).

[TPP] Path Parameters:
Name Type Condition Description

paymentservice String Mandatory The type of payment service (can be: payments, bulkpayments, periodic-payments).

paymentproduct String Mandatory The type of product used (e.g. domestic-credittransfers-md or instant-credit-transfers-md).

paymentId String Mandatory The identifier of the initiated payment.

[TPP] Request Header Parameters:

Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

PSU-IPAddress String Mandatory The IP address of the PSU. In the case of a call without PSU intervention, the TPP fills in 0.0.0.0.

PSU-DeviceID String Mandatory The unique ID of the device used by the PSU. In the case

of a call without PSU intervention, the TPP fills in nopsu-involved.

PSU-DeviceName String Mandatory

The name/model (generic) of the device from which the PSU connects.

In the case of a call without

PSU intervention, the TPP fills in no-psu-involved.

PSU-GeoLocation

Geo

Location Optional

The geographic location transmitted of the corresponding HTTP request between the PSU and the TPP, if available.

Name Type Condition Description

Date Datetime Mandatory The date and time at which the request is made (RFC 7231).

Digest

String Mandatory It is included if and only if the element

"Signature" is included in the request header.

Signature

String Mandatory

Signing of the request by the TPP at the application level.

TPPSignatureCertificate

String Mandatory The certificate used for signing the request, in base64 encoding.

It must be included if there is a signature.

[TPP] Request Sample:

GET https://api.provider.com/v1/payments/ domestic-credit-transfers-md/MD123456789

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId="SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP

STISC 1003600096694, C=MD", algorithm="rsa-sha256", signature="Base64(RSA-SHA256(signing string))"

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY7AkDP ylQtD/kTxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAw

TbF7kZgxXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDbf6zA0

ZSczX4rh7tBf3rc5BC+Mv9WgfWHi5BQ==",

[ASPSP] Response Sample (200 OK) (domestic-credit-transfers-md):

{

"paymentId": "MD123456789",

"debtorAccount": {

"iban": "MD12AA000001100032130935"

},

"instructedAmount": {

"currency": "MDL",

"amount": "1000.00"

},

"creditorAccount": {

"iban": "MD24AA000001100032130935"

},

"creditorName": "Nume Beneficiar",

"remittanceInformationUnstructured": "Plata facturii #123",

"transactionStatus": "ACCP",

"transactionFees": {

"currency": "MDL",

"amount": "5.00"

}

}

[ASPSP] Parameters of Success Response (domestic-credit-transfers-md):

Parameter Type Condition Description paymentId String Mandatory Unique identifier of the payment.

transactionStatus String Mandatory The current status of the payment.

debtorAccount Object Mandatory The debtor's account.

debtorAccount.iban String Mandatory The IBAN of the debtor's account.

instructedAmount Object Mandatory The amount instructed for payment (currency and value).

instructedAmount.currency

String Mandatory

The currency of the account (e.g. MDL).

instructedAmount.amount String Mandatory The amount of the payment.

Parameter Type Condition Description creditorAccount Object Mandatory The creditor's account.

creditorAccount.iban String Mandatory The IBAN of the creditor's account.

creditorName String

Max70Text

Mandatory The name of the payment beneficiary.

remittanceInformationUnstructured

String

Max420Text

[0-9a-zAZ/\-

\?:\(\)\.,'\+

]{1,35}

Optional

Additional information regarding the payment.

transactionStatus String Mandatory The status of the payment.

transactionFees Object Optional The fees related to the transaction.

transactionFees.currency String Optional The currency of the commission (e.g.

MDL) transactionFees.amount String Optional The amount of the commission.

[ASPSP] Response Sample for instant-credit-transfers-md (200 OK):

{

"paymentId": " MD123456789",

"debtorAccount": {

"iban": "MD12AA000001100032130935"

},

"instructedAmount": {

"currency": "MDL",

"amount": "1000.00"

},

"creditorAccount": {

"msisdn": "37399000000"

},

"remittanceInformationUnstructured": "Plata P2P",

"transactionStatus": "ACTC",

"transactionFees": {

"currency": "MDL",

"amount": "5.00"

}

[ASPSP] Parameters of Success Response (domestic-credit-transfers-md):
Parameter Type Condition Description

paymentId String Mandatory Unique identifier of the payment.

transactionStatus String Mandatory The current status of the payment.

debtorAccount Object Mandatory The debtor's account.

debtorAccount.iban String Mandatory The IBAN of the debtor's account.

instructedAmount Object Mandatory The amount instructed for payment (currency and value).

instructedAmount.currency

String Mandatory

The currency of the account (e.g. MDL).

instructedAmount.amount

String Mandatory

The amount of the payment.

creditorAccount Object Mandatory The creditor's account.

creditorAccount.iban String Mandatory The IBAN of the creditor's account.

creditorName String

Max70Text

Mandatory The name of the payment beneficiary.

remittanceInformationUnstructured

String

Max420Text

[0-9a-zAZ/\-

\?:\(\)\.,'\+

]{1,35}

Optional

Additional information regarding the payment.

Parameter Type Condition Description

transactionStatus String Mandatory The status of the payment.

transactionFees Object Optional The fees related to the transaction.

transactionFees.currency String Optional The currency of the commission (e.g.

MDL) transactionFees.amount String Optional The amount of the commission.

[ASPSP] Response Sample (Error or Warning):

{

"tppMessages": [

{

"category": "ERROR",

"code": "FORMAT_ERROR",

"text": "string",

"path": "string",

}

[ASPSP] Parameters of Error Response:

Parameter Type Condition Description

tppMessages Array Mandatory The list of error messages generated by the server.

tppMessages.category String Mandatory The category of the message (ERROR, WARNING).

tppMessages.code String Mandatory The error code (e.g.: FORMAT_ERROR).

tppMessages.text String Mandatory The detailed description of the error (e.g.: "Invalid IBAN format").

tppMessages.path String Optional Indicates the exact location of the error.

Method: Get payment status

Method type: GET /v1/{payment-service}/{payment-prodyuct}/{paymentId}/status

Description: This method returns the current status of an initiated payment, identified by {paymentId}, for the specified payment product type ({payment-product}).

[TPP] Path Parameters:
Name Type Condition Description

paymentservice String Mandatory The type of payment service (can be: payments, bulkpayments, periodic-payments).

paymentproduct String Mandatory The type of product used (e.g. domestic-credittransfers-md or instant-credit-transfers-md).

paymentId String Mandatory The identifier of the initiated payment.

[TPP] Request Header Parameters:

Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by the TPP for identifying the request.

PSU-IPAddress String Mandatory

The IP address of the PSU. In the case of a call without PSU intervention, the TPP fills in 0.0.0.0.

PSU-DeviceID String Mandatory The ID of the device used by the PSU. In the case of a call without PSU intervention, the TPP fills in no-psuinvolved.

PSU-DeviceName String Mandatory

The name/model (generic) of the device from which the PSU connects.

In the case of a call without

PSU intervention, the TPP fills in no-psu-involved.

PSU-GeoLocation

Geo

Location Optional The geographic position of the PSU.

Date Datetime Mandatory The date and time at which the request is made (RFC 7231).

Digest

String Mandatory It is included if and only if the element

"Signature" is included in the request header.

Signature

String Mandatory

Signing of the request by the TPP at the application level.

TPPSignatureCertificate

String Mandatory The certificate used for signing the request, in base64 encoding.

It must be included if there is a signature.

[TPP] Request Header Sample:

GET https://api.provider.com/v1/payments/domestic-credit-transfers-md/

MD123456789/status

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

PSU-IP-Address: 192.168.0.10

PSU-Device-ID: device-12345

PSU-Device-Name: ModelDevice X

Date: Wed, 11 Sep 2024 12:34:56 GMT

Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Signature: keyId=“SN= 4000000010FC01D520258AB15EAF, CA=CN=D-eSystemTrustIB, O=IP

STISC 1003600096694, C=MD”, algorithm=”rsa-sha256”, headers=”digest date x-request-id”, signature=”Base64(RSA-SHA256(signing string))”

TPP-Signature-Certificate:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzKzT+I32ygAqDdZVfKYtDkWVZT7y

SP54ZXgH8dEUM6d9fKhs6DFiM9Do5slDDo7YwLjXU8Iq7C4eONHp+7u0z5LmvMyYnxgD0h1S7

F6T5gqaOQz3Qkm9bW2QY5M6Fh8/FivYpno3pzUNrzzTyAdIQ8MjbbJff7cDwDpwnFVgbQ6ZTx

Ym2CccovJQJuyfwO7ICtVjkkWmZTfl2AfQwvMFuPRTlxjDLDBMOwDsYMBVBym8vSdzY7AkDP ylQtD/kTxMo+4toD+oLlo7mMtpTeDs/qhvZXMnRPvE/JIE58xsiCBvUe36V1ht+WLidqk9iYxeAw

TbF7kZgxXjUGBYDrz/B4fqa2FqNzdsq2+LfsAk5cDBshXq1t/vmhty7TK09KPBrbDAjm9uDbf6zA0

ZSczX4rh7tBf3rc5BC+Mv9WgfWHi5BQ=="

[ASPSP] Response Header sample:

X-Request-ID: 123e4567-e89b-12d3-a456-426614174000

[ASPSP] Response Body Sample (200 OK):

{

"transactionStatus": "ACCP"

}

[ASPSP] Response Header Parameters:
Name Type Condition Description

X-Request-ID UUID Mandatory Unique ID generated by TPP for identifying the request.

[ASPSP] Parameters of Success Response:
Parameter Type Condition Description

transactionStatus String Mandatory The current status of the payment.

[ASPSP] Response Sample (Error or Warning):

{

"tppMessages": [

{

"category": "ERROR",

"code": "FORMAT_ERROR",

"path": "string",

"text": "string"

}

[ASPSP] Parameters of Error Response:
Parameter Type Condition Description

tppMessages Array Mandatory List of error messages generated by the server.

tppMessages.category String Mandatory The category of the message (ERROR, WARNING).

tppMessages.code String Mandatory The error code (e.g., FORMAT_ERROR).

tppMessages.text String Mandatory Detailed description of the error (e.g., "Invalid IBAN format").

tppMessages.path String Optional Indicates the exact location of the error.

Annex No. 2 Types of responses and standardized error codes

1. Consent Status

Code Description

received The consent data has been received and is technically correct. The data is not yet authorized.

rejected The consent data has been rejected, for example, due to the lack of a successful authorization.

partiallyAuthorised The consent requires multi-level authorization, but not all mandated authorizations have been performed yet.

valid The consent is accepted and is valid for GET calls of account data and others specified in the consent object.

revokedByPsu The consent has been revoked by the PSU to the ASPSP.

expired The consent has expired.

terminatedByTpp The corresponding TPP has revoked the consent by applying the

DELETE method to the consent resource.

2. Account Access

Attribute Type Description accounts Array Request for account details.

balances Array Request for account balances.

transactions Array Request for account transactions.

additionalInformation Structured Requests structured additional information.

availableAccounts String Allowed values: "allAccounts" and

"allAccountsWithOwnerName".

availableAccountsWithBalance String Allowed values: "allAccounts" and

"allAccountsWithOwnerName".

3. Account Reference

Attribute Type Description iban IBAN IBAN identifier of the account.

bban BBAN BBAN code, used for accounts that do not have an IBAN.

pan PAN

Account number for cards, used instead of IBAN or BBAN where applicable.

maskedPan Masked

PAN Masked PAN, used to partially display the card number.

msisdn MSISDN

MSISDN number used to identify an alias in instant payments.

currency Currency code The currency code of the account.

4. Account Details

Attribute Type Description resourceId String Data element used to access data from a dedicated account.

iban IBAN IBAN reference of the account.

bban BBAN The BBAN code, used for accounts without IBAN.

pan PAN

Account number for cards, used instead of IBAN or

BBAN.

maskedPan Masked PAN Masked PAN for partial display of the card number.

msisdn MSISDN

MSISDN number for identifying an alias in instant payments.

currency Currency Code The currency code of the account (ISO 4217).

ownerName Max140Text The name of the legal owner of the account.

name Max70Text The name of the account, assigned by the ASPSP in collaboration with the account holder for additional identification.

displayName Max70Text The name of the account as defined by the PSU in online channels.

product Max35Text The product name related to this account.

cashAccountType Cash Account

Type The account type code according to ISO 20022.

Attribute Type Description status String The account status ("enabled" - available, "deleted" - closed,

"blocked" - blocked for legal reasons).

bic BICFI The BIC code associated with the account.

linkedAccounts Max70Text Name for the account associated with pending card transactions.

usage Max4Text Specifies the use of the account (PRIV - personal, ORGA - business).

details Max500Text Additional details about the features of the account or the relevant card.

creditLimit Amount The PSU's credit limit for all cards linked to this card account.

balances Array of

Balances Specifies the account balances.

_links Links Direct links to access detailed information about the account, balances, or transactions.

5. Links

Attribute Description scaRedirect

The link to the ASPSP where SCA is performed within the Redirect

SCA approach.

scaOAuth

The link refers to a JSON document that specifies the OAuth details of the ASPSP's authorization server.

confirmation

The link that defines the URL to a resource that must be updated with a confirmation code or an access token, depending on the authentication process (Redirect or OAuth).

startAuthorisation

Link to an endpoint where the authorization of a transaction or the cancellation of a transaction begins with a POST. No additional data is required.

Attribute Description startAuthorisationWithPsuIdentification the authorization of a transaction begins with the provision of PSU identification.

updatePsuIdentification

Link to the payment initiation resource or account information resource, which requires updating with the PSU identification if it has not already been provided.

startAuthorisationWithProprietaryData the authorization of a transaction begins with specific proprietary data, according to the ASPSP documentation.

updateProprietaryData Link to the resource that requires updating with the proprietary data.

startAuthorisationWithPsuAuthentication authorization begins with PSU authentication.

updatePsuAuthentication updating with the PSU password and, possibly, the PSU identification if it has not already been provided.

updateAdditionalPsuAuthentication updating with an additional PSU password.

startAuthorisationWithEncryptedPsuAuthentication authorization begins with the provision of the PSU's encrypted authentication data.

updateEncryptedPsuAuthentication updating with the PSU's encrypted password and, possibly, the PSU identification.

updateAdditionalEncryptedPsuAuthentication updating with an additional encrypted PSU password.

Attribute Description startAuthorisationWithAuthenticationMethodSelection authorization begins with the selection of the SCA method.

selectAuthenticationMethod

Link to a resource where the TPP can select the applicable authentication method for the PSU.

startAuthorisationWithTransactionAuthorisation the transaction authorization and the transmission of the challenge response data are performed simultaneously.

authoriseTransaction

Link to the payment initiation resource or consent, where the transaction authorization request is sent.

self

Link to the payment initiation resource created by the request.

It can be used to check the transaction status.

status Link to check the status of the transaction resource.

scaStatus Link to check the status of the authorization or cancellation of the authorization.

account

Link to the resource that provides details about a specific account.

balances Link to the resource that provides the balance of a specific account.

transactions

Link to the resource that provides the transaction history of a specific account.

cardAccount Link to the resource that provides details about a card account.

Attribute Description cardTransactions

Link to the resource that provides the transaction history of a card account.

transactionDetails Link to the resource that provides details about a specific transaction.

first Navigation link for paginated account reports.

next Navigation link for the next paginated report.

previous Navigation link for the previous report.

last Navigation link for the last paginated report.

download Download link for large AIS data packages.

6. SCA Status

Code Description

received The authorization resource has been created successfully.

psuIdentified The PSU has been identified for the authorization resource.

psuAuthenticated The PSU has been identified and authenticated.

scaMethodSelected The SCA procedure has been selected by the PSU/TPP.

started The SCA procedure has been started.

unconfirmed The SCA has been technically completed successfully, but requires confirmation from the TPP.

finalised The SCA procedure has been completed successfully.

failed The SCA procedure has failed.

7. Transaction Status

Code Description

ACCC Settlement on the creditor's account has been completed.

ACCP Verification of the customer profile was successful.

ACSC Settlement on the debtor's account has been completed.

ACSP Payment initiation has been accepted for execution.

ACTC Technical validation has been accepted.

ACWC The instruction has been accepted, but a change will be made.

RCVD Payment initiation has been received by the receiving agent.

PDNG Payment initiation or transaction is pending.

RJCT Payment initiation or transaction has been rejected by the PSU on the ASPSP side.

CANC

Payment initiation has been cancelled before execution upon request from the TPP via API.

8. Balance Type

Balance type Description closingBooked The account balance at the end of the agreed reporting period.

Includes all entries made on the account.

expected Balance calculated based on completed entries and pending items, projecting the end-of-day balance.

openingBooked The account balance at the beginning of the reporting period, identical to the final balance of the previous report.

interimAvailable The available balance calculated during the working day, subject to subsequent changes during the day.

interimBooked Balance calculated during the day, based on credit and debit entries made up to the specified time.

forwardAvailable Available balance in advance, which the account holder can use at a specified date.

nonInvoiced For card accounts only, under definition.

9. HTTP Response

Code Status Description

200 OK

The response code for PUT, GET requests, indicating that the request was successful.

201 Created POST response for a correctly made Payment Initiation or Consent request.

202 Accepted Response code for the DELETE method, used when a payment can be cancelled, but requires additional authorization.

204 No Content

Response code for the DELETE method, which indicates that the consent resource has been successfully deleted/revoked.

The request has been processed, but the response contains no content (no content).

400 Bad Request Validation error, for example, incorrect syntax in the request or incorrect data in the payload.

401 Unauthorized The TPP or PSU is not correctly authorized to perform the request.

403 Forbidden The resource exists but cannot be accessed by the TPP or PSU.

404 Not Found The referenced resource or endpoint does not exist or cannot be found.

405 Method Not

Allowed The HTTP method is not supported on a specific endpoint.

408 Request

Timeout The server is working correctly, but the request has timed out.

409 Conflict The request was not completed due to a conflict with the current state of the target resource.

415 Unsupported

Media Type The TPP has provided a media type (Content-Type) that the ASPSP does not support.

429 Too Many

Requests

The request was rejected due to too high a volume of requests in a short time interval.

500 Internal

Server Error General error of the ASPSP server, indicating an internal problem.

503 Service

Unavailable

The service is temporarily unavailable, usually due to maintenance or server overload.

10. HTTP Error Codes

Code HTTP code Description

Method endpoint

FORMAT_ERROR 400

The format of certain fields in the request does not meet the requirements.

/consents,

/accounts,

/payments

PARAMETER_NOT_CONSISTEN

T 400

The parameters sent by the TPP are not consistent (only for query parameters).

/consents,

/accounts,

/payments

PARAMETER_NOT_SUPPORTED 400

The parameter is not accepted by the ASPSP API.

/consents,

/accounts

SERVICE_INVALID

400 (if payload)/ 405 (if HTTP method)

The requested service is not valid for the requested resources.

/consents,

/accounts,

/payments

RESOURCE_UNKNOWN

400 (if payload)/ 403 (other resource in path)/

404 (if accountid in path)

The requested resource cannot be found in relation to the TPP.

/consents,

/accounts,

/payments

RESOURCE_EXPIRED

400 (if payload)/ 403 (if path)

The requested resource has expired and is no longer accessible.

/consents,

/accounts,

/payments

RESOURCE_BLOCKED 400

The requested resource cannot be accessed, being blocked for example in a signing basket.

/consents,

/accounts,

/payments

TIMESTAMP_INVALID 400

The time is not within an accepted period.

/consents,

/accounts,

/payments

PERIOD_INVALID 400

The requested time period has gone beyond the limit.

/consents,

/accounts,

/payments

SCA_METHOD_UNKNOWN 400

The SCA method addressed in the request for selecting the authentication method is unknown or cannot be compared by the ASPSP with the PSU.

/consents,

/accounts,

/payments

CONSENT_UNKNOWN

400 (if header)/403 (if path)

The Consent-ID cannot be found by the ASPSP in relation to the TPP.

/consents,

/accounts,

/payments

SESSIONS_NOT_SUPPORTED 400

The indicator for the combined service cannot be used with this ASPSP.

/consents,

/accounts,

/payments

PAYMENT_FAILED 400

The POST request for payment initiation has failed.

The ASPSP will provide the failure details. /payments

EXECUTION_DATE_INVALID 400

The requested execution date is not valid for the ASPSP. /payments

CERTIFICATE_INVALID 401

The content of the signature certificate does not meet the requirements or is invalid.

/consents,

/accounts,

/payments

ROLE_INVALID 403

The TPP does not hold the required role.

/consents,

/accounts

CERTIFICATE_EXPIRED 401

The signature certificate has expired.

/consents,

/accounts,

/payments

CERTIFICATE_BLOCKED 401

The signature certificate has been blocked.

/consents,

/accounts,

/payments

CERTIFICATE_REVOKED 401

The signature certificate has been revoked.

/consents,

/accounts,

/payments

CERTIFICATE_MISSING 401

The signature certificate was not available in the request, but is mandatory for the corresponding service.

/consents,

/accounts,

/payments

CERTIFICATE_UNKNOWN 401

The signature certificate is not found in the Open Banking Digital List.

/consents,

/accounts,

/payments

SIGNATURE_INVALID 401

The signature applied for TPP authentication is invalid.

/consents,

/accounts,

/payments

SIGNATURE_MISSING 401

The signature applied for TPP authentication is required but missing.

/consents,

/accounts,

/payments

CORPORATE_ID_INVALID 401

The PSU-Corporate-ID cannot be found by the ASPSP.

/consents,

/accounts,

/payments

PSU_CREDENTIALS_INVALID 401

The PSU-ID cannot be found by the ASPSP or is blocked, or the password/OTP is not correct.

/consents,

/accounts,

/payments

CONSENT_INVALID 401

The consent created by the TPP is not valid for the requested service/resource.

/consents,

/accounts,

/payments

CONSENT_EXPIRED 401

The consent created by the TPP has expired and must be renewed.

/consents,

/accounts,

/payments

TOKEN_UNKNOWN 401

The OAuth2 token cannot be found by the ASPSP in relation to the

TPP.

/consents,

/accounts,

/payments

TOKEN_INVALID 401

The OAuth2 token is associated with the TPP but is not valid for the requested service/resource.

/consents,

/accounts,

/payments

TOKEN_EXPIRED 401

The OAuth2 token has expired and must be renewed.

/consents,

/accounts,

/payments

SERVICE_BLOCKED 403

The service is not accessible to the PSU due to a channel-independent block by the ASPSP.

/consents,

/accounts,

/payments

PRODUCT_INVALID 403

The requested payment product is not available for the PSU. /payments

PRODUCT_UNKNOWN 404

The requested payment product is not accepted by the ASPSP. /payments

CANCELLATION_INVALID 405

The addressed payments cannot be cancelled due to a time limit or legal restrictions. /payments

REQUESTED_FORMATS_INVALI

D 406

The formats requested in the Accept header do not correspond to the formats offered by the ASPSP.

/consents,

/accounts

STATUS_INVALID 409

The requested resource does not allow additional authorizations.

/consents,

/accounts,

/payments

ACCESS_EXCEEDED 429

Account access has exceeded the consented multiplicity without PSU involvement per day.

/consents,

/accounts

Annex No. 3

Mechanism for ASPSP verification of calls transmitted by TPP

1. Generation of the request by the TPP

Step 1. Calculation of the hash for the Digest field

1.1. The TPP creates the request body (for example, the JSON with the transaction or consent data).

1.2. The TPP applies the SHA-256 algorithm to the request body to generate a unique hash.

1.3. The resulting hash is encoded in Base64 format and placed in the Digest request header.

Step 2. Creation of the signing string

2.1. The TPP prepares a signing string based on specific fields from the request header.

2.2. The signing string is obtained by concatenating the values of the signed headers, in a specific format.

2.3. The order of the header values is important and complies with the specifications.

Step 3. Signing the signing string

3.1. The TPP uses the RSA private key associated with its certificate to generate the electronic signature.

3.2. The signature is applied to the signing string using the RSA-SHA256 algorithm.

3.3. The resulting electronic signature is encoded in Base64 and placed in the Signature header.

Step 4. Adding the certificate in the TPP-Signature-Certificate header

4.1. The TPP includes its public certificate in the TPP-Signature-Certificate request header.

4.2. The certificate is issued by a trusted certification authority (CA) and contains the TPP's public key.

Step 5. Sending the request to the ASPSP

5.1. The TPP sends the complete request, including the Digest, Signature, and TPP-Signature-Certificate headers, to the ASPSP endpoint.

2. Verification of the request by the ASPSP

Step 1. Validation of the TPP certificate

1.1. The ASPSP verifies the TPP certificate included in TPP-Signature-Certificate.

Steps:

1.1.1. Verification of the certificate's trust chain up to a trusted certification authority.

1.1.2. Verification that the certificate is valid (not expired and not revoked).

1.1.3. The ASPSP must verify that the certificate presented by the TPP is issued and valid for use within Open Banking services, having the purpose of electronic signing and authentication, and that it corresponds exactly to the TPP registered or licensed by the NBM (by querying the NBM's Open Banking digital list if used by the ASPSP for TPP verification), by validating the certificate's serial number and the issuing authority (level 2 CA or root CA), as well as the Signature field.

Result: If the certificate is valid, the TPP's identity is confirmed.

Step 2. Verification of the hash from Digest

2.1. The ASPSP calculates its own SHA-256 hash on the received request body.

2.2. The calculated hash is compared with the value in the Digest header.

Result: If the two hashes are identical, the integrity of the request body is confirmed.

Step 3. Verification of the signature from Signature

3.1. The ASPSP extracts the values of the headers included in the "signing string" based on the information in Signature.

3.2. The ASPSP recreates the signing string according to the same format used by the TPP.

3.3. The ASPSP uses the public key extracted from the certificate in the TPP-Signature-Certificate header to verify the signature in Signature.

Result: If the signature is valid, the authenticity of the request is confirmed.

Step 4. Authorization of the request

4.1. If all verifications are passed (role, integrity, signature, and certificate), the ASPSP processes the request.

4.2. Otherwise, the request is rejected with an error message (for example, 401 Unauthorized or 403 Forbidden).

3. Additional details.

How does the ASPSP verify the signature from Signature?
1.Extract the public key from the TPP-Signature-Certificate:

1.1. The ASPSP takes the certificate (TPP-Signature-Certificate) from the request header (TPP-Signature-Certificate).

1.2. From this certificate, the ASPSP extracts the TPP's public key.

2. Recreate the signing string:

2.1. The ASPSP analyzes the Signature header to identify the signed fields (e.g., Digest, X-Request-ID, Date, etc.).

2.2. The ASPSP recreates the signing string from the actual values of these headers, in the specified order.

3. Decode the signature:

3.1. The ASPSP decodes the value in the signature field of the HTTP Signature header (i.e., Signature.signature), which represents the electronic signature generated by the TPP. Decoding is done using the public key extracted from the TPP-Signature-Certificate and the algorithm specified in Signature.algorithm (e.g., RSA-SHA256).

4.Compare the resulting hash:

4.1. During decoding, the ASPSP obtains a hash calculated by the TPP at the time of signing.

4.2. The ASPSP compares this hash with the hash generated internally from the recreated signing string.

5. Possible results:

5.1. If the hashes match, the signature is valid.

5.2. If the hashes do not match, the signature is invalid, and the request is rejected.

Forms and report formats · 25

research, not legal advice

Similar documents from other regulators

Get NBM alerts — same-day email on every new publication.

Source: National Bank of Moldova — original document · Summary generated with machine assistance and checked by an AI reviewer before publication; the authoritative text is the regulator's original document. How RegAlert works

In RegAlert: added