Basic Information

appmixer.stripe.core.CreateCheckoutSession

1.0.0

Public

Creates a Stripe-hosted Checkout Session and returns its URL. Send the URL to the customer to pay, start a subscription, or save payment details. The session expires after 24 hours.

Input Ports

in

FieldTypeDescription
Mode select Payment accepts a one-time payment, Subscription starts a subscription (at least one recurring price), Setup saves payment details for later.
Line Items expression The prices the customer buys, each with a quantity. Required in Payment and Subscription mode, ignored in Setup mode.
Success URL text The URL Stripe sends the customer to after the payment or setup is complete.
Cancel URL text If set, Checkout shows a back button that returns the customer to this URL.
Customer ID text ID of an existing customer, e.g. cus_NffrFeUfNV2Hib. Leave empty to let Checkout collect the customer's details.
Customer Email text Prefills the customer's email address. Use either this or Customer ID.
Currency text Three-letter ISO currency code, e.g. usd. Required in Setup mode.
Client Reference ID text Your own reference for the session, e.g. a cart or order ID (up to 200 characters).
Metadata key-value Optional key-value pairs to store on the object, e.g. an order ID from your system.

Output Ports

out

FieldTypeDescription
Session ID string -
Object string -
Checkout URL string,null -
Status string -
Mode string -
Payment Status string -
Customer ID string,null -
Customer Email string,null -
Amount Subtotal integer,null -
Amount Total integer,null -
Currency string,null -
Expires At (Unix Timestamp) integer -
Created (Unix Timestamp) integer -
Success URL string,null -
Cancel URL string,null -
Client Reference ID string,null -
Live Mode boolean -
Metadata object -

Full Metadata