1802

Error messageThe bank details supplied were incorrect
DescriptionThe mandate cannot be created because the bank account is incorrect.
Categories
Mandate

Direct debit

Causes

This error occurs when the bank account details provided for the Bank Account object linked to the mandate were incorrect.

What to do

In such cases, end users need to provide the new bank account details, ensuring they are correct. Then a new mandate can be created for this bank account.

Example

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

Mandate object
1{
2 "Scheme":"SEPA",
3 "BankAccountId":"654789321",
4 "BankReference":"456258",
5 "Culture":"FR",
6 "DocumentURL":"https://api.sandbox.mangopay.com/public/mandates/e8a73d/d276ab3002fd4093bcfc567f79035db5/document",
7 "ReturnURL":"http://www.my-site.com/returnURL/?MandateId=163262377",
8 "RedirectURL":"https://api.sandbox.mangopay.com/public/mandates/e8a73d/d276ab3002fd4093bcfc567f79035db5/confirmation",
9 "Id":"654821397",
10 "CreationDate":1676755397,
11 "Status":"FAILED",
12 "UserId":"456328971",
13 "ExecutionType":"WEB",
14 "MandateType":"DIRECT_DEBIT",
15 "Tag":null,
16 "ResultCode":"001802",
17 "ResultMessage":"The bank details supplied were incorrect"
18}
Direct Debit PayIn object
1{
2 "Id":"123654789",
3 "CreationDate":1676755459,
4 "AuthorId":"6549873211",
5 "CreditedUserId":"211117246",
6 "Status":"FAILED",
7 "ExecutionDate":null,
8 "ChargeDate":1677110400,
9 "Type":"PAYIN",
10 "Nature":"REGULAR",
11 "CreditedWalletId":"32971128737",
12 "DebitedWalletId":null,
13 "CreditedFunds":{
14 "Currency":"EUR",
15 "Amount":50360
16 },
17 "DebitedFunds":{
18 "Currency":"EUR",
19 "Amount":50360
20 },
21 "Fees":{
22 "Currency":"EUR",
23 "Amount":0
24 },
25 "ResultCode":"001802",
26 "ResultMessage":"The bank details supplied were incorrect",
27 "PaymentType":"DIRECT_DEBIT",
28 "ExecutionType":"DIRECT",
29 "Tag":"custom meta",
30 "MandateId":"654821397",
31 "StatementDescriptor":null
32}