v2

latestOpenAPI 3.1.02026-07-262279731.3 MB
Users

Update a Legal User

<Warning icon="fa-regular fa-triangle-exclamation"> **Caution - Deprecated endpoint**

The legacy User endpoints are deprecated. This endpoint will stop working and return an error after Dec 15, 2025.

These endpoints were made redundant by the equivalent SCA-enabled endpoints during the introduction of SCA.

Instead of calling this endpoint to change the UserCategory from PAYER to OWNER, your platform must call PUT Categorize a Legal User. You must also redirect the user on the PendingUserAction.RedirectUrl returned so they can enroll in SCA.

If you are not changing the UserCategory, then call the PUT Update a Legal User (SCA) endpoint instead of this deprecated endpoint. SCA re-enrollment is required if your platform changes the Email, PhoneNumber, or PhoneNumberCountry. </Warning>

<Warning icon="fa-regular fa-triangle-exclamation"> **Caution – Modification may cause KYC/B verification downgrade**

If KYCLevel is REGULAR, modifying the following values triggers a verification downgrade to LIGHT:

  • LegalRepresentativeFirstName
  • LegalRepresentativeLastName
  • LegalRepresentativeBirthday
  • LegalRepresentativeNationality
  • LegalPersonType </Warning>
<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
  • LegalRepresentativeNationality
  • LegalRepresentativeCountryOfResidence
  • LegalRepresentativeAddress.Country </Note>

Update a Legal User

put/v2.01/{ClientId}/users/legal/{UserId}

Path parameters

ClientIdstring required

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

UserIdstring required

The unique identifier of the user.

Headers

Authorizationstring required

Bearer authentication of the form Bearer <token>, where token is your auth token.

If your platform is using a proxy to take SCA-triggering action on behalf of users, you also need to integrate mTLS authentication and use the api-mtls base URL.

Request body

UserCategorystring required

Allowed values: PAYER, OWNER

The category of the user:

  • PAYER – User who can only make pay-ins to their wallets and transfers to other wallets (as well as refunds for pay-ins and transfers).
  • OWNER – User who can also receive transfers to their wallets. Owners are able to request KYC verification, which if successful gives them the KYCLevel of REGULAR and the ability to request payouts.
TermsAndConditionsAcceptedboolean required

Whether the user has accepted Mangopay's terms and conditions (as defined by your contract, see the T&Cs guide for details).

Must be true if UserCategory is OWNER.

LegalPersonTypestring

Allowed values: BUSINESS, PARTNERSHIP, ORGANIZATION, SOLETRADER

The type of legal user. For information on which LegalPersonType to use for a particular local legal structure, see the <a href="/guides/users/verification/requirements" target="_blank">verification requirements</a>.

Caution: Modification of the LegalPersonType may result in a <a href="/guides/users/verification/downgrade" target="_blank">verification downgrade</a>.

Namestring

Max. length: 255 characters

The registered legal name of the entity. The Name value should be the one registered with the relevant national authority.

Emailstring

Format: A valid email address

The email address for the entity.

CompanyNumberstring

Required if UserCategory is OWNER and LegalPersonType is BUSINESS. Returned null if UserCategory is PAYER.

The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the Company number guide. To validate the format of a number before submitting documents for verification, use POST Validate the format of User data.

LegalRepresentativeFirstNamestring

Min length: 1; max. length: 100

The first name of the entity's legal representative.

LegalRepresentativeLastNamestring

Min length: 1; max. length: 100

The last name of the entity's legal representative.

LegalRepresentativeEmailstring

Format: A valid email address

The email address of the entity’s legal representative. Returned null if UserCategory is PAYER.

LegalRepresentativeBirthdayinteger

Required if UserCategory is OWNER. Returned null if UserCategory is PAYER.

The date of birth of the entity’s legal representative.

Note: This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.

LegalRepresentativeNationalitystring

Format: Two-letter country code (ISO 3166-1 alpha-2 format)

Required if UserCategory is OWNER. Returned null if UserCategory is PAYER.

The nationality of the entity’s legal representative.

LegalRepresentativeCountryOfResidencestring

Format: Two-letter country code (ISO 3166-1 alpha-2 format)

Required if UserCategory is OWNER. Returned null if UserCategory is PAYER.

The country of residence of the entity’s legal representative.

Tagstring

Max. length: 255 characters

Custom data that you can add to this object.

