Enum stripe::generated::core::api_errors::ApiErrorsCode
source · pub enum ApiErrorsCode {
Show 163 variants
AccountClosed,
AccountCountryInvalidAddress,
AccountErrorCountryChangeRequiresAdditionalSteps,
AccountInformationMismatch,
AccountInvalid,
AccountNumberInvalid,
AcssDebitSessionIncomplete,
AlipayUpgradeRequired,
AmountTooLarge,
AmountTooSmall,
ApiKeyExpired,
ApplicationFeesNotAllowed,
AuthenticationRequired,
BalanceInsufficient,
BalanceInvalidParameter,
BankAccountBadRoutingNumbers,
BankAccountDeclined,
BankAccountExists,
BankAccountRestricted,
BankAccountUnusable,
BankAccountUnverified,
BankAccountVerificationFailed,
BillingInvalidMandate,
BitcoinUpgradeRequired,
CaptureChargeAuthorizationExpired,
CaptureUnauthorizedPayment,
CardDeclineRateLimitExceeded,
CardDeclined,
CardholderPhoneNumberRequired,
ChargeAlreadyCaptured,
ChargeAlreadyRefunded,
ChargeDisputed,
ChargeExceedsSourceLimit,
ChargeExpiredForCapture,
ChargeInvalidParameter,
ChargeNotRefundable,
ClearingCodeUnsupported,
CountryCodeInvalid,
CountryUnsupported,
CouponExpired,
CustomerMaxPaymentMethods,
CustomerMaxSubscriptions,
CustomerTaxLocationInvalid,
DebitNotAuthorized,
EmailInvalid,
ExpiredCard,
FinancialConnectionsAccountInactive,
FinancialConnectionsNoSuccessfulTransactionRefresh,
IdempotencyKeyInUse,
IncorrectAddress,
IncorrectCvc,
IncorrectNumber,
IncorrectZip,
InstantPayoutsConfigDisabled,
InstantPayoutsCurrencyDisabled,
InstantPayoutsLimitExceeded,
InstantPayoutsUnsupported,
InsufficientFunds,
IntentInvalidState,
IntentVerificationMethodMissing,
InvalidCardType,
InvalidCharacters,
InvalidChargeAmount,
InvalidCvc,
InvalidExpiryMonth,
InvalidExpiryYear,
InvalidNumber,
InvalidSourceUsage,
InvalidTaxLocation,
InvoiceNoCustomerLineItems,
InvoiceNoPaymentMethodTypes,
InvoiceNoSubscriptionLineItems,
InvoiceNotEditable,
InvoiceOnBehalfOfNotEditable,
InvoicePaymentIntentRequiresAction,
InvoiceUpcomingNone,
LivemodeMismatch,
LockTimeout,
Missing,
NoAccount,
NotAllowedOnStandardAccount,
OutOfInventory,
OwnershipDeclarationNotAllowed,
ParameterInvalidEmpty,
ParameterInvalidInteger,
ParameterInvalidStringBlank,
ParameterInvalidStringEmpty,
ParameterMissing,
ParameterUnknown,
ParametersExclusive,
PaymentIntentActionRequired,
PaymentIntentAuthenticationFailure,
PaymentIntentIncompatiblePaymentMethod,
PaymentIntentInvalidParameter,
PaymentIntentKonbiniRejectedConfirmationNumber,
PaymentIntentMandateInvalid,
PaymentIntentPaymentAttemptExpired,
PaymentIntentPaymentAttemptFailed,
PaymentIntentUnexpectedState,
PaymentMethodBankAccountAlreadyVerified,
PaymentMethodBankAccountBlocked,
PaymentMethodBillingDetailsAddressMissing,
PaymentMethodConfigurationFailures,
PaymentMethodCurrencyMismatch,
PaymentMethodCustomerDecline,
PaymentMethodInvalidParameter,
PaymentMethodInvalidParameterTestmode,
PaymentMethodMicrodepositFailed,
PaymentMethodMicrodepositVerificationAmountsInvalid,
PaymentMethodMicrodepositVerificationAmountsMismatch,
PaymentMethodMicrodepositVerificationAttemptsExceeded,
PaymentMethodMicrodepositVerificationDescriptorCodeMismatch,
PaymentMethodMicrodepositVerificationTimeout,
PaymentMethodNotAvailable,
PaymentMethodProviderDecline,
PaymentMethodProviderTimeout,
PaymentMethodUnactivated,
PaymentMethodUnexpectedState,
PaymentMethodUnsupportedType,
PayoutReconciliationNotReady,
PayoutsLimitExceeded,
PayoutsNotAllowed,
PlatformAccountRequired,
PlatformApiKeyExpired,
PostalCodeInvalid,
ProcessingError,
ProductInactive,
ProgressiveOnboardingLimitExceeded,
RateLimit,
ReferToCustomer,
RefundDisputedPayment,
ResourceAlreadyExists,
ResourceMissing,
ReturnIntentAlreadyProcessed,
RoutingNumberInvalid,
SecretKeyRequired,
SepaUnsupportedAccount,
SetupAttemptFailed,
SetupIntentAuthenticationFailure,
SetupIntentInvalidParameter,
SetupIntentMandateInvalid,
SetupIntentSetupAttemptExpired,
SetupIntentUnexpectedState,
ShippingCalculationFailed,
SkuInactive,
StateUnsupported,
StatusTransitionInvalid,
StripeTaxInactive,
TaxIdInvalid,
TaxesCalculationFailed,
TerminalLocationCountryUnsupported,
TerminalReaderBusy,
TerminalReaderHardwareFault,
TerminalReaderOffline,
TerminalReaderTimeout,
TestmodeChargesOnly,
TlsVersionUnsupported,
TokenAlreadyUsed,
TokenCardNetworkInvalid,
TokenInUse,
TransferSourceBalanceParametersMismatch,
TransfersNotAllowed,
UrlInvalid,
}
Expand description
An enum representing the possible values of an ApiErrors
’s code
field.
Variants§
AccountClosed
AccountCountryInvalidAddress
AccountErrorCountryChangeRequiresAdditionalSteps
AccountInformationMismatch
AccountInvalid
AccountNumberInvalid
AcssDebitSessionIncomplete
AlipayUpgradeRequired
AmountTooLarge
AmountTooSmall
ApiKeyExpired
ApplicationFeesNotAllowed
AuthenticationRequired
BalanceInsufficient
BalanceInvalidParameter
BankAccountBadRoutingNumbers
BankAccountDeclined
BankAccountExists
BankAccountRestricted
BankAccountUnusable
BankAccountUnverified
BankAccountVerificationFailed
BillingInvalidMandate
BitcoinUpgradeRequired
CaptureChargeAuthorizationExpired
CardDeclineRateLimitExceeded
CardDeclined
CardholderPhoneNumberRequired
ChargeAlreadyCaptured
ChargeAlreadyRefunded
ChargeDisputed
ChargeExceedsSourceLimit
ChargeExpiredForCapture
ChargeInvalidParameter
ChargeNotRefundable
ClearingCodeUnsupported
CountryCodeInvalid
CountryUnsupported
CouponExpired
CustomerMaxPaymentMethods
CustomerMaxSubscriptions
CustomerTaxLocationInvalid
DebitNotAuthorized
EmailInvalid
ExpiredCard
FinancialConnectionsAccountInactive
FinancialConnectionsNoSuccessfulTransactionRefresh
IdempotencyKeyInUse
IncorrectAddress
IncorrectCvc
IncorrectNumber
IncorrectZip
InstantPayoutsConfigDisabled
InstantPayoutsCurrencyDisabled
InstantPayoutsLimitExceeded
InstantPayoutsUnsupported
InsufficientFunds
IntentInvalidState
IntentVerificationMethodMissing
InvalidCardType
InvalidCharacters
InvalidChargeAmount
InvalidCvc
InvalidExpiryMonth
InvalidExpiryYear
InvalidNumber
InvalidSourceUsage
InvalidTaxLocation
InvoiceNoCustomerLineItems
InvoiceNoPaymentMethodTypes
InvoiceNoSubscriptionLineItems
InvoiceNotEditable
InvoiceOnBehalfOfNotEditable
InvoicePaymentIntentRequiresAction
InvoiceUpcomingNone
LivemodeMismatch
LockTimeout
Missing
NoAccount
NotAllowedOnStandardAccount
OutOfInventory
OwnershipDeclarationNotAllowed
ParameterInvalidEmpty
ParameterInvalidInteger
ParameterInvalidStringBlank
ParameterInvalidStringEmpty
ParameterMissing
ParameterUnknown
ParametersExclusive
PaymentIntentActionRequired
PaymentIntentAuthenticationFailure
PaymentIntentIncompatiblePaymentMethod
PaymentIntentInvalidParameter
PaymentIntentKonbiniRejectedConfirmationNumber
PaymentIntentMandateInvalid
PaymentIntentPaymentAttemptExpired
PaymentIntentPaymentAttemptFailed
PaymentIntentUnexpectedState
PaymentMethodBankAccountAlreadyVerified
PaymentMethodBankAccountBlocked
PaymentMethodBillingDetailsAddressMissing
PaymentMethodConfigurationFailures
PaymentMethodCurrencyMismatch
PaymentMethodCustomerDecline
PaymentMethodInvalidParameter
PaymentMethodInvalidParameterTestmode
PaymentMethodMicrodepositFailed
PaymentMethodMicrodepositVerificationAmountsInvalid
PaymentMethodMicrodepositVerificationAmountsMismatch
PaymentMethodMicrodepositVerificationAttemptsExceeded
PaymentMethodMicrodepositVerificationDescriptorCodeMismatch
PaymentMethodMicrodepositVerificationTimeout
PaymentMethodNotAvailable
PaymentMethodProviderDecline
PaymentMethodProviderTimeout
PaymentMethodUnactivated
PaymentMethodUnexpectedState
PaymentMethodUnsupportedType
PayoutReconciliationNotReady
PayoutsLimitExceeded
PayoutsNotAllowed
PlatformAccountRequired
PlatformApiKeyExpired
PostalCodeInvalid
ProcessingError
ProductInactive
ProgressiveOnboardingLimitExceeded
RateLimit
ReferToCustomer
RefundDisputedPayment
ResourceAlreadyExists
ResourceMissing
ReturnIntentAlreadyProcessed
RoutingNumberInvalid
SecretKeyRequired
SepaUnsupportedAccount
SetupAttemptFailed
SetupIntentAuthenticationFailure
SetupIntentInvalidParameter
SetupIntentMandateInvalid
SetupIntentSetupAttemptExpired
SetupIntentUnexpectedState
ShippingCalculationFailed
SkuInactive
StateUnsupported
StatusTransitionInvalid
StripeTaxInactive
TaxIdInvalid
TaxesCalculationFailed
TerminalLocationCountryUnsupported
TerminalReaderBusy
TerminalReaderHardwareFault
TerminalReaderOffline
TerminalReaderTimeout
TestmodeChargesOnly
TlsVersionUnsupported
TokenAlreadyUsed
TokenCardNetworkInvalid
TokenInUse
TransferSourceBalanceParametersMismatch
TransfersNotAllowed
UrlInvalid
Implementations§
Trait Implementations§
source§impl AsRef<str> for ApiErrorsCode
impl AsRef<str> for ApiErrorsCode
source§impl Clone for ApiErrorsCode
impl Clone for ApiErrorsCode
source§fn clone(&self) -> ApiErrorsCode
fn clone(&self) -> ApiErrorsCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApiErrorsCode
impl Debug for ApiErrorsCode
source§impl Default for ApiErrorsCode
impl Default for ApiErrorsCode
source§impl<'de> Deserialize<'de> for ApiErrorsCode
impl<'de> Deserialize<'de> for ApiErrorsCode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ApiErrorsCode
impl Display for ApiErrorsCode
source§impl PartialEq for ApiErrorsCode
impl PartialEq for ApiErrorsCode
source§fn eq(&self, other: &ApiErrorsCode) -> bool
fn eq(&self, other: &ApiErrorsCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ApiErrorsCode
impl Serialize for ApiErrorsCode
impl Copy for ApiErrorsCode
impl Eq for ApiErrorsCode
impl StructuralPartialEq for ApiErrorsCode
Auto Trait Implementations§
impl RefUnwindSafe for ApiErrorsCode
impl Send for ApiErrorsCode
impl Sync for ApiErrorsCode
impl Unpin for ApiErrorsCode
impl UnwindSafe for ApiErrorsCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.