Error messageThe user has cancelled the mandate
DescriptionThe mandate has been canceled by the end user.
Categories
Mandate

Causes

This error occurs when the end user cancels the mandate on their side.

What to do

In such cases, the platform needs to contact the end users and mediate with them to find an agreement, which can be either the end of their business relationship, or the creation of a new mandate.

Example

In the example below, a response example following a View a Mandate request on a mandate that has been canceled by the end user.

API Response
{
    "Scheme": "SEPA",
    "BankAccountId": "151467634",
    "BankReference": "MANGOPAY-8TA5P7Z67",
    "Culture": "EN",
    "DocumentURL": "https://api.sandbox.mangopay.com/public/mandates/e8a73d/4782dc962a724ee09467def2cf4e69fd/document",
    "ReturnURL": "http://www.my-site.com/returnURL/?MandateId=156620699",
    "RedirectURL": "https://api.sandbox.mangopay.com/public/mandates/e8a73d/4782dc962a724ee09467def2cf4e69fd/confirmation",
    "Id": "156620699",
    "CreationDate": 1669040333,
    "Status": "FAILED",
    "UserId": "151452401",
    "ExecutionType": "WEB",
    "MandateType": "DIRECT_DEBIT",
    "Tag": "This is a tag for my mandate",
    "ResultCode": "001805",
    "ResultMessage": "The user has cancelled the mandate"
}