Before blocking or unblocking a virtual account, please ensure that your Access token has ob-as scope in it.
You can temporarily restrict a vIBAN, for example while you review your customer’s activity, and remove the restriction later. Blocking keeps the vIBAN and its mapping to the Master Account. Only the specified vIBAN is affected; other vIBANs and the Master Account continue to work as usual.
Block a virtual account
To block a vIBAN, call the Block Virtual Account API with the vIBAN in the request path. Use the blockType parameter to choose which transactions to stop:
| blockType | vIBAN status after block | Description |
|---|---|---|
debit | DEBIT BLOCKED | Outgoing (debit) payments from the vIBAN are blocked. The vIBAN can still receive incoming payments. |
credit | CREDIT BLOCKED | Incoming (credit) payments to the vIBAN are blocked. Payments from the vIBAN can still be initiated. |
debit, credit | BLOCKED | Both outgoing (debit) and incoming (credit) payments are blocked. |
Each payment is checked against the vIBAN’s block type:
- payments initiated from a
DEBIT BLOCKEDorBLOCKEDvIBAN with the Initiate Payment API are rejected; - incoming payments sent to a
CREDIT BLOCKEDorBLOCKEDvIBAN are not credited to the Master Account.
Unblock a virtual account
To remove a block, call the Unblock Virtual Account API with the vIBAN in the request path. After it is unblocked, the vIBAN can again receive and send payments.
Important! Blocks on the Master Account also apply to all vIBANs mapped to it. If the Master Account is blocked, its vIBANs are restricted in the same way even if they are not blocked themselves, and unblocking a vIBAN does not remove a Master Account block.
Tips! Check the current status of a vIBAN with the Get Virtual Accounts API.
Blocking and unblocking vIBANs is available only via API. It is not available in the Online Banking Portal.
Need help? Contact our dev support