Response

Success

Namestring

Max. length: 255 characters

The registered legal name of the entity. The Name value should be the one registered with the relevant national authority.

LegalPersonTypestring

Returned values: BUSINESS, PARTNERSHIP, ORGANIZATION, SOLETRADER

The type of legal user. For information on which LegalPersonType to use for a particular local legal structure, see the <a href="/guides/users/verification/requirements" target="_blank">verification requirements</a>.

Caution: Modification of the LegalPersonType may result in a <a href="/guides/users/verification/downgrade" target="_blank">verification downgrade</a>.

LegalRepresentativeFirstNamestring

Min. length: 1; max. length: 100

The first name of the entity’s legal representative.

LegalRepresentativeLastNamestring

Min. length: 1; max. length: 100

The last name of the entity’s legal representative.

LegalRepresentativeEmailstring

Format: A valid email address

The email address of the entity’s legal representative. Returned null if UserCategory is PAYER.

LegalRepresentativeBirthdayinteger

The date of birth of the entity’s legal representative.

Returned null if UserCategory is PAYER.

Note: This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.

LegalRepresentativeNationalitystring

Returned null if UserCategory is PAYER.

The nationality of the entity’s legal representative.

LegalRepresentativeCountryOfResidencestring

Returned null if UserCategory is PAYER.

The country of residence of the entity’s legal representative.

ProofOfRegistrationstring

The Id of the KYC Document whose Type is REGISTRATION_PROOF if validated for the user. If no registration proof is validated, then this value is null.

ShareholderDeclarationstring

The Id of the KYC Document whose Type is SHAREHOLDERS_DECLARATION if validated for the user. If no Shareholder Declaration is validated, then this value is null.

Statutestring

The Id of the KYC Document whose Type is ARTICLES_OF_ASSOCIATION if validated for the user. If no articles of association document is validated, then this value is null.

LegalRepresentativeProofOfIdentitystring

The Id of the KYC Document whose Type is IDENTITY_PROOF if validated for the user. If no identity proof is validated, then this value is null.

CompanyNumberstring

Required if UserCategory is OWNER and LegalPersonType is BUSINESS. Returned null if UserCategory is PAYER.

The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the Company number guide. To validate the format of a number before submitting documents for verification, use POST Validate the format of User data.

Idstring

Max length: 128 characters (see data formats for details)

The unique identifier of the object.

Tagstring

Max. length: 255 characters

Custom data that you can add to this object.

CreationDateinteger

Unix timestamp (UTC) of the date and time the object was created.

PersonTypestring

Returned values: NATURAL, LEGAL

The type of the user:

  • NATURAL – Natural users are individuals (natural persons).
  • LEGAL – Legal users are legal entities (legal persons) like companies, non-profits, and sole proprietors.

The PersonType is defined by the endpoint used to create the user and can’t be modified.

Emailstring

Format: A valid email address

The email address for the entity.

KYCLevelstring

Default value: LIGHT

Returned values: LIGHT, REGULAR

The verification status of the user set by Mangopay:

  • LIGHT – Unverified, assigned by default to all users.
  • REGULAR – Verified, meaning the user has successfully completed the verification process and had the necessary documents validated by Mangopay. Only users whose UserCategory is OWNER can submit verification documents for validation. Only users whose KYCLevel is REGULAR can request payouts.
TermsAndConditionsAcceptedboolean

Whether the user has accepted Mangopay's terms and conditions (as defined by your contract, see the T&Cs guide for details).

Must be true if UserCategory is OWNER.

TermsAndConditionsAcceptedDateinteger

Unix timestamp (UTC) of the date and time the TermsAndConditionsAccepted value was set to true.

Returned null if UserCategory is PAYER.

UserCategorystring

Possible values: PAYER, OWNER, PLATFORM

The category of the user:

  • PAYER – User who can only make pay-ins to their wallets and transfers to other wallets (as well as refunds for pay-ins and transfers).
  • OWNER – User who can also receive transfers to their wallets. Owners are able to request KYC verification, which if successful gives them the KYCLevel of REGULAR and the ability to request payouts.
  • PLATFORM – Single specific user that represents the platform. The PLATFORM value is only assigned by Mangopay and may be used as part of the validated workflow implemented by the platform.
UserStatusstring

Returned values: ACTIVE, CLOSED

Internal use only. This field can only be used and updated by Mangopay teams.