x-storefront-token; optional scope via x-storefront-scope or scope query.curl --location --request POST 'https://api.craftcart.io/api/v1/storefront/checkout/session' \
--header 'x-storefront-token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"cartId": "cart_e9fd4b94d7f5d9b3",
"customerEmail": "jane@example.com",
"acceptsMarketing": true,
"successUrl": "https://shop.example.com/checkout/success",
"cancelUrl": "https://shop.example.com/cart"
}'{"success":true,"data":{"cart":{"id":"cart_e9fd4b94d7f5d9b3"},"checkoutSession":{"id":"cs_test_a1b2c3d4","url":"https://checkout.stripe.com/c/pay/cs_test_a1b2c3d4"}},"meta":{}}