Zum Hauptinhalt springen
PUT
/
public
/
checkout
/
cart
/
{id}
/
prepare-stripe
cURL
curl -X PUT \
 /public/checkout/cart/{id}/prepare-stripe \
 --header "Authorization: Bearer <token>"
{
  "clientSecret": "<string>",
  "paymentIntentId": "<string>",
  "setupIntentId": "<string>"
}

Autorisierungen

Authorization
string
header
erforderlich

Value for the Authorization header parameter.

Pfadparameter

id
string
erforderlich

Cart identifier

Antwort

Cart resource updated

clientSecret
string

The Stripe client secret for the payment intent or setup intent.

paymentIntentId
string | null

The Stripe payment intent id, if the cart amount due is not zero.

setupIntentId
string | null

The Stripe setup intent id, if the cart amount due is zero.