Make sure you have the required local FSA license (PISP and/or AISP).
Each country has their own guidelines on obtaining a license, please consult with your local FSA. If you have needed license in one country and want to connect to PSD2 API in another country, you need to passport the license from the country where you have the license to the other country.