# ResultCode

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Represents the result codes for various transaction outcomes and error conditions.

## Values

| Value | Description |
| --- | --- |
| `Ok` | Indicates a successful operation. |
| `UserAuthenticationFailed` | Indicates that user authentication has failed. |
| `InvalidTransaction` | Indicates that the transaction is invalid. |
| `InvalidTransactionType` | Indicates that the transaction type is invalid. |
| `InvalidAmount` | Indicates that the amount specified in the transaction is invalid. |
| `InvalidMerchantInfo` | Indicates that the merchant information provided is invalid. |
| `InvalidRegisterInfo` | Indicates that the register information provided is invalid. |
| `FieldFormatError` | Indicates an error in the format of a field. |
| `NotATransactionServer` | Indicates that the server is not a transaction server. |
| `InvalidParameterStream` | Indicates that the parameter stream is invalid. |
| `TooManyLineItems` | Indicates that there are too many line items in the transaction. |
| `ClientTimeoutWaitingForResponse` | Indicates that the client timed out while waiting for a response. |
| `Decline` | Indicates that the transaction was declined. |
| `Referral` | Indicates that the transaction requires a referral. |
| `TransactionTypeNotSupportedInThisVersion` | Indicates that the transaction type is not supported in the current version. |
| `Partial` | Indicates a partial completion of the transaction. |
| `DuplicateBatchProcessed` | Indicates that a duplicate batch has been processed. |
| `IndeterminateBatchState` | Indicates that the batch state is indeterminate. |
| `Reject` | Indicates that the transaction was rejected. |
| `OriginalTransactionIdNotFound` | Indicates that the original transaction ID was not found. |
| `CustomerReferenceNumberNotFound` | Indicates that the customer reference number was not found. |
| `AccountNumberTruncated` | Indicates that the account number was truncated. |
| `InvalidAbaNumber` | Indicates that the ABA (American Bankers Association) number is invalid. |
| `InvalidAccountNumber` | Indicates that the account number is invalid. |
| `InvalidExpirationDate` | Indicates that the expiration date is invalid. |
| `TransactionTypeNotSupportedByHost` | Indicates that the transaction type is not supported by the host. |
| `InvalidReferenceNumber` | Indicates that the reference number is invalid. |
| `InvalidReceiptInformation` | Indicates that the receipt information is invalid. |
| `InvalidCheckHolderName` | Indicates that the check holder name is invalid. |
| `InvalidCheckNumber` | Indicates that the check number is invalid. |
| `CheckDlVerificationRequiresDlState` | Indicates that check DL verification requires a DL state. |
| `PaymentTypesDoNotMatch` | Indicates that the payment types do not match. |
| `InvalidVNumber` | Indicates that the V number is invalid. |
| `Submit` | Indicates that the transaction should be submitted. |
| `Pend` | Indicates that the transaction is pending: nothing was created and nothing went wrong, the outcome is simply not final yet. |
| `InsufficientFundsAvailable` | Indicates that there are insufficient funds available for the transaction. |
| `GeneralError` | Indicates a general error has occurred. |
| `TimeoutValueTooSmall` | Indicates that the timeout value is too small. |
| `ProcessorNotAvailable` | Indicates that the processor is not available. |
| `ErrorReadingResponseFromHost` | Indicates an error occurred while reading the response from the host. |
| `TimeoutWaitingForProcessorResponse` | Indicates a timeout occurred while waiting for the processor response. |
| `CreditError` | Indicates a credit error has occurred. |
| `HostNotAvailable` | Indicates that the host is not available. |
| `DuplicateSuppressionTimeout` | Indicates a timeout occurred during duplicate suppression. |
| `VoidError` | Indicates an error occurred during a void operation. |
| `TimeoutWaitingForHostResponse` | Indicates a timeout occurred while waiting for the host response. |
| `DuplicateTransaction` | Indicates that the transaction is a duplicate. |
| `CaptureError` | Indicates an error occurred during capture. |
| `FailedAvsCheck` | Indicates that the AVS (Address Verification System) check failed. |
| `CannotExceedSalesCap` | Indicates that the transaction cannot exceed the sales cap. |
| `NetworkNotFound` | Indicates that the network was not found. |
| `ReversalError` | Indicates an error occurred during reversal. |
| `InvalidIssuer` | Indicates that the issuer is invalid. |
| `InvalidIndustry` | Indicates that the industry is invalid. |
| `InvalidCompliance` | Indicates that the compliance is invalid. |
| `RegisterNotAuthenticated` | Indicates that the register is not authenticated. |
| `RegisterAuthenticationFailed` | Indicates that register authentication failed. |
| `RegisterAlreadyAuthenticated` | Indicates that the register is already authenticated. |
| `ProcessorNotConfigured` | Indicates that no active processor profile is configured for the transaction's payment method. This is a merchant configuration issue, not a communications failure. |
| `PinDebitNotSupportedOnCreditBin` | Indicates that the request carried PIN data while the resolved BIN funding source is Credit. A credit BIN cannot take a PIN debit authorization, so the request contradicts itself rather than merely being underspecified, and the gateway rejects it before the processor sees it. |
| `CardNotAcceptedByMerchantPolicy` | Indicates that the merchant's card acceptance policy refuses this card. The card was judged from its BIN by funding source, issued entity and issuer country, and one of those axes is one the merchant has configured itself not to take. |
| `ThreeDSecureAuthenticationRequired` | Indicates that the merchant requires 3-D Secure authentication on this kind of transaction and the transaction arrived without a usable authentication: none ran, the issuer did not authenticate the cardholder, or the result the pipeline was handed failed validation. |
| `CashAmountExceedsMerchantPolicy` | Indicates that a cash sale is above the largest cash sale the merchant's cash policy allows. |
| `CashRegisterRequiredByMerchantPolicy` | Indicates that a cash sale names no register (till) and the merchant's cash policy requires one. |
| `CashSourceNotAllowedByMerchantPolicy` | Indicates that a cash sale came from a source other than the Virtual Terminal and the merchant's cash policy takes cash at the Virtual Terminal only. |
| `GenericHostError` | Indicates a generic host error. |
| `InvalidLogin` | Indicates that the login is invalid. |
| `InsufficientPrivilege` | Indicates insufficient privileges for the operation. |
| `InvalidLoginBlocked` | Indicates that the invalid login has been blocked. |
| `InvalidLoginDeactivated` | Indicates that the invalid login has been deactivated. |
| `TransactionTypeNotAllowed` | Indicates that the transaction type is not allowed. |
| `UnsupportedProcessor` | Indicates that the processor is not supported. |
| `InvalidRequestMsg` | Indicates that the request message is invalid. |
| `InvalidVersion` | Indicates that the version is invalid. |
| `PaymentTypeNotSupported` | Indicates that the payment type is not supported. |
| `ErrorStartingTransaction` | Indicates an error occurred while starting the transaction. |
| `ErrorFinishingTransaction` | Indicates an error occurred while finishing the transaction. |
| `ErrorCheckingDuplicate` | Indicates an error occurred while checking for duplicates. |
| `NoRecordsToSettle` | Indicates that there are no records to settle. |
| `NoRecordsToProcess` | Indicates that there are no records to process. |
| `MustSettleAllPaymentTypes` | Indicates that all payment types must be settled. |
| `InvalidPoNumber` | Indicates that the PO (Purchase Order) number is invalid. |
| `FraudControlDecline` | Indicates a fraud control decline. |
| `FraudControlAuthAndHold` | Indicates a fraud control authorization and hold. |
| `FraudControlNoAuthAndHold` | Indicates a fraud control with no authorization and hold. |
| `FraudControlAudit` | Indicates a fraud control audit. |
| `PolicyRejected` | The transaction was rejected by the merchant's own address verification (AVS) or security code (CVV) policy rather than by the issuer. Not an error: the request was answered, and the answer is on the transaction. responseData.declineReasonCode says which of two shapes it took, using the published decline reason vocabulary (/docs/decline-reason-codes on the developer portal): CV_REJECTED when the processor approved and the platform then released the hold with a reversal or void, and CV_NATIVE_DECLINE when the processor applied the rule itself and declined outright, so no hold was ever placed. |
| `Undefined` | Indicates an undefined or unspecified result. |

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
