Deactivate a Virtual Account
Changed onOnce 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 <a href="https://hub.mangopay.com/" target="_blank">via the Dashboard</a>. </Warning>
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.
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/{ClientId}/wallets/{WalletId}/virtual-accounts/{VirtualAccountId}
- AuthHTTP bearer
Path parameters
Platform's API account identifier, associated with the API key.
The unique identifier of the wallet.
The unique identifier of the Virtual Account or legacy Banking Alias (the legacy BankingAliasId value can be used on this endpoint).
Request body
Response
Success
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
deactivate_virtual_accountremoved and replaced withvirtualAccounts_deactivate_virtual_account
- info