Skip to content

Block and unblock accounts

A blocked account cannot make or receive calls. Its balance, rates and settings stay as they are, so unblocking restores the account exactly as it was. This is the same as the Blocked check box of the account in the panel.

Both methods support trusted mode with i_customer.

Blocks an account. To end its calls in progress as well, call disconnectAccount.

Name Type Required Description
i_account int yes ID of the account
Name Type Description
result string OK
request
call("blockAccount", {"i_account": 3092})
response
{"result": "OK"}

Unblocks an account. The account can call again at once if its balance and credit limit allow it.

Name Type Required Description
i_account int yes ID of the account
Name Type Description
result string OK
request
call("unblockAccount", {"i_account": 3092})
response
{"result": "OK"}
faultCode Cause
403, 404 No account with this i_account belongs to the authenticated customer