Deactivate a Virtual Account
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.
Close an account permanently to prevent it being used
This call serves only to deactivate a virtual account if it is no longer needed. Once deactivated, the account Status is CLOSED.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
If your platform is using a proxy to take SCA-triggering action on behalf of users, you also need to integrate mTLS authentication and use the api-mtls base URL.
Path parameters
The unique identifier of the Virtual Account or legacy Banking Alias (the legacy BankingAliasId value can be used on this endpoint).
Request
Whether or not the Virtual Account is active.
Caution: Setting this value to false permanently closes the account and is irreversible.
Response
Australian Virtual Account with Country AU.
LocalAccountDetails.Account uses the AU-specific format (BSBCode, AccountNumber).
InternationalAccountDetails is always null because Capabilities.InternationalPayinAvailable is always false.
Canadian Virtual Account with Country CA.
LocalAccountDetails.Account uses the CA-specific format (BranchCode, InstitutionNumber, AccountNumber).
InternationalAccountDetails is always null because Capabilities.InternationalPayinAvailable is always false.
German Virtual Account with Country DE.
LocalAccountDetails.Account uses the IBAN format.
InternationalAccountDetails is populated if Capabilities.InternationalPayinAvailable is true.
Danish Virtual Account with Country DK.
LocalAccountDetails.Account uses the DK-specific format (BankCode, AccountNumber).
InternationalAccountDetails is populated if Capabilities.InternationalPayinAvailable is true.
Spanish Virtual Account with Country ES.
LocalAccountDetails.Account uses the IBAN format.
InternationalAccountDetails is populated if Capabilities.InternationalPayinAvailable is true.
French Virtual Account with Country FR.
LocalAccountDetails.Account uses the IBAN format.
InternationalAccountDetails is populated if Capabilities.InternationalPayinAvailable is true.
United Kingdom (UK) Virtual Account with Country GB.
LocalAccountDetails.Account uses the GB-specific format (AccountNumber, SortCode).
InternationalAccountDetails is populated if Capabilities.InternationalPayinAvailable is true.
Liechtenstein Virtual Account with Country LI.
LocalAccountDetails.Account uses the LI-specific format (BCNumber, AccountNumber).
InternationalAccountDetails is populated if Capabilities.InternationalPayinAvailable is true. For LI, InternationalAccountDetails.Account uses the same format as LocalAccountDetails.Account.
Luxembourg Virtual Account with Country LU.
LocalAccountDetails.Account uses the IBAN format.
InternationalAccountDetails is populated if Capabilities.InternationalPayinAvailable is true.
United States Virtual Account with Country US.
LocalAccountDetails.Account uses the US-specific format (AccountNumber, AchNumber, FedWireNumber, AccountType).
InternationalAccountDetails is always null because Capabilities.InternationalPayinAvailable is always false.