Legal framework PSD