restrict Account
Restricts an account, preventing it from processing payments.
Return
A pair of the updated AccountObjects.Account and any NetworkingError.
Parameters
account Id
The ID of the account to restrict.
fun restrictAccount(accountId: String, completionHandler: (AccountObjects.Account?, NetworkingError?) -> Unit)
Restricts an account, preventing it from processing payments.
Parameters
account Id
The ID of the account to restrict.
completion Handler
Called with the updated AccountObjects.Account or a NetworkingError.