latestOpenAPI 3.0.12026-08-101936151.3 KB
61701b027c74
PSD2 account payment and consent
Update challenge ID
This endpoint updates the status of a psd2_challenge_id. After a customer enters their credentials on your login screen, use this endpoint to update the status of the psd2_challenge_id and include the person_id in the payload.<br> If successful, the API returns a redirect_URL for the second-factor authentication (done by Solaris). You have to redirect the customer to this URL to perform the 2FA.<br> Expected error messages: <ol> <li>401 - Unauthorized: The ChallengeID is expired.</li> <li>404 - Not found: The ChallengeID doesn't exist.</li> <li>400 - General Bad Request: The IBAN requested by the TPP does not belong to the specified person.</li> </ol>
patch/v1/psd2/challenges/{psd2_challenge_id}
Path parameters
psd2_challenge_idstring required
Request body
Example request
{
"person_id": "dc1a6812a14f6cc338cd084208535bcdcper"
}Response
The operation was successful.
Example response
{
"person_id": "dc1a6812a14f6cc338cd084208535bcdcper",
"redirect_url": "http://my.sb.de/consent?consent_challenge=cc1234"
}