POST
/
v2.01
/
{ClientId}
/
sca
/
users
/
{UserId}
/
enrollment
// This POST has no body
{
    "PendingUserAction": {
        "RedirectUrl": "https://sca.sandbox.mangopay.com/?token=0193cf51ed367151a0cb1c59def21e13"
    }
}

If UserCategory is OWNER, this endpoint allows you to enroll a user in SCA. Your platform needs to retrieve the returned PendingUserAction.RedirectUrl, add an encoded returnUrl query parameter for them to be returned to after the SCA session, and redirect the user.

You can use this endpoint to:

  • Enroll Owners created without SCA enrollment
  • Retry an unsuccessful enrollment
  • Obtain a new session RedirectUrl if a previous one expired (after 10 minutes)

Read more about SCA redirection

Path parameters

UserId
string
required

The unique identifier of the user.

Responses

{
    "PendingUserAction": {
        "RedirectUrl": "https://sca.sandbox.mangopay.com/?token=0193cf51ed367151a0cb1c59def21e13"
    }
}
// This POST has no body