# Verify PSD2 challenge ID This endpoint validates the for a customer. Before allowing the customer to log in, you can use this endpoint to verify that the customer is coming from Solaris and that the session is still valid. If the request fails, the customer should see an error message and must restart the process from the TTP's application. Expected error messages: 401 - Unauthorized: The Challenge ID is expired. 404 - Not found: The Challenge ID doesn't exist. Endpoint: GET /v1/psd2/challenges/{psd2_challenge_id} Version: 1.0 ## Path parameters: - `psd2_challenge_id` (string, required) ## Response 200 fields (application/json): - `person_id` (string) The Solaris person ID associated with the PSD2 request. Example: "null" - `redirect_url` (string) The redirect URL where you must send the customer after authentication. Example: "null" ## Response 400 fields (*/*): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `code` (string) Example: "invalid_request" - `title` (string) Example: "Invalid Request" - `details` (string) Example: "Request is invalid" ## Response 401 fields (*/*): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (integer) Example: 401 - `code` (string) Example: "unauthorized_psd2_challenge" - `title` (string) Example: "Unauthorized PSD2 challenge" - `details` (string) Example: "Challenge expired." ## Response 403 fields (*/*): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (integer) Example: 403 - `code` (string) Example: "unauthorized_action" - `title` (string) Example: "Unauthorized Action" - `details` (string) Example: "Unauthorized action is not allowed." ## Response 404 fields (*/*): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `code` (string) Example: "model_not_found" - `title` (string) Example: "Model Not Found" - `details` (string) Example: "Model was not found" ## Response 500 fields (*/*): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (integer) Example: 500 - `code` (string) Example: "generic_error" - `title` (string) Example: "Generic Error" - `details` (string) Example: "There was an error."