Added

Endpoints to close user accounts

Platforms can close Mangopay Accounts thanks to the two new endpoints:

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.

Closing a user is irreversible and immediate, and can only be done if all their wallets are empty.

Once a user is closed, they are unable to take actions or use Mangopay services.

Prevented actions return the following 400 response if UserStatus is CLOSED:

400
{
    "Message": "User closed: No action can be performed",
    "Type": "user_closed",
    "Id": "553d1f4a-8df9-4a5f-ab76-66ea235b5e85#1744650845",
    "Date": 1744650846,
    "errors": null
}