> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 005408

> <small>&#8249; [All error codes](/errors/codes#refunds)</small>

<table>
  <tbody>
    <tr>
      <th class="header"><strong>Error message</strong></th>
      <td class="table-content">Due to repudiations against this transaction, you can not refund this amount.</td>
    </tr>

    <tr>
      <th class="header"><strong>Description</strong></th>
      <td class="table-content">The refund failed because the pay-in is already being disputed.</td>
    </tr>

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

      <td class="table-content">
        <div class="label">Refund</div>\
        <div class="label">Dispute</div>
      </td>
    </tr>
  </tbody>
</table>

#### Causes

This error may occur when attempting to refund a pay-in which is already subject to a dispute.

More specifically, the dispute has been canceled (`VOID`) and created again for this error to be triggered.

#### Example

```json API Response theme={null}
{
    "Id":"334444519",
    "Tag":"Custom meta",
    "CreationDate":1678092440,
    "AuthorId":"283444453",
    "CreditedUserId":null,
    "DebitedFunds":{
        "Currency":"EUR",
        "Amount":10425
    },
    "CreditedFunds":{
        "Currency":"EUR",
        "Amount":10425
    },
    "Fees":{
        "Currency":"EUR",
        "Amount":0
    },
    "Status":"FAILED",
    "ResultCode":"005408",
    "ResultMessage":"Due to repudiations against this transaction, you can not refund this amount.",
    "ExecutionDate":null,
    "Type":"PAYOUT",
    "Nature":"REFUND",
    "InitialTransactionId":"324444606",
    "InitialTransactionType":"PAYIN",
    "InitialTransactionNature":"REGULAR",
    "DebitedWalletId":"32444427",
    "CreditedWalletId":null,
    "RefundReason":{
        "RefundReasonMessage":null,
        "RefundReasonType":"INITIALIZED_BY_CLIENT"
    }
}
```
