Error messageDirect debit is not enabled for this bank account
DescriptionThe mandate cannot be created because direct debit is not supported for this bank account.
Categories

Mandate

Direct debit

Causes

This error occurs when the end user’s bank does not allow for direct debit.

What to do

In such cases, end users can:

  • Use another bank account that allows for direct debit.
  • Contact their bank and see if direct debit can be enabled.
  • Use another payment method.

Example

This error can be returned both on the Mandate object and the direct debit pay-ins made against this pay-in.

Mandate object
{
    "Scheme":"SEPA",
    "BankAccountId":"123654988",
    "BankReference":"123654789",
    "Culture":"EN",
    "DocumentURL":"https://api.sandbox.mangopay.com/public/mandates/e8a73d/d276ab3002fd4093bcfc567f79035db5/document",
    "ReturnURL":"http://www.my-site.com/returnURL/?MandateId=163262377",
    "RedirectURL":"https://api.sandbox.mangopay.com/public/mandates/e8a73d/d276ab3002fd4093bcfc567f79035db5/confirmation",
    "CreationDate":1676834102,
    "Status":"FAILED",
    "UserId":"654789321",
    "ExecutionType":"WEB",
    "MandateType":"DIRECT_DEBIT",
    "Tag":null,
    "ResultCode":"001803",
    "ResultMessage":"Direct debit is not enabled for this bank account"
}
Direct Debit PayIn object
{
    "Id":"456987123",
    "CreationDate":1676834780,
    "AuthorId":"456987123",
    "CreditedUserId":"456987123",
    "Status":"FAILED",
    "ExecutionDate":null,
    "ChargeDate":1677110400,
    "Type":"PAYIN",
    "Nature":"REGULAR",
    "CreditedWalletId":"456987123",
    "DebitedWalletId":null,
    "CreditedFunds":{
        "Currency":"EUR",
        "Amount":50000
    },
    "DebitedFunds":{
        "Currency":"EUR",
        "Amount":50000
    },
    "Fees":{
        "Currency":"EUR",
        "Amount":0
    },
    "ResultCode":"001803",
    "ResultMessage":"Direct debit is not enabled for this bank account",
    "PaymentType":"DIRECT_DEBIT",
    "ExecutionType":"DIRECT",
    "Tag":null,
    "MandateId":"456987123",
    "StatementDescriptor":"Nov2020"
}