> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mangopay.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mangopay.com/_mcp/server.

# 001832

<table>
  <tbody>
    <tr>
      <th class="header">
        Error message
      </th>

      <td class="table-content">
        The payment has been cancelled
      </td>
    </tr>

    <tr>
      <th class="header">
        Description
      </th>

      <td class="table-content">
        The pay-in failed because the end user canceled it.
      </td>
    </tr>

    <tr>
      <th class="header">
        Categories
      </th>

      <td class="table-content">
        Mandate

        \


        Direct debit
      </td>
    </tr>
  </tbody>
</table>

#### Causes

This error occurs when end users contacted their bank to cancel the pay-in.

#### What to do

In such cases, platforms need to contact their customer to know more about the cancellation.

#### Example

This error is returned on the [Direct Debit PayIn object](/api-reference/direct-debit-payins/direct-debit-payin-object).

**`API Response`**

```json API Response
{
    "Id":"334844459",
    "CreationDate":1678093060,
    "AuthorId":"440944434",
    "CreditedUserId":"15233444",
    "Status":"FAILED",
    "ExecutionDate":null,
    "ChargeDate":1678320000,
    "Type":"PAYIN",
    "Nature":"REGULAR",
    "CreditedWalletId":"446444219",
    "DebitedWalletId":null,
    "CreditedFunds":{
        "Currency":"EUR",
        "Amount":180000
    },
    "DebitedFunds":{
        "Currency":"EUR",
        "Amount":180000
    },
    "Fees":{
        "Currency":"EUR",
        "Amount":0
    },
    "ResultCode":"001832",
    "ResultMessage":"The payment has been cancelled",
    "PaymentType":"DIRECT_DEBIT",
    "ExecutionType":"DIRECT",
    "Tag":"custom meta",
    "MandateId":"4411544471",
    "StatementDescriptor":"Nov2020"
}
```