cURL
curl -X PUT \ /public/checkout/cart/{id}/prepare-stripe \ --header "Authorization: Bearer <token>"
{ "clientSecret": "<string>", "paymentIntentId": "<string>", "setupIntentId": "<string>" }
Prepares a cart for stripe.
Value for the Authorization header parameter.
Cart identifier
Cart resource updated
The Stripe client secret for the payment intent or setup intent.
The Stripe payment intent id, if the cart amount due is not zero.
The Stripe setup intent id, if the cart amount due is zero.
Was this page helpful?