This error occurs when the end user’s bank does not allow for direct debit.
This error can be returned both on the Mandate object and the direct debit pay-ins made against this pay-in.
{
"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"
}