Create a Natural User (SCA)
Changed onRegister a Natural 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.
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 Natural User's Email – for example accept@example.com or john.doe+accept@example.com. </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:
- Nationality
- CountryOfResidence
- Address.Country
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/{ClientId}/sca/users/natural
- 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_natural_user_scaremoved and replaced withusers_create_natural_user_sca
- info