Users

Manage proxy consent for a User

Changed on

Allows a user to give or revoke consent for SCA-triggering actions taken under proxy.

Before redirecting the user on the PendingUserAction.RedirectUrl returned, ensure you add an encoded returnUrl query parameter – read more about SCA redirection.

On the SCA session, the user can:

  • Give consent for the first time
  • Give consent to additional actions included by your platform
  • Revoke consent (which your platform must allow at any time)

This endpoint also allows a user to enroll if they aren't already.

Read more about proxy consent for SCA-triggering actions →"

post/v2.01/{ClientId}/sca/users/{UserId}/consent

Request

  • Base URL
    https://api.sandbox.mangopay.com
  • URL
    https://api.sandbox.mangopay.com/v2.01/{ClientId}/sca/users/{UserId}/consent
  • Auth
    HTTP bearer

Path parameters

ClientIdstring required

Platform's API account identifier, associated with the API key.

UserIdstring required

The unique identifier of the user.

Response

Success

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id manage_proxy_consent removed and replaced with users_manage_proxy_consent