STPConfirmUSBankAccountOptions

public class STPConfirmUSBankAccountOptions : NSObject
extension STPConfirmUSBankAccountOptions: STPFormEncodable

Options for US Bank Account Payment Methods during PaymentIntent or SetupIntent confirmation

  • Initializer for STPConfirmUSBankAccountOptions

    Declaration

    Swift

    @objc
    public init(setupFutureUsage: STPPaymentIntentSetupFutureUsage)

    Parameters

    setupFutureUsage

    Indicates that you intend to make future payments with this payment method.

  • Indicates that you intend to make future payments with this payment method. Providing this parameter will attach the payment method to the PaymentIntent’s Customer, if present, after the Intent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

    If setup_future_usage is already set, you may only update the value from on_session to off_session.

    Declaration

    Swift

    @objc
    public var setupFutureUsage: STPPaymentIntentSetupFutureUsage
  • Declaration

    Swift

    @objc
    public var additionalAPIParameters: [AnyHashable : Any]

STPFormEncodable