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
SetupAttemptsetupAttemptApplication :: Maybe (Nullable SetupAttemptApplication'NonNullableVariants)application: The value of application on the SetupIntent at the time of this confirmation.
setupAttemptAttachToSelf :: Maybe Boolattach_to_self: If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
setupAttemptCreated :: Intcreated: Time at which the object was created. Measured in seconds since the Unix epoch.
setupAttemptCustomer :: Maybe (Nullable SetupAttemptCustomer'NonNullableVariants)customer: The value of customer on the SetupIntent at the time of this confirmation.
setupAttemptFlowDirections :: Maybe (Nullable [SetupAttemptFlowDirections'NonNullable])flow_directions: Indicates the directions of money movement for which this payment method is intended to be used.
Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
setupAttemptId :: Textid: Unique identifier for the object.
Constraints:
Maximum length of 5000
setupAttemptLivemode :: Boollivemode: Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
setupAttemptOnBehalfOf :: Maybe (Nullable SetupAttemptOnBehalfOf'NonNullableVariants)on_behalf_of: The value of on_behalf_of on the SetupIntent at the time of this confirmation.
setupAttemptPaymentMethod :: SetupAttemptPaymentMethod'Variantspayment_method: ID of the payment method used with this SetupAttempt.
setupAttemptPaymentMethodDetails :: SetupAttemptPaymentMethodDetailspayment_method_details:
setupAttemptSetupError :: Maybe (Nullable SetupAttemptSetupError'NonNullable)setup_error: The error encountered during this attempt to confirm the SetupIntent, if any.
setupAttemptSetupIntent :: SetupAttemptSetupIntent'Variantssetup_intent: ID of the SetupIntent that this attempt belongs to.
setupAttemptStatus :: Textstatus: Status of this SetupAttempt, one of `requires_confirmation`, `requires_action`, `processing`, `succeeded`, `failed`, or `abandoned`.
Constraints:
Maximum length of 5000
setupAttemptUsage :: Textusage: The value of usage on the SetupIntent at the time of this confirmation, one of `off_session` or `on_session`.
Constraints:
Maximum length of 5000
Instances4Eq, Show, FromJSON, ToJSON
Eq SetupAttemptDefined in stripeapi-3.0.0.0 · StripeAPI.Types.SetupAttemptShow SetupAttemptDefined in stripeapi-3.0.0.0 · StripeAPI.Types.SetupAttemptFromJSON SetupAttemptDefined in stripeapi-3.0.0.0 · StripeAPI.Types.SetupAttemptToJSON SetupAttemptDefined in stripeapi-3.0.0.0 · StripeAPI.Types.SetupAttempt