Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Types.SetupAttempt
Description
Contains the types generated from the schema SetupAttempt
Synopsis
- data SetupAttempt = SetupAttempt {
- setupAttemptApplication :: Maybe SetupAttemptApplication'Variants
- setupAttemptCreated :: Int
- setupAttemptCustomer :: Maybe SetupAttemptCustomer'Variants
- setupAttemptId :: Text
- setupAttemptLivemode :: Bool
- setupAttemptOnBehalfOf :: Maybe SetupAttemptOnBehalfOf'Variants
- setupAttemptPaymentMethod :: SetupAttemptPaymentMethod'Variants
- setupAttemptPaymentMethodDetails :: SetupAttemptPaymentMethodDetails
- setupAttemptSetupError :: Maybe SetupAttemptSetupError'
- setupAttemptSetupIntent :: SetupAttemptSetupIntent'Variants
- setupAttemptStatus :: Text
- setupAttemptUsage :: Text
- mkSetupAttempt :: Int -> Text -> Bool -> SetupAttemptPaymentMethod'Variants -> SetupAttemptPaymentMethodDetails -> SetupAttemptSetupIntent'Variants -> Text -> Text -> SetupAttempt
- data SetupAttemptApplication'Variants
- data SetupAttemptCustomer'Variants
- data SetupAttemptOnBehalfOf'Variants
- data SetupAttemptPaymentMethod'Variants
- data SetupAttemptSetupError' = SetupAttemptSetupError' {
- setupAttemptSetupError'Charge :: Maybe Text
- setupAttemptSetupError'Code :: Maybe Text
- setupAttemptSetupError'DeclineCode :: Maybe Text
- setupAttemptSetupError'DocUrl :: Maybe Text
- setupAttemptSetupError'Message :: Maybe Text
- setupAttemptSetupError'Param :: Maybe Text
- setupAttemptSetupError'PaymentIntent :: Maybe PaymentIntent
- setupAttemptSetupError'PaymentMethod :: Maybe PaymentMethod
- setupAttemptSetupError'PaymentMethodType :: Maybe Text
- setupAttemptSetupError'SetupIntent :: Maybe SetupIntent
- setupAttemptSetupError'Source :: Maybe SetupAttemptSetupError'Source'
- setupAttemptSetupError'Type :: Maybe SetupAttemptSetupError'Type'
- mkSetupAttemptSetupError' :: SetupAttemptSetupError'
- data SetupAttemptSetupError'Source' = SetupAttemptSetupError'Source' {
- setupAttemptSetupError'Source'Account :: Maybe SetupAttemptSetupError'Source'Account'Variants
- setupAttemptSetupError'Source'AccountHolderName :: Maybe Text
- setupAttemptSetupError'Source'AccountHolderType :: Maybe Text
- setupAttemptSetupError'Source'AchCreditTransfer :: Maybe SourceTypeAchCreditTransfer
- setupAttemptSetupError'Source'AchDebit :: Maybe SourceTypeAchDebit
- setupAttemptSetupError'Source'AcssDebit :: Maybe SourceTypeAcssDebit
- setupAttemptSetupError'Source'AddressCity :: Maybe Text
- setupAttemptSetupError'Source'AddressCountry :: Maybe Text
- setupAttemptSetupError'Source'AddressLine1 :: Maybe Text
- setupAttemptSetupError'Source'AddressLine1Check :: Maybe Text
- setupAttemptSetupError'Source'AddressLine2 :: Maybe Text
- setupAttemptSetupError'Source'AddressState :: Maybe Text
- setupAttemptSetupError'Source'AddressZip :: Maybe Text
- setupAttemptSetupError'Source'AddressZipCheck :: Maybe Text
- setupAttemptSetupError'Source'Alipay :: Maybe SourceTypeAlipay
- setupAttemptSetupError'Source'Amount :: Maybe Int
- setupAttemptSetupError'Source'AuBecsDebit :: Maybe SourceTypeAuBecsDebit
- setupAttemptSetupError'Source'AvailablePayoutMethods :: Maybe [SetupAttemptSetupError'Source'AvailablePayoutMethods']
- setupAttemptSetupError'Source'Bancontact :: Maybe SourceTypeBancontact
- setupAttemptSetupError'Source'BankName :: Maybe Text
- setupAttemptSetupError'Source'Brand :: Maybe Text
- setupAttemptSetupError'Source'Card :: Maybe SourceTypeCard
- setupAttemptSetupError'Source'CardPresent :: Maybe SourceTypeCardPresent
- setupAttemptSetupError'Source'ClientSecret :: Maybe Text
- setupAttemptSetupError'Source'CodeVerification :: Maybe SourceCodeVerificationFlow
- setupAttemptSetupError'Source'Country :: Maybe Text
- setupAttemptSetupError'Source'Created :: Maybe Int
- setupAttemptSetupError'Source'Currency :: Maybe Text
- setupAttemptSetupError'Source'Customer :: Maybe SetupAttemptSetupError'Source'Customer'Variants
- setupAttemptSetupError'Source'CvcCheck :: Maybe Text
- setupAttemptSetupError'Source'DefaultForCurrency :: Maybe Bool
- setupAttemptSetupError'Source'DynamicLast4 :: Maybe Text
- setupAttemptSetupError'Source'Eps :: Maybe SourceTypeEps
- setupAttemptSetupError'Source'ExpMonth :: Maybe Int
- setupAttemptSetupError'Source'ExpYear :: Maybe Int
- setupAttemptSetupError'Source'Fingerprint :: Maybe Text
- setupAttemptSetupError'Source'Flow :: Maybe Text
- setupAttemptSetupError'Source'Funding :: Maybe Text
- setupAttemptSetupError'Source'Giropay :: Maybe SourceTypeGiropay
- setupAttemptSetupError'Source'Id :: Maybe Text
- setupAttemptSetupError'Source'Ideal :: Maybe SourceTypeIdeal
- setupAttemptSetupError'Source'Klarna :: Maybe SourceTypeKlarna
- setupAttemptSetupError'Source'Last4 :: Maybe Text
- setupAttemptSetupError'Source'Livemode :: Maybe Bool
- setupAttemptSetupError'Source'Metadata :: Maybe Object
- setupAttemptSetupError'Source'Multibanco :: Maybe SourceTypeMultibanco
- setupAttemptSetupError'Source'Name :: Maybe Text
- setupAttemptSetupError'Source'Owner :: Maybe SetupAttemptSetupError'Source'Owner'
- setupAttemptSetupError'Source'P24 :: Maybe SourceTypeP24
- setupAttemptSetupError'Source'Receiver :: Maybe SourceReceiverFlow
- setupAttemptSetupError'Source'Recipient :: Maybe SetupAttemptSetupError'Source'Recipient'Variants
- setupAttemptSetupError'Source'Redirect :: Maybe SourceRedirectFlow
- setupAttemptSetupError'Source'RoutingNumber :: Maybe Text
- setupAttemptSetupError'Source'SepaDebit :: Maybe SourceTypeSepaDebit
- setupAttemptSetupError'Source'Sofort :: Maybe SourceTypeSofort
- setupAttemptSetupError'Source'SourceOrder :: Maybe SourceOrder
- setupAttemptSetupError'Source'StatementDescriptor :: Maybe Text
- setupAttemptSetupError'Source'Status :: Maybe Text
- setupAttemptSetupError'Source'ThreeDSecure :: Maybe SourceTypeThreeDSecure
- setupAttemptSetupError'Source'TokenizationMethod :: Maybe Text
- setupAttemptSetupError'Source'Type :: Maybe SetupAttemptSetupError'Source'Type'
- setupAttemptSetupError'Source'Usage :: Maybe Text
- setupAttemptSetupError'Source'Wechat :: Maybe SourceTypeWechat
- mkSetupAttemptSetupError'Source' :: SetupAttemptSetupError'Source'
- data SetupAttemptSetupError'Source'Account'Variants
- data SetupAttemptSetupError'Source'AvailablePayoutMethods'
- data SetupAttemptSetupError'Source'Customer'Variants
- data SetupAttemptSetupError'Source'Owner' = SetupAttemptSetupError'Source'Owner' {
- setupAttemptSetupError'Source'Owner'Address :: Maybe SetupAttemptSetupError'Source'Owner'Address'
- setupAttemptSetupError'Source'Owner'Email :: Maybe Text
- setupAttemptSetupError'Source'Owner'Name :: Maybe Text
- setupAttemptSetupError'Source'Owner'Phone :: Maybe Text
- setupAttemptSetupError'Source'Owner'VerifiedAddress :: Maybe SetupAttemptSetupError'Source'Owner'VerifiedAddress'
- setupAttemptSetupError'Source'Owner'VerifiedEmail :: Maybe Text
- setupAttemptSetupError'Source'Owner'VerifiedName :: Maybe Text
- setupAttemptSetupError'Source'Owner'VerifiedPhone :: Maybe Text
- mkSetupAttemptSetupError'Source'Owner' :: SetupAttemptSetupError'Source'Owner'
- data SetupAttemptSetupError'Source'Owner'Address' = SetupAttemptSetupError'Source'Owner'Address' {
- setupAttemptSetupError'Source'Owner'Address'City :: Maybe Text
- setupAttemptSetupError'Source'Owner'Address'Country :: Maybe Text
- setupAttemptSetupError'Source'Owner'Address'Line1 :: Maybe Text
- setupAttemptSetupError'Source'Owner'Address'Line2 :: Maybe Text
- setupAttemptSetupError'Source'Owner'Address'PostalCode :: Maybe Text
- setupAttemptSetupError'Source'Owner'Address'State :: Maybe Text
- mkSetupAttemptSetupError'Source'Owner'Address' :: SetupAttemptSetupError'Source'Owner'Address'
- data SetupAttemptSetupError'Source'Owner'VerifiedAddress' = SetupAttemptSetupError'Source'Owner'VerifiedAddress' {
- setupAttemptSetupError'Source'Owner'VerifiedAddress'City :: Maybe Text
- setupAttemptSetupError'Source'Owner'VerifiedAddress'Country :: Maybe Text
- setupAttemptSetupError'Source'Owner'VerifiedAddress'Line1 :: Maybe Text
- setupAttemptSetupError'Source'Owner'VerifiedAddress'Line2 :: Maybe Text
- setupAttemptSetupError'Source'Owner'VerifiedAddress'PostalCode :: Maybe Text
- setupAttemptSetupError'Source'Owner'VerifiedAddress'State :: Maybe Text
- mkSetupAttemptSetupError'Source'Owner'VerifiedAddress' :: SetupAttemptSetupError'Source'Owner'VerifiedAddress'
- data SetupAttemptSetupError'Source'Recipient'Variants
- data SetupAttemptSetupError'Source'Type'
- = SetupAttemptSetupError'Source'Type'Other Value
- | SetupAttemptSetupError'Source'Type'Typed Text
- | SetupAttemptSetupError'Source'Type'EnumAchCreditTransfer
- | SetupAttemptSetupError'Source'Type'EnumAchDebit
- | SetupAttemptSetupError'Source'Type'EnumAcssDebit
- | SetupAttemptSetupError'Source'Type'EnumAlipay
- | SetupAttemptSetupError'Source'Type'EnumAuBecsDebit
- | SetupAttemptSetupError'Source'Type'EnumBancontact
- | SetupAttemptSetupError'Source'Type'EnumCard
- | SetupAttemptSetupError'Source'Type'EnumCardPresent
- | SetupAttemptSetupError'Source'Type'EnumEps
- | SetupAttemptSetupError'Source'Type'EnumGiropay
- | SetupAttemptSetupError'Source'Type'EnumIdeal
- | SetupAttemptSetupError'Source'Type'EnumKlarna
- | SetupAttemptSetupError'Source'Type'EnumMultibanco
- | SetupAttemptSetupError'Source'Type'EnumP24
- | SetupAttemptSetupError'Source'Type'EnumSepaDebit
- | SetupAttemptSetupError'Source'Type'EnumSofort
- | SetupAttemptSetupError'Source'Type'EnumThreeDSecure
- | SetupAttemptSetupError'Source'Type'EnumWechat
- data SetupAttemptSetupError'Type'
- = SetupAttemptSetupError'Type'Other Value
- | SetupAttemptSetupError'Type'Typed Text
- | SetupAttemptSetupError'Type'EnumApiConnectionError
- | SetupAttemptSetupError'Type'EnumApiError
- | SetupAttemptSetupError'Type'EnumAuthenticationError
- | SetupAttemptSetupError'Type'EnumCardError
- | SetupAttemptSetupError'Type'EnumIdempotencyError
- | SetupAttemptSetupError'Type'EnumInvalidRequestError
- | SetupAttemptSetupError'Type'EnumRateLimitError
- data SetupAttemptSetupIntent'Variants
Documentation
data SetupAttempt Source #
Defines the object schema located at components.schemas.setup_attempt
in the specification.
A SetupAttempt describes one attempted confirmation of a SetupIntent, whether that confirmation was successful or unsuccessful. You can use SetupAttempts to inspect details of a specific attempt at setting up a payment method using a SetupIntent.
Constructors
SetupAttempt | |
Fields
|
Instances
Eq SetupAttempt Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
Show SetupAttempt Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods showsPrec :: Int -> SetupAttempt -> ShowS # show :: SetupAttempt -> String # showList :: [SetupAttempt] -> ShowS # | |
ToJSON SetupAttempt Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods toJSON :: SetupAttempt -> Value # toEncoding :: SetupAttempt -> Encoding # toJSONList :: [SetupAttempt] -> Value # toEncodingList :: [SetupAttempt] -> Encoding # | |
FromJSON SetupAttempt Source # | |
Defined in StripeAPI.Types.SetupAttempt |
Arguments
:: Int | |
-> Text | |
-> Bool | |
-> SetupAttemptPaymentMethod'Variants | |
-> SetupAttemptPaymentMethodDetails | |
-> SetupAttemptSetupIntent'Variants | |
-> Text | |
-> Text | |
-> SetupAttempt |
Create a new SetupAttempt
with all required fields.
data SetupAttemptApplication'Variants Source #
Defines the oneOf schema located at components.schemas.setup_attempt.properties.application.anyOf
in the specification.
The value of application on the SetupIntent at the time of this confirmation.
Instances
Eq SetupAttemptApplication'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
Show SetupAttemptApplication'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods showsPrec :: Int -> SetupAttemptApplication'Variants -> ShowS # | |
ToJSON SetupAttemptApplication'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
FromJSON SetupAttemptApplication'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods parseJSON :: Value -> Parser SetupAttemptApplication'Variants # parseJSONList :: Value -> Parser [SetupAttemptApplication'Variants] # |
data SetupAttemptCustomer'Variants Source #
Defines the oneOf schema located at components.schemas.setup_attempt.properties.customer.anyOf
in the specification.
The value of customer on the SetupIntent at the time of this confirmation.
Constructors
SetupAttemptCustomer'Text Text | |
SetupAttemptCustomer'Customer Customer | |
SetupAttemptCustomer'DeletedCustomer DeletedCustomer |
Instances
Eq SetupAttemptCustomer'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
Show SetupAttemptCustomer'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods showsPrec :: Int -> SetupAttemptCustomer'Variants -> ShowS # show :: SetupAttemptCustomer'Variants -> String # showList :: [SetupAttemptCustomer'Variants] -> ShowS # | |
ToJSON SetupAttemptCustomer'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods toJSON :: SetupAttemptCustomer'Variants -> Value # toEncoding :: SetupAttemptCustomer'Variants -> Encoding # toJSONList :: [SetupAttemptCustomer'Variants] -> Value # toEncodingList :: [SetupAttemptCustomer'Variants] -> Encoding # | |
FromJSON SetupAttemptCustomer'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods parseJSON :: Value -> Parser SetupAttemptCustomer'Variants # parseJSONList :: Value -> Parser [SetupAttemptCustomer'Variants] # |
data SetupAttemptOnBehalfOf'Variants Source #
Defines the oneOf schema located at components.schemas.setup_attempt.properties.on_behalf_of.anyOf
in the specification.
The value of on_behalf_of on the SetupIntent at the time of this confirmation.
Instances
Eq SetupAttemptOnBehalfOf'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
Show SetupAttemptOnBehalfOf'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods showsPrec :: Int -> SetupAttemptOnBehalfOf'Variants -> ShowS # | |
ToJSON SetupAttemptOnBehalfOf'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
FromJSON SetupAttemptOnBehalfOf'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods parseJSON :: Value -> Parser SetupAttemptOnBehalfOf'Variants # parseJSONList :: Value -> Parser [SetupAttemptOnBehalfOf'Variants] # |
data SetupAttemptPaymentMethod'Variants Source #
Defines the oneOf schema located at components.schemas.setup_attempt.properties.payment_method.anyOf
in the specification.
ID of the payment method used with this SetupAttempt.
Constructors
SetupAttemptPaymentMethod'Text Text | |
SetupAttemptPaymentMethod'PaymentMethod PaymentMethod |
Instances
data SetupAttemptSetupError' Source #
Defines the object schema located at components.schemas.setup_attempt.properties.setup_error.anyOf
in the specification.
The error encountered during this attempt to confirm the SetupIntent, if any.
Constructors
SetupAttemptSetupError' | |
Fields
|
Instances
Eq SetupAttemptSetupError' Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods (==) :: SetupAttemptSetupError' -> SetupAttemptSetupError' -> Bool # (/=) :: SetupAttemptSetupError' -> SetupAttemptSetupError' -> Bool # | |
Show SetupAttemptSetupError' Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods showsPrec :: Int -> SetupAttemptSetupError' -> ShowS # show :: SetupAttemptSetupError' -> String # showList :: [SetupAttemptSetupError'] -> ShowS # | |
ToJSON SetupAttemptSetupError' Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods toJSON :: SetupAttemptSetupError' -> Value # toEncoding :: SetupAttemptSetupError' -> Encoding # toJSONList :: [SetupAttemptSetupError'] -> Value # | |
FromJSON SetupAttemptSetupError' Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods parseJSON :: Value -> Parser SetupAttemptSetupError' # parseJSONList :: Value -> Parser [SetupAttemptSetupError'] # |
mkSetupAttemptSetupError' :: SetupAttemptSetupError' Source #
Create a new SetupAttemptSetupError'
with all required fields.
data SetupAttemptSetupError'Source' Source #
Defines the object schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf
in the specification.
The source object for errors returned on a request involving a source.
Constructors
SetupAttemptSetupError'Source' | |
Fields
|
Instances
Eq SetupAttemptSetupError'Source' Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
Show SetupAttemptSetupError'Source' Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods showsPrec :: Int -> SetupAttemptSetupError'Source' -> ShowS # show :: SetupAttemptSetupError'Source' -> String # showList :: [SetupAttemptSetupError'Source'] -> ShowS # | |
ToJSON SetupAttemptSetupError'Source' Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
FromJSON SetupAttemptSetupError'Source' Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods parseJSON :: Value -> Parser SetupAttemptSetupError'Source' # parseJSONList :: Value -> Parser [SetupAttemptSetupError'Source'] # |
mkSetupAttemptSetupError'Source' :: SetupAttemptSetupError'Source' Source #
Create a new SetupAttemptSetupError'Source'
with all required fields.
data SetupAttemptSetupError'Source'Account'Variants Source #
Defines the oneOf schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.account.anyOf
in the specification.
The ID of the account that the bank account is associated with.
Constructors
SetupAttemptSetupError'Source'Account'Text Text | |
SetupAttemptSetupError'Source'Account'Account Account |
Instances
data SetupAttemptSetupError'Source'AvailablePayoutMethods' Source #
Defines the enum schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.available_payout_methods.items
in the specification.
Constructors
SetupAttemptSetupError'Source'AvailablePayoutMethods'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SetupAttemptSetupError'Source'AvailablePayoutMethods'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SetupAttemptSetupError'Source'AvailablePayoutMethods'EnumInstant | Represents the JSON value |
SetupAttemptSetupError'Source'AvailablePayoutMethods'EnumStandard | Represents the JSON value |
Instances
data SetupAttemptSetupError'Source'Customer'Variants Source #
Defines the oneOf schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.customer.anyOf
in the specification.
The ID of the customer that the bank account is associated with.
Constructors
SetupAttemptSetupError'Source'Customer'Text Text | |
SetupAttemptSetupError'Source'Customer'Customer Customer | |
SetupAttemptSetupError'Source'Customer'DeletedCustomer DeletedCustomer |
Instances
data SetupAttemptSetupError'Source'Owner' Source #
Defines the object schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.owner.anyOf
in the specification.
Information about the owner of the payment instrument that may be used or required by particular source types.
Constructors
SetupAttemptSetupError'Source'Owner' | |
Fields
|
Instances
mkSetupAttemptSetupError'Source'Owner' :: SetupAttemptSetupError'Source'Owner' Source #
Create a new SetupAttemptSetupError'Source'Owner'
with all required fields.
data SetupAttemptSetupError'Source'Owner'Address' Source #
Defines the object schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.owner.anyOf.properties.address.anyOf
in the specification.
Owner\'s address.
Constructors
SetupAttemptSetupError'Source'Owner'Address' | |
Fields
|
Instances
mkSetupAttemptSetupError'Source'Owner'Address' :: SetupAttemptSetupError'Source'Owner'Address' Source #
Create a new SetupAttemptSetupError'Source'Owner'Address'
with all required fields.
data SetupAttemptSetupError'Source'Owner'VerifiedAddress' Source #
Defines the object schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.owner.anyOf.properties.verified_address.anyOf
in the specification.
Verified owner\'s address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
Constructors
SetupAttemptSetupError'Source'Owner'VerifiedAddress' | |
Fields
|
Instances
mkSetupAttemptSetupError'Source'Owner'VerifiedAddress' :: SetupAttemptSetupError'Source'Owner'VerifiedAddress' Source #
Create a new SetupAttemptSetupError'Source'Owner'VerifiedAddress'
with all required fields.
data SetupAttemptSetupError'Source'Recipient'Variants Source #
Defines the oneOf schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.recipient.anyOf
in the specification.
The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.
Constructors
SetupAttemptSetupError'Source'Recipient'Text Text | |
SetupAttemptSetupError'Source'Recipient'Recipient Recipient |
Instances
data SetupAttemptSetupError'Source'Type' Source #
Defines the enum schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.type
in the specification.
The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the payment method used.
Constructors
Instances
data SetupAttemptSetupError'Type' Source #
Defines the enum schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.type
in the specification.
The type of error returned. One of `api_connection_error`, `api_error`, `authentication_error`, `card_error`, `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
Constructors
SetupAttemptSetupError'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SetupAttemptSetupError'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SetupAttemptSetupError'Type'EnumApiConnectionError | Represents the JSON value |
SetupAttemptSetupError'Type'EnumApiError | Represents the JSON value |
SetupAttemptSetupError'Type'EnumAuthenticationError | Represents the JSON value |
SetupAttemptSetupError'Type'EnumCardError | Represents the JSON value |
SetupAttemptSetupError'Type'EnumIdempotencyError | Represents the JSON value |
SetupAttemptSetupError'Type'EnumInvalidRequestError | Represents the JSON value |
SetupAttemptSetupError'Type'EnumRateLimitError | Represents the JSON value |
Instances
data SetupAttemptSetupIntent'Variants Source #
Defines the oneOf schema located at components.schemas.setup_attempt.properties.setup_intent.anyOf
in the specification.
ID of the SetupIntent that this attempt belongs to.
Instances
Eq SetupAttemptSetupIntent'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
Show SetupAttemptSetupIntent'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods showsPrec :: Int -> SetupAttemptSetupIntent'Variants -> ShowS # | |
ToJSON SetupAttemptSetupIntent'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt | |
FromJSON SetupAttemptSetupIntent'Variants Source # | |
Defined in StripeAPI.Types.SetupAttempt Methods parseJSON :: Value -> Parser SetupAttemptSetupIntent'Variants # parseJSONList :: Value -> Parser [SetupAttemptSetupIntent'Variants] # |