Article 4
Authentication code
The authentication code shall be only accepted once by the payment service provider when the payer uses the authentication code to access its payment account online, to initiate an electronic payment transaction or to carry out any action through a remote channel which may imply a risk of payment fraud or other abuses.
For the purpose of paragraph 1, payment service providers shall adopt security measures ensuring that each of the following requirements is met:
no information on any of the elements referred to in paragraph 1 can be derived from the disclosure of the authentication code;
it is not possible to generate a new authentication code based on the knowledge of any other authentication code previously generated;
the authentication code cannot be forged.
Payment service providers shall ensure that the authentication by means of generating an authentication code includes each of the following measures:
where the authentication for remote access, remote electronic payments and any other actions through a remote channel which may imply a risk of payment fraud or other abuses has failed to generate an authentication code for the purposes of paragraph 1, it shall not be possible to identify which of the elements referred to in that paragraph was incorrect;
the number of failed authentication attempts that can take place consecutively, after which the actions referred to in Article 97(1) of Directive (EU) 2015/2366 shall be temporarily or permanently blocked, shall not exceed five within a given period of time;
the communication sessions are protected against the capture of authentication data transmitted during the authentication and against manipulation by unauthorised parties in accordance with the requirements in Chapter V;
the maximum time without activity by the payer after being authenticated for accessing its payment account online shall not exceed 5 minutes.
The payer shall be alerted before the block is made permanent.
Where the block has been made permanent, a secure procedure shall be established allowing the payer to regain use of the blocked electronic payment instruments.