Authentication PSD2

				
					Sandbox: https://api.sandbox.soisy.it/api/users/authenticate
Produzione: https://api.soisy.it/api/api/users/authenticate
				
			
				
					POST
				
			
ParameterRequiredTypeFormatDescription
emailYesStringA valid email address
passwordYesStringPassword

For each request you will also need to add the header'Content-Type: application/json;charset=UTF-8' .

Below is the example of an authentication request that will allow you to authenticate with a test user and obtaintoken ,userId AndpaymentAccountId that you can use to test the PSD2 API.

				
					    curl 'https://api.sandbox.soisy.it/api/users/authenticate' -H 'Content-Type: application/json;charset=UTF-8' --data-binary '{"username":"ilaria@example.com","password":"ilaria"}'

				
			

The API returns a JSON object that describes the user and contains the authentication token to add to the headerX-Auth-Token of each call to the PSD2 API.userId AndpaymentAccountId they should be used to compile the PSD2 API endpoints.

CodeDescription
200Request completed successfully
401 Unauthenticateduser

Ciao!

Siamo on line dal lunedì al venerdì dalle 9.30 alle 12.30 e dalle 14.30 alle 17.30

Scrivici in questi orari, grazie!