The revised Payment Services Directive (PSD2) is a requirement for all payment account providers in the European Union. The directive requires banks to open their infrastructures to other service providers through open APIs while making sure that sensitive information stays secure.