Create a Legal User (SCA)
Changed onRegister a Legal Payer or Owner (with SCA enrollment).
<Note icon="fa-regular fa-circle-info"> **Note – SCA triggered for Owners**If UserCategory is OWNER, this endpoint triggers SCA enrollment. SCA applies to all LegalPersonType.
Your platform needs to use the returned PendingUserAction.RedirectUrl (and add an encoded returnUrl query parameter) to redirect the user so they can enroll. Read more about how to redirect them in the SCA session guide.
In Sandbox, you can bypass SCA by including the word accept in the Legal User's LegalRepresentative.Email – for example accept@example.com or john.doe+accept@example.com. </Note>
<Note icon="fa-regular fa-circle-info"> **Note – Legal representative's email required for Owners**If UserCategory is OWNER, the LegalRepresentative.Email address is required.
SCA uses this email address for the individual who will complete SCA to build a behavioral biometrics profile and as a backup communication channel. Prior to SCA, it was possible to create a Legal OWNER without the LegalRepresentativeEmail. </Note>
<Note icon="fa-regular fa-circle-info"> **Note – Country-based restrictions apply to users**Due to Mangopay's country restrictions, it is not possible to use blocked countries as the following:
- HeadquartersAddress.Country
- LegalRepresentative.Nationality
- LegalRepresentative.CountryOfResidence
- LegalRepresentativeAddress.Country
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/{ClientId}/sca/users/legal
- AuthHTTP bearer
Path parameters
Platform's API account identifier, associated with the API key.
Request body
Response
Success
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
create_legal_user_scaremoved and replaced withusers_create_legal_user_sca
- info