PUT
/
v2.01
/
{ClientId}
/
users
/
{UserId}
/
bankaccounts
/
{BankAccountId}
{
    "Active":false
}  
{
    "OwnerAddress":{
        "AddressLine1":"The Oasis",
        "AddressLine2":"Rue des plantes",
        "City":"Paris",
        "Region":"Ile de France",
        "PostalCode":"75010",
        "Country":"FR"
    },
    "IBAN":"FR7630004000031234567890143",
    "BIC":"CRLYFRPP",
    "UserId":"142036728",
    "OwnerName":"John Doe",
    "Type":"IBAN",
    "Id":"142036878",
    "Tag":"Custom meta",
    "CreationDate":1654073079,
    "Active":false
}  

Caution – Replaced by Recipients feature

The Bank Account object and endpoints have been replaced by the Recipients feature, which all platforms should integrate instead.

Legacy active Bank Accounts (Active is true) have been migrated to the new feature and their data is retrievable via the GET View a Recipient endpoint using the same BankAccountId. Read more about legacy bank account migration.

Path parameters

UserId
string
required

The unique identifier of the User (natural or legal) who owns the bank account.

BankAccountId
string
required

The unique identifier of the bank account.

Body parameters

Active
boolean
required

Whether or not the Bank Account is active. Mangopay automatically sets this parameter to false if the bank account is closed or does not exist anymore.

Responses

{
    "OwnerAddress":{
        "AddressLine1":"The Oasis",
        "AddressLine2":"Rue des plantes",
        "City":"Paris",
        "Region":"Ile de France",
        "PostalCode":"75010",
        "Country":"FR"
    },
    "IBAN":"FR7630004000031234567890143",
    "BIC":"CRLYFRPP",
    "UserId":"142036728",
    "OwnerName":"John Doe",
    "Type":"IBAN",
    "Id":"142036878",
    "Tag":"Custom meta",
    "CreationDate":1654073079,
    "Active":false
}  
{
    "Active":false
}