stripe.createSetupIntent to collect permission to reuse a payment method later.
Example
automations/stripe-create-setup-intent.automation.ts
Inputs
Setcustomer, paymentMethod, payment-method options, and usage as needed. idempotencyKey is optional.