> 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.

# 005407

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

      <td class="table-content">
        Duplicated operation: you cannot reimburse the same amount more than once for a transaction during the same day.
      </td>
    </tr>

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

      <td class="table-content">
        The refund failed because the same amount as already been refunded in the last 24 hours for the initial transaction.
      </td>
    </tr>

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

      <td class="table-content">
        Refund
      </td>
    </tr>
  </tbody>
</table>

### Additional information

Mangopay has safety mechanisms to avoid unwanted duplicated transactions.

### Causes

This error occurs when making two subsequent partial refunds in less than 24 hours with the same `Amount` value for the same initial transaction.

### What to do

In such cases, the platform can either wait 24 hours to make the second refund or make a refund with a different `Amount` value than the preceding one.

### Example

In the example below, the API response when attempting to make an identical partial refund (with the [Create a Refund for a PayIn](/api-reference/refunds/create-refund-payin) endpoint) to the same pay-in twice in less than 24 hours.

**`API Response`**

```json API Response
{
    "Id": "163303686",
    "Tag": "Created using MANGOPAY API Collection Postman",
    "CreationDate": 1677575825,
    "AuthorId": "146476890",
    "CreditedUserId": null,
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 3000
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 3001
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": -1
    },
    "Status": "FAILED",
    "ResultCode": "005407",
    "ResultMessage": "Duplicated operation: you cannot reimburse the same amount more than once for a transaction during the same day.",
    "ExecutionDate": null,
    "Type": "PAYOUT",
    "Nature": "REFUND",
    "InitialTransactionId": "163093582",
    "InitialTransactionType": "PAYIN",
    "InitialTransactionNature": "REGULAR",
    "DebitedWalletId": "148968396",
    "CreditedWalletId": null,
    "RefundReason": {
        "RefundReasonMessage": null,
        "RefundReasonType": "INITIALIZED_BY_CLIENT"
    }
}
```