post
https://sandbox-api.helix.q2.com/account/lock
Lock an account. Most locks can be reversed by calling /account/unlock. Please check the /account/unlock documentation to see which lock scenarios can be subsequently unlocked. Will apply a lockTypeCode of CST or SYS on success and the account will be locked, meaning no funds transfers can take place.
Error Codes
Click to expand
| Code | Message (en-US) | Notes |
|---|---|---|
| 1-60000 | Any "Common Error Code" may occur. | See Common Error Codes |
| 61201 | Must specify a valid lockReasonTypeCode. Refer to API documentation for valid types | |
| 61202 | Customer id 0 has insufficient privileges to lock account id 1. | |
| 61203 | Invalid Account Lock Type Code 0. Valid values include CST and SYS. | |
| 61204 | Invalid Account Lock Reason Type Code 0. Values include UNK, FRD, ADM, TMP, FRZ. | |
| 61205 | AccountId 0 is in a status of 1 and cannot be locked. | |
| 61206 | AccountId 0 has been locked by the System and cannot be unlocked by a customer. | |
| 61207 | Account Lock feature is disabled for program 0. Cannot lock. | |
| 61208 | AccountId 0 has been marked as fraud investigation and cannot be changed by a customer. |

