Void Transaction Error Reference
Below is an overview of the error codes returned by the Void Transaction API. These codes highlight specific issues that may occur when attempting to void a transaction, such as missing or invalid parameters, ineligible transaction states, or inactive merchant accounts. Each error code is followed by a description and status code, helping you quickly diagnose and resolve void-related problems.
Error Code | Description | Status Code |
---|---|---|
Key_InvalidRequest | The TransactionCancelRequest body is required. This error occurs if the request body is not provided or is empty. |
400 |
Key_InvalidMerchant | Occurs when the merchant is not found in the system. | 400 |
Key_MerchantInActive | Occurs when the merchant is found in the system but is inactive. | 400 |
Key_TransactionIdCannotBeEmptyOrNULL | Occurs when the transaction ID is not provided in the request. | 400 |
Key_InvalidTransactionId | Occurs when the provided transaction ID is invalid. | 400 |
Key_TransactionNotFound | Occurs when the transaction is not found in the system. | 400 |
Key_OnlyAuthorizedTransactionCanBeVoided | Occurs when the transaction status is not Authorized . Only transactions in an Authorized state can be voided. |
400 |
Key_OnlySaleTransactionCanBeVoided | Occurs when the transaction OperationType is not a sale. Only sale transactions can be voided. |
400 |
Key_TokenLinkTransactionCanNotBeVoided | Occurs when the transaction was processed via a TokenLink, which cannot be voided. | 400 |
Key_VoidsNotAllowed | Occurs when the transaction is processed by Adyen and the batch ID is not present, indicating voids are not allowed. | 400 |
Key_TransactionCanNotBeVoidedNachaExecutionTimeIsLessThan15Mins | Occurs when NACHA file generation time conditions are not satisfied. The transaction cannot be voided within 15 minutes of execution. | 400 |
Key_TransactionCanNotBeUpdated | Occurs when the transaction is not eligible to be updated. This may be due to its status or processing state. | 400 |