Skip to main content
POST
Start checkout for cart (create payment, validate items)

Headers

X-Cart-Id
string
required

Body

application/json
provider
enum<string>
required

Payment provider to use for this checkout

Available options:
stripe,
cash,
bank_transfer,
shopify
Example:

"stripe"

customer
object

Customer information to attach to the cart and appointments

Response

201 - application/json

Checkout started with provider info and client secret (if any).

provider
enum<string>
required

Payment provider used

Available options:
stripe,
cash,
bank_transfer,
shopify
paymentId
string
required

Cart payment record ID

cart
object
required

Updated cart

invalidItemIds
string[]
required

IDs of invalid cart items that were removed

revivedItemIds
string[]
required

IDs of expired cart items that were revived

clientSecret
string | null

Stripe client secret for payment confirmation

redirectUrl
string | null

Redirect URL for external payment providers

stripeAccountId
string | null

Stripe connected account ID

publishableKey
string | null

Stripe platform publishable key matching the connected account mode (test/live)

discountCodeCleared
boolean | null

True when an applied discount code was cleared during revalidation

Last modified on July 26, 2026