pub enum RefusalReason {
Show 40 variants
Refused,
Referral,
AcquirerError,
BlockedCard,
ExpiredCard,
InvalidAmount,
InvalidCardNumber,
IssuerUnavailable,
NotSupported,
ThreeDNotAuthenticated,
NotEnoughBalance,
AcquirerFraud,
Cancelled,
ShopperCancelled,
InvalidPin,
PinTriesExceeded,
PinValidationNotPossible,
Fraud,
NotSubmitted,
FraudCancelled,
TransactionNotPermitted,
CvcDeclined,
RestrictedCard,
RevocationOfAuth,
DeclinedNonGeneric,
WithdrawalAmountExceeded,
WithdrawalCountExceeded,
IssuerSuspectedFraud,
AvsDeclined,
CardRequiresOnlinePin,
NoCheckingAccountAvailable,
NoSavingsAccountAvailable,
MobilePinRequired,
ContactlessFallback,
AuthenticationRequired,
RReqNotReceived,
CurrentAidInPenaltyBox,
CvmRequiredRestartPayment,
ThreeDsAuthenticationError,
TransactionBlockedByAdyen,
}Expand description
Represents various reasons why a transaction might be refused. https://docs.adyen.com/development-resources/refusal-reasons/
Variants§
Refused
The transaction was outright refused.
Referral
The transaction needs a referral.
AcquirerError
An error occurred on the acquirer’s end.
BlockedCard
The card used is blocked and cannot be used for transactions.
ExpiredCard
The card has expired.
InvalidAmount
The amount provided in the transaction does not match the expected amount.
InvalidCardNumber
The card number provided is invalid.
Could not contact the issuer to authorize the transaction.
NotSupported
The type of transaction is not supported by the shopper’s bank.
ThreeDNotAuthenticated
3D Secure authentication was not performed or failed.
NotEnoughBalance
Insufficient funds in the account to cover the transaction.
AcquirerFraud
Possible fraud detected by the acquirer.
Cancelled
The transaction was cancelled by the system.
ShopperCancelled
The transaction was cancelled by the shopper.
InvalidPin
The PIN entered is invalid.
PinTriesExceeded
The PIN was entered incorrectly too many times.
PinValidationNotPossible
The PIN could not be validated.
Fraud
The transaction was flagged as fraudulent due to risk checks.
NotSubmitted
The transaction was not submitted correctly for processing.
FraudCancelled
The transaction was flagged as fraudulent after both pre and post authorization checks.
TransactionNotPermitted
The transaction is not permitted based on various conditions.
CvcDeclined
The Card Verification Code (CVC) was declined.
RestrictedCard
The card has restrictions or is invalid for the transaction context.
RevocationOfAuth
The authorization for recurring transactions was revoked.
DeclinedNonGeneric
A generic decline where the specific reason cannot be mapped accurately.
WithdrawalAmountExceeded
The amount withdrawn exceeds the card’s limit.
WithdrawalCountExceeded
The number of withdrawals exceeds the card’s limit.
IssuerSuspectedFraud
The issuer suspects fraud in the transaction.
AvsDeclined
Address Verification System (AVS) failed.
CardRequiresOnlinePin
The card requires an online PIN for the transaction.
NoCheckingAccountAvailable
The card does not have a checking account linked.
NoSavingsAccountAvailable
The card does not have a savings account linked.
MobilePinRequired
A mobile PIN is required for the transaction.
ContactlessFallback
The shopper abandoned the transaction after a contactless payment attempt failed.
AuthenticationRequired
Authentication is required for the transaction.
RReqNotReceived
The RReq was not received from DS during 3D Secure flow.
CurrentAidInPenaltyBox
The current AID (Application Identifier) is in the penalty box.
CvmRequiredRestartPayment
Card Verification Method (CVM) like PIN or signature is required.
ThreeDsAuthenticationError
An error occurred during 3D Secure authentication.
TransactionBlockedByAdyen
Transaction blocked by Adyen to prevent excessive retry fees.
Trait Implementations§
Source§impl Clone for RefusalReason
impl Clone for RefusalReason
Source§fn clone(&self) -> RefusalReason
fn clone(&self) -> RefusalReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more