Payment Services Directive 2 (PSD2) is a European Union regulative which imposes banks to give third parties access to their customers' payment accounts. The regulation means that banks need to offer APIs so that third parties can retrieve account information, transactions and initiate payments on behalf of the customer if they have a valid constent.