Docs

Create Checkout Session

Creates a new checkout session in Stripe.

POST

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
stringrequired

Checkout mode: payment, setup, or subscription.

array of object

Line items for this checkout session.

string

The price ID for a line item.

number

Quantity for the line item.

string

URL to redirect customers after successful checkout in hosted mode.

string

URL to redirect customers if they cancel checkout.

string

Existing customer ID to prefill checkout.

Uncommon arguments
string

URL to return customers to your site for embedded/custom UI modes.

string

Email used to prefill customer data when no customer ID is provided.

array of string

Allowed payment method types for this session.

string

Checkout UI mode: hosted, embedded, or custom.

string

Reference ID to reconcile session with your internal systems.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.