stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.SetupAttempt

Description

Contains the types generated from the schema SetupAttempt

Synopsis

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

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.

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.

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.

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.

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

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

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.

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 "instant"

SetupAttemptSetupError'Source'AvailablePayoutMethods'EnumStandard

Represents the JSON value "standard"

Instances

Instances details
Eq SetupAttemptSetupError'Source'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.SetupAttempt

Show SetupAttemptSetupError'Source'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.SetupAttempt

ToJSON SetupAttemptSetupError'Source'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.SetupAttempt

FromJSON SetupAttemptSetupError'Source'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.SetupAttempt

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.

data SetupAttemptSetupError'Source'Object' Source #

Defines the enum schema located at components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

SetupAttemptSetupError'Source'Object'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'Object'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

SetupAttemptSetupError'Source'Object'EnumBankAccount

Represents the JSON value "bank_account"

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

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

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

Instances details
Eq SetupAttemptSetupError'Source'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Types.SetupAttempt

Show SetupAttemptSetupError'Source'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Types.SetupAttempt

ToJSON SetupAttemptSetupError'Source'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Types.SetupAttempt

FromJSON SetupAttemptSetupError'Source'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Types.SetupAttempt

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.

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

SetupAttemptSetupError'Source'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'Source'Type'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

SetupAttemptSetupError'Source'Type'EnumAchCreditTransfer

Represents the JSON value "ach_credit_transfer"

SetupAttemptSetupError'Source'Type'EnumAchDebit

Represents the JSON value "ach_debit"

SetupAttemptSetupError'Source'Type'EnumAcssDebit

Represents the JSON value "acss_debit"

SetupAttemptSetupError'Source'Type'EnumAlipay

Represents the JSON value "alipay"

SetupAttemptSetupError'Source'Type'EnumAuBecsDebit

Represents the JSON value "au_becs_debit"

SetupAttemptSetupError'Source'Type'EnumBancontact

Represents the JSON value "bancontact"

SetupAttemptSetupError'Source'Type'EnumCard

Represents the JSON value "card"

SetupAttemptSetupError'Source'Type'EnumCardPresent

Represents the JSON value "card_present"

SetupAttemptSetupError'Source'Type'EnumEps

Represents the JSON value "eps"

SetupAttemptSetupError'Source'Type'EnumGiropay

Represents the JSON value "giropay"

SetupAttemptSetupError'Source'Type'EnumIdeal

Represents the JSON value "ideal"

SetupAttemptSetupError'Source'Type'EnumKlarna

Represents the JSON value "klarna"

SetupAttemptSetupError'Source'Type'EnumMultibanco

Represents the JSON value "multibanco"

SetupAttemptSetupError'Source'Type'EnumP24

Represents the JSON value "p24"

SetupAttemptSetupError'Source'Type'EnumSepaDebit

Represents the JSON value "sepa_debit"

SetupAttemptSetupError'Source'Type'EnumSofort

Represents the JSON value "sofort"

SetupAttemptSetupError'Source'Type'EnumThreeDSecure

Represents the JSON value "three_d_secure"

SetupAttemptSetupError'Source'Type'EnumWechat

Represents the JSON value "wechat"

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 "api_connection_error"

SetupAttemptSetupError'Type'EnumApiError

Represents the JSON value "api_error"

SetupAttemptSetupError'Type'EnumAuthenticationError

Represents the JSON value "authentication_error"

SetupAttemptSetupError'Type'EnumCardError

Represents the JSON value "card_error"

SetupAttemptSetupError'Type'EnumIdempotencyError

Represents the JSON value "idempotency_error"

SetupAttemptSetupError'Type'EnumInvalidRequestError

Represents the JSON value "invalid_request_error"

SetupAttemptSetupError'Type'EnumRateLimitError

Represents the JSON value "rate_limit_error"

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.