Error messageThe refunded fees cannot exceed initial fee amount
DescriptionThe refund fees amount exceeds the initial transaction fees.
Categories
Refund

Example

In the example below, a refund was attempted with a fees Amount superior to the initial transaction fees Amount.

API Response
{

    "Id": "163084366",

    "Tag": "Created using MANGOPAY API Collection Postman",

    "CreationDate": 1677240128,

    "AuthorId": "142036728",

    "CreditedUserId": null,

    "DebitedFunds": {

        "Currency": "GBP",

        "Amount": 4900

    },

    "CreditedFunds": {

        "Currency": "GBP",

        "Amount": 5900

    },

    "Fees": {

        "Currency": "GBP",

        "Amount": -1000

    },

    "Status": "FAILED",

    "ResultCode": "005404",

    "ResultMessage": "The refunded fees cannot exceed initial fee amount",

    "ExecutionDate": null,

    "Type": "PAYOUT",

    "Nature": "REFUND",

    "InitialTransactionId": "163030075",

    "InitialTransactionType": "PAYIN",

    "InitialTransactionNature": "REGULAR",

    "DebitedWalletId": "150014739",

    "CreditedWalletId": null,

    "RefundReason": {

        "RefundReasonMessage": null,

        "RefundReasonType": "INITIALIZED_BY_CLIENT"

    }

}