val usage: StripeIntent.Usage?

Indicates how the payment method is intended to be used in the future.

Use StripeIntent.Usage.OnSession if you intend to only reuse the payment method when the customer is in your checkout flow. Use StripeIntent.Usage.OffSession if your customer may or may not be in your checkout flow. If not provided, this value defaults to StripeIntent.Usage.OffSession.