stripe.createCheckoutSession to create a Stripe-hosted, embedded, Elements, or form Checkout Session.
Example
automations/stripe-create-checkout-session.automation.ts
Inputs
Choosepayment, setup, or subscription mode and provide the matching Stripe fields. uiMode accepts hosted_page, embedded_page, elements, or form; only hosted_page accepts successUrl. idempotencyKey is optional.
Inputs use camel case and accept compatible signals. Automate.ax converts provider fields to Stripe’s wire format. Metadata keys remain unchanged.
Output
Returns the created Stripe Checkout Session, including its hosted URL when applicable. Output fields use camel case. Stripe decimal fields such asfxRate are lossless strings.