Skip to main content

TransactionStateReason

Notes for adding to these error types: This error reason is surfaced to the client via the API so only add messages that are appropriate for the client. If the error requires a custom error message to be displayed to the user then the error message can be added to cardPaymentErrorMessages in the Reuben vault values.

enum TransactionStateReason {
getTokenError
unknownError
authenticationError
authorizationFailed
authorizationNotFinalised
downstreamProviderError
internalServerError
insufficientFunds
invalidInputError
invalidTransactionError
invalidTransactionStatusError
invalidPaymentRequest
invalidConsentRequest
paymentRequestInInvalidState
clientNotFound
invalidCardError
secure3dDeclined
secure3dNotCompleted
secure3dLookupFailed
waitingFor3dSecure
capitecClientNotFound
capitecMerchantNotFound
capitecAppNotFound
capitecClientDeactivated
capitecTransactionLimitExceeded
capitecMaxTransactionLimitExceeded
capitecClientBlockedMerchant
capitecDuplicatePayment
waitingForCapitecConsentRequest
capitecConsentRequestFailed
capitecConsentRequestDeclined
capitecConsentRequestTimedOut
capitecConsentRequestFraudulent
capitecConsentRequestInstitutionFailure
waitingForNedbankDirectConsentRequest
invalidConfigurationError
paymentRefundFailed
exceedsOriginalAmount
belowOriginalAmount
transactionDisputed
transactionExistsError
transactionAlreadySucceeded
waitingForCapture
}

Values

getTokenError

unknownError

authenticationError

authorizationFailed

authorizationNotFinalised

downstreamProviderError

internalServerError

insufficientFunds

invalidInputError

invalidTransactionError

invalidTransactionStatusError

invalidPaymentRequest

invalidConsentRequest

paymentRequestInInvalidState

clientNotFound

invalidCardError

secure3dDeclined

secure3dNotCompleted

secure3dLookupFailed

waitingFor3dSecure

capitecClientNotFound

capitecMerchantNotFound

capitecAppNotFound

capitecClientDeactivated

capitecTransactionLimitExceeded

capitecMaxTransactionLimitExceeded

capitecClientBlockedMerchant

capitecDuplicatePayment

waitingForCapitecConsentRequest

capitecConsentRequestFailed

capitecConsentRequestDeclined

capitecConsentRequestTimedOut

capitecConsentRequestFraudulent

capitecConsentRequestInstitutionFailure

waitingForNedbankDirectConsentRequest

invalidConfigurationError

paymentRefundFailed

exceedsOriginalAmount

belowOriginalAmount

transactionDisputed

transactionExistsError

transactionAlreadySucceeded

waitingForCapture