Error messageInvalid transaction amount
DescriptionThe end user’s bank has rejected the transaction.
Categories
Pay-in

What to do

In such cases, end users can contact their bank to know more about the issue.

Testing

This error can be tested in Sandbox by using the 33313 value for the debited funds Amount parameter. After clicking on the RedirectURL, viewing the pay-in will display the 001013 error as in the example below.

API response
{
    "Id": "193083630",
    "Tag": "Created using Mangopay API Collection Postman",
    "CreationDate": 1686213792,
    "AuthorId": "192822811",
    "CreditedUserId": "192822811",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 33313
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 32313
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "Status": "FAILED",
    "ResultCode": "001013",
    "ResultMessage": "Invalid transaction amount",
    "ExecutionDate": null,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "192822814",
    "DebitedWalletId": null,
    "PaymentType": "CARD",
    "ExecutionType": "WEB",
    "RedirectURL": "https://api.sandbox.mangopay.com/Content/PaylineTemplateWidget?rp=5aa9ac07a3534b609197e9707de2f396&transactionId=193083630&token=1YP2MIw4fDPfTzFT11951686213792957",
    "ReturnURL": "https://mangopay.com/docs/please-ignore?transactionId=193083630",
    "TemplateURL": "https://api.sandbox.mangopay.com/Content/PaylineTemplateWidget?rp=5aa9ac07a3534b609197e9707de2f396&transactionId=193083630",
    "CardType": "CB_VISA_MASTERCARD",
    "Culture": "EN",
    "SecureMode": "DEFAULT",
    "Billing": {
        "FirstName": "Norval",
        "LastName": "Gerlach",
        "Address": {
            "AddressLine1": "7973 Hayes Islands",
            "AddressLine2": "Runolfsson Dale",
            "City": "Paris",
            "Region": "Ile-de-France",
            "PostalCode": "75001",
            "Country": "FR"
        }
    },
    "Shipping": {
        "FirstName": "Norval",
        "LastName": "Gerlach",
        "Address": {
            "AddressLine1": "7973 Hayes Islands",
            "AddressLine2": "Runolfsson Dale",
            "City": "Paris",
            "Region": "Ile-de-France",
            "PostalCode": "75001",
            "Country": "FR"
        }
    },
    "StatementDescriptor": null
}