IntentConfiguration

constructor(mode: PaymentSheet.IntentConfiguration.Mode, paymentMethodTypes: List<String> = emptyList(), paymentMethodConfigurationId: String? = null, onBehalfOf: String? = null)

Parameters

mode

Whether PaymentSheet should present a payment or setup flow.

paymentMethodTypes

The payment methods types to display. If empty, we dynamically determine the payment method types using your Stripe Dashboard settings.

paymentMethodConfigurationId

The configuration ID (if any) for the selected payment method configuration. See https://stripe.com/docs/payments/multiple-payment-method-configs for more information.

onBehalfOf

The account (if any) for which the funds of the intent are intended. See our docs for more info.