Error messageTransaction refused by the terminal
DescriptionTransaction refused by the terminal.
Categories

Pay-in

Refused transaction

Example

API Response
{
    "Id":"3329814449",
    "Tag":"Custom meta",
    "CreationDate":1677629237,
    "AuthorId":"32444030",
    "CreditedUserId":"3244430",
    "DebitedFunds":{
        "Currency":"EUR",
        "Amount":1352
    },
    "CreditedFunds":{
        "Currency":"EUR",
        "Amount":1352
    },
    "Fees":{
        "Currency":"EUR",
        "Amount":0
    },
    "Status":"FAILED",
    "ResultCode":"101103",
    "ResultMessage":"Transaction refused by the terminal",
    "ExecutionDate":null,
    "Type":"PAYIN",
    "Nature":"REGULAR",
    "CreditedWalletId":"3242444054",
    "DebitedWalletId":null,
    "PaymentType":"APPLEPAY",
    "ExecutionType":"DIRECT",
    "SecureMode":null,
    "CardId":null,
    "SecureModeReturnURL":null,
    "SecureModeRedirectURL":null,
    "SecureModeNeeded":false,
    "Culture":null,
    "SecurityInfo":{
        "AVSResult":"NO_CHECK"
    },
    "StatementDescriptor":"Nov2020",
    "BrowserInfo":null,
    "IpAddress":null,
    "Billing":null,
    "Shipping":null,
    "Requested3DSVersion":null,
    "Applied3DSVersion":null,
    "RecurringPayinRegistrationId":null
}

Testing

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

API response
{
    "Id": "193081964",
    "Tag": "Created using Mangopay API Collection Postman",
    "CreationDate": 1686212508,
    "AuthorId": "192822811",
    "CreditedUserId": "192822811",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 33358
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 32358
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "Status": "FAILED",
    "ResultCode": "101103",
    "ResultMessage": "Transaction refused by the terminal",
    "ExecutionDate": null,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "192822814",
    "DebitedWalletId": null,
    "PaymentType": "CARD",
    "ExecutionType": "WEB",
    "RedirectURL": "https://api.sandbox.mangopay.com/Content/PaylineTemplateWidget?rp=e91911b826bc4f7cbcb9e00bebbddc07&transactionId=193081964&token=1bCn7FxTXABDfETyS2551686212508577",
    "ReturnURL": "https://mangopay.com/docs/please-ignore?transactionId=193081964",
    "TemplateURL": "https://api.sandbox.mangopay.com/Content/PaylineTemplateWidget?rp=e91911b826bc4f7cbcb9e00bebbddc07&transactionId=193081964",
    "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
}