Skip to main content
Use stripe.createSetupIntent to collect permission to reuse a payment method later.

Example

automations/stripe-create-setup-intent.automation.ts

Inputs

Set customer, paymentMethod, payment-method options, and usage as needed. idempotencyKey is optional.

Output

Returns the created SetupIntent with camel-cased fields.