DELETE
/
v2.01
/
{ClientId}
/
users
/
legal
/
{UserId}
// DELETE has no body parameters

This endpoint allows your platform to close a Mangopay Account, as per Mangopay’s terms and conditions, in the event that the agreement between the user and the platform comes to an end.

When a User is closed, the UserStatus changes to CLOSED but the resource remains available via the API for historical purposes.

Closure is only possible if all wallets held by the user are empty. Closure is allowed for both UserCategory OWNER and PAYER and for all types of Legal user (Business, Partnership, Organization, Soletrader).

Caution – Closure is irreversible

Calling this endpoint immediately and permanently changes the UserStatus to CLOSED if the API call is successful. This cannot be undone, even by Mangopay.

Your platform can re-register the user using POST Create a Legal User (SCA).

Path parameters

UserId
string
required

The unique identifier of the user.

Responses

// DELETE has no body parameters