Enumerations
The following enumerations are available globally.
-
The result of an attempt to confirm a PaymentIntent or SetupIntent
See moreDeclaration
Swift
@frozen public enum PaymentSheetResult
-
Errors specific to PaymentSheet itself
Most errors do not originate from PaymentSheet itself; instead, they come from the Stripe API or other SDK components like STPPaymentHandler, PassKit (Apple Pay), etc.
See moreDeclaration
Swift
public enum PaymentSheetError : Error
-
Possible error code values for NSErrors with the
See moreStripeDomain
domainDeclaration
Swift
@objc public enum STPErrorCode : Int
-
Possible string values you may receive when there was an error tokenizing a card. These values will come back in the error
See moreuserInfo
dictionary under theSTPCardErrorCodeKey
key.Declaration
Swift
public enum STPCardErrorCode : String