ResourcesError handlingError codes
005404
| Error message | The refunded fees cannot exceed initial fee amount |
|---|---|
| Description | The 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
1 { 2 "Id": "163084366", 3 "Tag": "Created using MANGOPAY API Collection Postman", 4 "CreationDate": 1677240128, 5 "AuthorId": "142036728", 6 "CreditedUserId": null, 7 "DebitedFunds": { 8 "Currency": "GBP", 9 "Amount": 4900 10 }, 11 "CreditedFunds": { 12 "Currency": "GBP", 13 "Amount": 5900 14 }, 15 "Fees": { 16 "Currency": "GBP", 17 "Amount": -1000 18 }, 19 "Status": "FAILED", 20 "ResultCode": "005404", 21 "ResultMessage": "The refunded fees cannot exceed initial fee amount", 22 "ExecutionDate": null, 23 "Type": "PAYOUT", 24 "Nature": "REFUND", 25 "InitialTransactionId": "163030075", 26 "InitialTransactionType": "PAYIN", 27 "InitialTransactionNature": "REGULAR", 28 "DebitedWalletId": "150014739", 29 "CreditedWalletId": null, 30 "RefundReason": { 31 "RefundReasonMessage": null, 32 "RefundReasonType": "INITIALIZED_BY_CLIENT" 33 } 34 }