post https://sandbox-api.helix.q2.com/account/close
Close an account. If the account balance is greater than $0 or any interest is owed on the account those amounts are calculated and a transaction is implicitly created with the sum of those amounts being credited into the given closeToAccountId
. That transaction's tag
property is also assigned the value in the transactionTag
property (if specified).
Error Codes
Click to expand
Code | Message (en-US) | Notes |
---|---|---|
1-60000 | Any "Common Error Code" may occur. | See Common Error Codes |
61150 | RequestingCustomerId is a required field | requestingCustomerId is required when creating a business account |
65296 | CloseReasonNotes must be provided if CloseReason is Other | |
65901 | Invalid account id '{0}'. | |
65902 | Invalid closing account id '{0}'. | |
65903 | Transaction with tag '{0}' already exists. | |
65904 | Closing account id '{0}' is deactivated. | |
65905 | Closing account id '{0}' is not yet verified. | |
65906 | Closing account id '{0}' is not open. | |
65907 | Account id '{0}' and close to account id '{1}' cannot be the same. | |
65908 | Cannot close an account with pending transactions or funds on hold. | |
65909 | Cannot close an account with a negative balance. | |
65910 | Account id '{0}' is not allowed to be closed. | The isCloseable flag is set to false for this account, preventing the close from succeeding. To force a close, use the Helix Admin console to perform this functionality. |
65911 | Invalid close to account id '{0}'. | |
65912 | CloseToAccountId {1} does not match Cash account configured for program '{0}'. | |
65914 | Account id '{0}' is already closed. | |
65916 | Customer id '{0}' has insufficient privileges to close account id '{1}'. | |
65917 | Customer id '{0}' has insufficient privileges to deposit funds into account id '{1}'. | |
65918 | Account id '{0}' is still associated with card id '{1}'. Call /card/removeAccount to disassociate, then retry your request. | |
65920 | Invalid NetAccountValue of {0}. Contact support. | |
65925 | If provided closeReason must be one of the following; Fraud, Never funded, BSA Reasons, Relationship Ended, Deceased, Consolidating Bank Accounts, Other | |
65926 | CloseReasonNotes must be provided if CloseReason is Other | |
65927 | CloseReasonNotes maximum length is 255 characters |