Error messageThe associated bank account is not active
DescriptionThe bank account targeted by the payout is inactive.
Categories
Payout

Causes

This error may occur when attempting to make a payout to a bank account whose Active parameter value is set to false.

What to do

In such cases, a new Bank Account needs to be created by the platform, as it is not possible to set the Active parameter value back to true.

Example

In the example below, a payout to an inactive bank account was made.

API Response
{
    "ModeRequested": null,
    "ModeApplied": "NONE",
    "FallbackReason": null,
    "EndToEndId": "d773be7688ee42268524171e10de3780",
    "Id": "160738468",
    "Tag": "Created using MANGOPAY API Collection Postman",
    "CreationDate": 1674556192,
    "AuthorId": "142036728",
    "CreditedUserId": null,
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 999
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 1
    },
    "Status": "FAILED",
    "ResultCode": "121006",
    "ResultMessage": "The associated bank account is not active",
    "ExecutionDate": null,
    "Type": "PAYOUT",
    "Nature": "REGULAR",
    "CreditedWalletId": null,
    "DebitedWalletId": "145389978",
    "PaymentType": "BANK_WIRE",
    "BankAccountId": "150287803",
    "BankWireRef": "Postman"
}