PUT
/
v2.01
/
{ClientId}
/
wallets
/
{WalletId}
/
virtual-accounts
/
{VirtualAccountId}
{
    "Active": false
}
{
    "Id": "wltbank_m_01J7NCAT73Q15SVSM9S6Z36GRZ",
    "Tag": "Created using Mangopay API Postman Collection",
    "CreationDate": 1726220691,
    "WalletId": "wlt_m_01J7NC9YKP3NB1PADF4SHZY712",
    "CreditedUserId": "user_m_01J7KACBPAV7XAF8AH9BDCJPRS",
    "VirtualAccountPurpose": "COLLECTION",
    "Country": "GB",
    "Status": "CLOSED",
    "Active": false,
    "AccountOwner": "Mangopay SA (for ACME Platform)",
    "LocalAccountDetails": {
        "Address": {
            "StreetName": "2, Avenue Amélie",
            "PostCode": "L-1125",
            "TownName": "Luxembourg",
            "CountrySubDivision": null,
            "Country": "Luxembourg",
        },
        "Account": {
            "SortCode": "608382",
            "AccountNumber": "21762697",
        }
    },
    "InternationalAccountDetails": {
        "Address": {
            "StreetName": "2, Avenue Amélie",
            "PostCode": "L-1125",
            "TownName": "Luxembourg",
            "CountrySubDivision": null,
            "Country": "Luxembourg",
        },
        "Account": {
            "Iban": "GB62SAPY60838221762697",
            "Bic": null
        }
    },
    "Capabilities": {
        "LocalPayinAvailable": true,
        "InternationalPayinAvailable": true,
        "Currencies": [
            "GBP"
        ]
    }
}

This call serves only to deactivate a virtual account if it is no longer needed. Once deactivated, the account Status is CLOSED.

Caution - Deactivating a Virtual Account is irreversible

Once the Virtual Account object is deactivated, it is closed and cannot be reopened.

Any funds wired to this IBAN or local account details won’t be credited to the corresponding wallet and will be returned to the sender.

If such cases arise, contact Mangopay via the Dashboard.

Path parameters

WalletId
string
required

The unique identifier of the wallet.

VirtualAccountId
string
required

The unique identifier of the virtual account.

Body parameters

Active
boolean

Whether or not the Virtual Account is active.

Caution: Setting this value to false permanently closes the account and is irreversible.

Responses

{
    "Id": "wltbank_m_01J7NCAT73Q15SVSM9S6Z36GRZ",
    "Tag": "Created using Mangopay API Postman Collection",
    "CreationDate": 1726220691,
    "WalletId": "wlt_m_01J7NC9YKP3NB1PADF4SHZY712",
    "CreditedUserId": "user_m_01J7KACBPAV7XAF8AH9BDCJPRS",
    "VirtualAccountPurpose": "COLLECTION",
    "Country": "GB",
    "Status": "CLOSED",
    "Active": false,
    "AccountOwner": "Mangopay SA (for ACME Platform)",
    "LocalAccountDetails": {
        "Address": {
            "StreetName": "2, Avenue Amélie",
            "PostCode": "L-1125",
            "TownName": "Luxembourg",
            "CountrySubDivision": null,
            "Country": "Luxembourg",
        },
        "Account": {
            "SortCode": "608382",
            "AccountNumber": "21762697",
        }
    },
    "InternationalAccountDetails": {
        "Address": {
            "StreetName": "2, Avenue Amélie",
            "PostCode": "L-1125",
            "TownName": "Luxembourg",
            "CountrySubDivision": null,
            "Country": "Luxembourg",
        },
        "Account": {
            "Iban": "GB62SAPY60838221762697",
            "Bic": null
        }
    },
    "Capabilities": {
        "LocalPayinAvailable": true,
        "InternationalPayinAvailable": true,
        "Currencies": [
            "GBP"
        ]
    }
}
{
    "Active": false
}