Skip to main content
Use stripe.createPaymentMethod for server-side payment-method types supported by Stripe. Prefer Stripe.js for raw card details so they do not pass through your automation.
automations/stripe-create-payment-method.automation.ts

Inputs

Supply the payment-method type and its matching detail object. billingDetails, metadata, and idempotencyKey are optional.

Output

Returns the created PaymentMethod.