If a returnUrl
is specified during the initiate identification attempt API call, then the user will be redirected to that URL once they have submitted (or failed to submit) their identification.
The returnUrl
is augmented with a result
query parameter containing either a submitted
or failed
value.
returnUrl | Result of flow | Actual URL that user is redirected to |
---|---|---|
https://mypage.com/ida_return | Documents submitted | https://mypage.com/ida_return?result=submitted |
https://mypage.com/ida_return | Failed | https://mypage.com/ida_return?result=failed |
https://mypage.com/ida_return?other_query_parameter=1234 | Documents submitted | https://mypage.com/ida_return?other_query_parameter=1234&result=submitted |
https://mypage.com/ida_return?other_query_parameter=1234 | Failed | https://mypage.com/ida_return?other_query_parameter=1234&result=failed |